mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-12 07:24:19 -05:00
Fix Leppa Berry protocol message
Apparently the move data that stores PP doesn't have a "name" property.
This commit is contained in:
parent
e0f82212ce
commit
b0e7711685
|
|
@ -2309,7 +2309,7 @@ exports.BattleItems = {
|
|||
}
|
||||
move.pp += 10;
|
||||
if (move.pp > move.maxpp) move.pp = move.maxpp;
|
||||
this.add('-activate', pokemon, 'item: Leppa Berry', 'move: ' + move.name);
|
||||
this.add('-activate', pokemon, 'item: Leppa Berry', move.id);
|
||||
},
|
||||
num: 154,
|
||||
gen: 3,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user