443
edits
No edit summary |
|||
| Line 673: | Line 673: | ||
* For each element, the lvlup exp needed to get to next level is decreased by 20%. | * For each element, the lvlup exp needed to get to next level is decreased by 20%. | ||
* This also apply to the character level up, also decreased by 20%. | * This also apply to the character level up, also decreased by 20%. | ||
=== featManabond (Bonded with Mana) === | |||
<syntaxhighlight lang="c#" line="1"> | |||
int num = -value * 400 / (100 + BaseStats.CC.Evalue(303) * 10); | |||
if (BaseStats.CC.HasElement(1201)) | |||
{ | |||
num /= 3; | |||
} | |||
if (!BaseStats.CC.IsPC) | |||
{ | |||
num /= 5; | |||
if (num < 10) | |||
{ | |||
return; | |||
} | |||
} | |||
BaseStats.CC.Say("mana_overflow", BaseStats.CC); | |||
BaseStats.CC.DamageHP(num, 921, 100, AttackSource.ManaBackfire); | |||
if (BaseStats.CC.IsAliveInCurrentZone) | |||
{ | |||
BaseStats.CC.elements.ModExp(303, Mathf.Clamp(-a * 10, 10, 200)); | |||
} | |||
</syntaxhighlight> | |||
* This might in fact become a thread on how mana overcasting damage works. | |||
* We first calculate a base damage. For each point of mana missing after using mana, 4 point of HP damage will be lost without skill. | |||
** With 10 level of Mana capacity, this damage will be cut in half. 20 level, 33%, 30 level, 25%, etc. | |||
* If you have the manabond feat, this damage will but further cut by 66%. | |||
* NPCs will also recieve mana overcasting damage, but will be cut by 80%, and if the final result is less then 10, take no damage. | |||
** Even so, this can still be exploited in some way, I think. | |||
* Finally, the experience gained with mana capacity skill is calculated with '''the mana used''', instead of '''mana depleted''', times 10. | |||
** For example, if you cast healing of Juere, which cost 100 mana when you only have 99, you will gain 1000 base experience in mana capacity, while only recieving minimal damage. | |||
== Learnt Traits == | == Learnt Traits == | ||
edits