Grey Metagross
B/W e4 music for the win.
- 19
- Posts
- 13
- Years
- Littleroot Town
- Seen Oct 17, 2015
I need help getting an Ability to raise Attack. The ability is called ArcLightning, and it's just like LightningRod except it raises the Attack stat instead of the Sp.Attack stat. I'm very confused as to what I should have ArcLightning say to raise Attack. Does anyone know how to do this?
LightningRod:
LightningRod:
Code:
if targets.length>0 && isConst?(thismove.type,PBTypes,:ELECTRIC) &&
!isConst?(target.ability,PBAbilities,:LIGHTNINGROD)
# all damaging Electric attacks have a target of "single non-user"
for i in priority # use Pokémon earliest in priority
next if !pbIsOpposing?(i.index)
if isConst?(i.ability,PBAbilities,:LIGHTNINGROD)
target=i# X's LightningRod took the attack!
changeeffect=1
break
end
end
end