- 3
- Posts
- 14
- Years
- Seen Apr 12, 2014
Hello,
recently I downloaded the latest version of "Pokemon Essentials XP" and I tried to insert new move effects. Unfortunately, they didn't work because when tried to test them, simply NOTHING happend in the game. The idea was a move that should change the user's attack to 3 (150%) and I mean exactly 3! No matter which stage it had before.
Here is the code I wrote down in PokeBattle_MoveEffects:
class PokeBattle_Move_126 < PokeBattle_Move
def pbEffect(attacker,opponent)
@battle.pbAnimation(@id,attacker,nil)
@battle.pbCommonAnimation("StatUp",attacker,nil)
attacker.stages[PBStats::SPEED]=3
@battle.pbDisplay(_INTL("{1}'s Attack sharply rose!",attacker.pbThis))
end
end
What could be the reason for this?
recently I downloaded the latest version of "Pokemon Essentials XP" and I tried to insert new move effects. Unfortunately, they didn't work because when tried to test them, simply NOTHING happend in the game. The idea was a move that should change the user's attack to 3 (150%) and I mean exactly 3! No matter which stage it had before.
Here is the code I wrote down in PokeBattle_MoveEffects:
Spoiler:
class PokeBattle_Move_126 < PokeBattle_Move
def pbEffect(attacker,opponent)
@battle.pbAnimation(@id,attacker,nil)
@battle.pbCommonAnimation("StatUp",attacker,nil)
attacker.stages[PBStats::SPEED]=3
@battle.pbDisplay(_INTL("{1}'s Attack sharply rose!",attacker.pbThis))
end
end
What could be the reason for this?