mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-10-01 22:01:41 -05:00
Merge pull request #2437 from QuiteQuiet/spread
Notify client when a move is a spread move
This commit is contained in:
@@ -140,7 +140,10 @@ exports.BattleScripts = {
|
||||
this.add('-notarget');
|
||||
return true;
|
||||
}
|
||||
if (targets.length > 1) move.spreadHit = true;
|
||||
if (targets.length > 1) {
|
||||
this.attrLastMove('[spread]');
|
||||
move.spreadHit = true;
|
||||
}
|
||||
damage = 0;
|
||||
for (let i = 0; i < targets.length; i++) {
|
||||
let hitResult = this.tryMoveHit(targets[i], pokemon, move, true);
|
||||
|
||||
Reference in New Issue
Block a user