• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • The Eevee Expo Game Jam has concluded! 🎉 Head on over to the game jam forum to play through the games.
    Don't forget to come back September 21st to vote for your favorites!
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!
Resource icon

v21.1 User's Speed is used instead of user's Attack for this move's calculations. (Aerial Ace) 1.69

This resource pertains to version 21.1 of Pokémon Essentials.
Pokémon Essentials Version
v21.1 ✅
This is a move to help fast-moving weak-hitting Pokemon compete! Use this, and the user's Speed is used instead of the user's Attack for this move's calculations. I recommend editing an existing move tons of Pokemon already learn (perhaps Aerial Ace or Quick Attack?) to have this effect.

The following code goes in MoveEffects_MoveAttributes between the code for Foul Play and Secret Sword.

#===============================================================================
# User's Speed is used instead of user's Attack for this move's calculations.
# (Aerial Ace)
#===============================================================================
class Battle::Move::MySpeedIsMyAttack < Battle::Move
def pbGetAttackStats(user, target)
return user.speed, target.stages[:SPEED] + Battle::Battler::STAT_STAGE_MAXIMUM
end
end
Credits
Jason Godwyn
  • Like
Reactions: 110
Author
SuperSpyroDragon64
Views
1,059
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from SuperSpyroDragon64

Back
Top