mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-24 19:20:33 -05:00
Add support for Revival Blessing (#2023)
This commit is contained in:
@@ -1719,6 +1719,18 @@ export class Battle {
|
||||
case 'wish':
|
||||
this.scene.runResidualAnim('wish' as ID, poke);
|
||||
break;
|
||||
case 'revivalblessing':
|
||||
this.scene.runResidualAnim('wish' as ID, poke);
|
||||
const {siden} = this.parsePokemonId(args[1]);
|
||||
const side = this.sides[siden];
|
||||
poke.fainted = false;
|
||||
poke.status = '';
|
||||
this.scene.updateSidebar(side);
|
||||
// Revived while still on the field
|
||||
if (!side.active[poke.slot]) {
|
||||
poke.side.replace(poke);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
this.scene.runOtherAnim('heal' as ID, [poke]);
|
||||
|
||||
Reference in New Issue
Block a user