Hi there guys, I had some help making a skill a while back that debuffs the user. It is supposed to debuff the user's attack and defence twice but it looks like it is only debuffing the user's attack. Here is what the code looks like:
a.add_debuff(2,3); a.add_debuff(2,3); b.result.critical=true; a.atk * 8-b.def
if I just do a.add_debuff(3) then I get null when the skill goes off. a.add_debuff(2) works fine when I test it.
a.add_debuff(2,3); a.add_debuff(2,3); b.result.critical=true; a.atk * 8-b.def
if I just do a.add_debuff(3) then I get null when the skill goes off. a.add_debuff(2) works fine when I test it.