- 378
- Posts
- 12
- Years
- Seen Oct 18, 2017
I want to code in the ability "Cobra Strike" which makes all poison type moves stronger. Would this code work? I put right above Torrent, Blaze and Overgrow.
Spoiler:
if isConst?(attacker.ability,PBAbilities,:COBRASTRIKE)
if isConst?(type,PBTypes,:POISON)
basedmg=(basedmg*1.5).floor
end
end
if isConst?(type,PBTypes,:POISON)
basedmg=(basedmg*1.5).floor
end
end