mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-09 04:23:45 -05:00
Gen V: Actually fix Skill Swap messages
This commit is contained in:
parent
2a94634e7e
commit
cff37c69db
|
|
@ -757,7 +757,7 @@ exports.BattleMovedex = {
|
|||
if (targetAbility === sourceAbility) {
|
||||
return false;
|
||||
}
|
||||
this.add('-activate', source, 'move: Skill Swap', this.getMove(targetAbility), this.getMove(sourceAbility), '[of] ' + target);
|
||||
this.add('-activate', source, 'move: Skill Swap', this.getAbility(targetAbility), this.getAbility(sourceAbility), '[of] ' + target);
|
||||
source.setAbility(targetAbility);
|
||||
target.setAbility(sourceAbility);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user