Advertiser Content

Question Ability quiestion.

Started by LuisMRL 5 Days Ago 6:08 PM
  • 266 views
  • 6 replies
Seen 1 Day Ago
Posted 4 Days Ago
38 posts
182 Days
Hi!

I was trying to make an ability that make the sound based moves turns to electric type. However, thats not the question: The ability is for a pokémon that have a lot more physical attack than special, so, is posible to make that ability also swap the attack with the special attack? (Or make the sound based attacks use physycal attack instead of special or any idea you may think )

Thanks.
Seen 1 Day Ago
Posted 4 Days Ago
38 posts
182 Days
The lines starting with - are already in the script, the intention of that post is to delete those lines and replace them with the lines starting with +.
Oh yeah, i noticed of that a little ago, sorry for being dumb xd. I made this but i think isn't working, but not sure:

Spoiler:
def attack
return self.hasWorkingAbility(:MAGNETICVOICE)? @attack : @spatk
end

def spatk
return self.hasWorkingAbility(:MAGNETICVOICE)? @spatk : @attack
end
Advertiser Content