mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-09-13 14:29:25 -05:00
Mark damage-weakening berries as having been eaten (#780)
This commit is contained in:
@@ -4339,6 +4339,7 @@ var Battle = (function () {
|
||||
actions += '' + poke.getName() + ' ate its ' + item.name + '!';
|
||||
this.lastmove = item.id;
|
||||
} else if (kwargs.weaken) {
|
||||
poke.prevItemEffect = 'eaten';
|
||||
actions += 'The ' + item.name + ' weakened the damage to ' + poke.getLowerName() + '!';
|
||||
this.lastmove = item.id;
|
||||
} else if (effect.id) switch (effect.id) {
|
||||
|
||||
Reference in New Issue
Block a user