Elin:Code Analysis/Feats: Difference between revisions

Line 597: Line 597:
* This feat increase the exp gain (of cost) by 30% (without influencing the stable 10 part).  
* 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?
** '''Need confirmation:''' Exactly how much exp is needed for spell to gain a level?
=== featFoxBless (Fox Ward) ===
<syntaxhighlight lang="c#" line="1">
public void DamageHP(...)
    if (EClass.pc.HasElement(1207) && isChara)
{
int num = 0;
int num2 = 0;
foreach (Condition condition2 in Chara.conditions)
{
if (condition2.Type == ConditionType.Buff)
{
num++;
}
else if (condition2.Type == ConditionType.Debuff)
{
num2++;
}
}
if (IsPCParty)
{
dmg = dmg * 100 / Mathf.Min(100 + num * 5, 120);
}
else
{
dmg = dmg * Mathf.Min(100 + num2 * 5, 120) / 100;
}
}
</syntaxhighlight>
* This feat is only utilized at damage calculation, and only apply when the feat is owned by PC.
* The damage you and your ally will receive is reduced by 100/ 100 + 5 * x, where x is the number of buffs you have, to maximum of 4.
* Similarly, the damage characters not in your party will receive is increased by 5% per each debuff they have, to maximum of 4.
** This debuff will also apply to any character not in your party but in your faction, so beware.




[[Category:EN]]
[[Category:EN]]
[[Category:Elin Spoiler]]
[[Category:Elin Spoiler]]
443

edits