Hello everybody, I have a doubt might someone can solve
I want to make an ability like Topsy-turvy in Pokemon, if you don't know what is I'll explain it: it'll totally reverse the buff and debuff the target has (if it has 2 buff in attack, it'll change them into 2 debuff) well, I asked that in another forum and someone (TheoAllen) gave me this idea
class Game_Battler
def reverse_buffs
8.times do |param_id|
@buffs[param_id] *= -1
end
end
end
And then put in the damage formula box from this attack
b.reverse_buff
Well, the problem is I tried this and it didn't work, does anyone know what is wrong with this formula? or does anyone has another way to make this ability?
Thanks a lot who anyone can help me with that
Reverse buff/debuff
● ARCHIVED · READ-ONLY
-
-
BUMP
-
according to the snippet you named it: reverse_buffs
so it needs the s at the end. it should be this: b.reverse_buffs -
I feel stupid now lol, but well, I'm new in this and all those things are part of the learning process, it DID work, thanks by the help :)