443
edits
| Line 573: | Line 573: | ||
** If the snail's HP is lower or equal to 10, then it will receive 10000 damage. | ** If the snail's HP is lower or equal to 10, then it will receive 10000 damage. | ||
*** But if you are in autocombat, because the damage is not a source of Finish, it will at most leave you to 0 HP. | *** But if you are in autocombat, because the damage is not a source of Finish, it will at most leave you to 0 HP. | ||
=== featFoxLearn (Old Fox Lineage) === | |||
<syntaxhighlight lang="c#" line="1"> | |||
public int GetSpellExp(Chara c, Element e, int costMod = 100) | |||
{ | |||
Act.Cost cost = e.GetCost(c); | |||
int num = cost.cost * ((cost.type == Act.CostType.SP) ? 20 : 5) * (100 + c.Evalue(1208) * 30) / 100 + 10; | |||
num = num * costMod / 100; | |||
if (!e.source.aliasParent.IsEmpty()) | |||
{ | |||
int num2 = ValueWithoutLink(e.source.aliasParent) - ValueWithoutLink(e.source.id); | |||
num = ((num2 < 0) ? (num * 100 / (100 - num2 * 25)) : (num * (100 + num2 * 5) / 100)); | |||
} | |||
if (num < 0) | |||
{ | |||
num = 0; | |||
} | |||
return num; | |||
} | |||
</syntaxhighlight> | |||
* The spell exp you earn is normally, the MP cost of spell times 5 + 10, if it is a SP skill, 20 * SP cost + 10. | |||
* This feat increase the exp gain (of cost) by 30% (without influencing the stable 10 part). | |||
** '''Need confirmation:''' Exactly how much exp is needed for spell to gain a level? | |||
[[Category:EN]] | [[Category:EN]] | ||
[[Category:Elin Spoiler]] | [[Category:Elin Spoiler]] | ||
edits