Hi
I was using this tip and tricks
http://www.yanfly.moe/wiki/Iteration_Skill_Damage_(MV_Plugin_Tips_&_Tricks)
i have already 4 need plugin.
and i make the skill and this is skill's note
<Damage Formula>
var total = user._totalSpellsCasted || 0;
var bonusMultiplier = total * 0.75;
value = user.mat * (1 + bonusMultiplier);
</Damage Formula>
<Passive State: 49>
and then stat 49's note
<Custom Battle Effect>
user._totalSpellsCasted = 0;
</Custom Battle Effect>
<Custom Action Start Effect>
user._totalSpellsCasted = user._totalSpellsCasted || 0;
var action = user.currentAction();
if (action.isSkill() && action.isMagical()) {
user._totalSpellsCasted += 1;
}
</Custom Action Start Effect>
but it doesn't work.
I tried copying and pasting the original text.
It didn't work either.
Can you help me?
and sorry to poor english.
I was using this tip and tricks
http://www.yanfly.moe/wiki/Iteration_Skill_Damage_(MV_Plugin_Tips_&_Tricks)
i have already 4 need plugin.
and i make the skill and this is skill's note
<Damage Formula>
var total = user._totalSpellsCasted || 0;
var bonusMultiplier = total * 0.75;
value = user.mat * (1 + bonusMultiplier);
</Damage Formula>
<Passive State: 49>
and then stat 49's note
<Custom Battle Effect>
user._totalSpellsCasted = 0;
</Custom Battle Effect>
<Custom Action Start Effect>
user._totalSpellsCasted = user._totalSpellsCasted || 0;
var action = user.currentAction();
if (action.isSkill() && action.isMagical()) {
user._totalSpellsCasted += 1;
}
</Custom Action Start Effect>
but it doesn't work.
I tried copying and pasting the original text.
It didn't work either.
Can you help me?
and sorry to poor english.