• 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.
  • Apologies if you've had troubles connecting to the site, you may need a VPN to access it. Staff are also facing issues connecting, so if it's urgent please message Cat on-site or through Discord directly.
  • Hey Guest, staff applications are open! If you are interested in becoming a forum staff member and/or Discord staff member, please apply through this Google Form before April 2! You can also message Cat with 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: FsT/110
Author
SuperSpyroDragon64
Views
840
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from SuperSpyroDragon64

Back
Top