Rayd12smitty
Shadow Maker
- 645
- Posts
- 12
- Years
- Seen Feb 21, 2016
Code:
if isConst?(attacker.ability,PBAbilities,:TOUGHCLAWS) && # Added Ability
(@flags&0x01)!=0 # Makes direct contact
basedmg=(basedmg*1.3).floor
end
I put it in Pokebattle_Move right below
Code:
if isConst?(attacker.ability,PBAbilities,:RIVALRY) &&
attacker.gender!=2 && opponent.gender!=2
if attacker.gender==opponent.gender
basedmg=(basedmg*1.25).floor
else
basedmg=(basedmg*0.75).floor
end
end
I'm almost positive I did this correctly. Just want to make sure though.