mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-08-28 14:11:08 -05:00
Add missing Crafty Shield messages
This commit is contained in:
10
js/battle.js
10
js/battle.js
@@ -2019,6 +2019,7 @@ var Side = (function () {
|
||||
protect: '<span class="good">Protect</span>',
|
||||
quickguard: '<span class="good">Quick Guard</span>',
|
||||
wideguard: '<span class="good">Wide Guard</span>',
|
||||
craftyshield: '<span class="good">Crafty Shield</span>',
|
||||
helpinghand: '<span class="good">Helping Hand</span>',
|
||||
magiccoat: '<span class="good">Magic Coat</span>',
|
||||
destinybond: '<span class="good">Destiny Bond</span>',
|
||||
@@ -4425,6 +4426,10 @@ var Battle = (function () {
|
||||
this.resultAnim(poke, 'Wide Guard', 'good', animDelay);
|
||||
actions += "Wide Guard protected " + poke.side.getLowerTeamName() + "!";
|
||||
break;
|
||||
case 'craftyshield':
|
||||
this.resultAnim(poke, 'Crafty Shield', 'good', animDelay);
|
||||
actions += "Crafty Shield protected " + poke.side.getLowerTeamName() + "!";
|
||||
break;
|
||||
case 'protect':
|
||||
this.resultAnim(poke, 'Protected', 'good', animDelay);
|
||||
actions += '' + poke.getName() + ' protected itself!';
|
||||
@@ -4499,6 +4504,11 @@ var Battle = (function () {
|
||||
this.resultAnim(poke, 'Wide Guard', 'good', animDelay);
|
||||
actions += "Wide Guard protected " + poke.getLowerName() + "!";
|
||||
break;
|
||||
case 'craftyshield':
|
||||
poke.addTurnstatus('craftyshield');
|
||||
this.resultAnim(poke, 'Crafty Shield', 'good', animDelay);
|
||||
actions += "Crafty Shield protected " + poke.getLowerName() + "!";
|
||||
break;
|
||||
case 'protect':
|
||||
poke.addTurnstatus('protect');
|
||||
this.resultAnim(poke, 'Protected', 'good', animDelay);
|
||||
|
||||
Reference in New Issue
Block a user