mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-05-23 16:36:14 -05:00
Added message case for -ability when Cloud Nine or Air Lock activate
The server-side code is changing soon to have Cloud Nine/Air Lock broadcast '-ability' instead of '-message', so we need to add the relevant messages to the client-side as well.
This commit is contained in:
parent
d7fbc74742
commit
5a233a401d
|
|
@ -3792,6 +3792,10 @@ function Battle(frame, logFrame, noPreload) {
|
|||
case 'darkaura':
|
||||
actions += "" + poke.getName() + " is radiating a dark aura!";
|
||||
break;
|
||||
case 'airlock':
|
||||
case 'cloudnine':
|
||||
actions += "The effects of weather disappeared.";
|
||||
break;
|
||||
default:
|
||||
actions += "" + poke.getName() + " has " + ability.name + "!";
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user