mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-02 07:42:12 -05:00
Change -endability message structure
With Simple Beam and Worry Seed now using -endability as well to reveal the old ability, it is more appropriate to use a new message. Parentheses are traditionally used by the client to indicate messages that do not actually appear as in-game text.
This commit is contained in:
13
js/battle.js
13
js/battle.js
@@ -3977,7 +3977,7 @@ var Battle = (function () {
|
||||
actions += '' + poke.getName() + ' copied ' + ofpoke.getLowerName() + '\'s ' + ability.name + ' Ability!';
|
||||
break;
|
||||
case 'mummy':
|
||||
// actions += "" + poke.getName() + "'s Ability became Mummy!";
|
||||
actions += "" + poke.getName() + "'s Ability became Mummy!";
|
||||
break;
|
||||
case 'desolateland':
|
||||
if (kwargs.fail) {
|
||||
@@ -4043,15 +4043,12 @@ var Battle = (function () {
|
||||
|
||||
if (kwargs.silent) {
|
||||
// do nothing
|
||||
} else switch (effect.id) {
|
||||
case 'mummy':
|
||||
actions += "[" + poke.getName() + "\'s " + ability.name + "] " + poke.name + "'s Ability became Mummy!";
|
||||
} else if (ability.exists) {
|
||||
actions += "(" + poke.getName() + "'s " + ability.name + " was removed.)";
|
||||
this.resultAnim(poke, ability.name + ' removed', 'bad', animDelay);
|
||||
if (!poke.baseAbility) poke.baseAbility = ability.name;
|
||||
poke.ability = 'Mummy';
|
||||
break;
|
||||
default:
|
||||
} else {
|
||||
actions += "" + poke.getName() + "\'s Ability was suppressed!";
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user