Merge branch 'toxic_spikes' of https://github.com/elizaalex/pokerogue into toxic_spikes
This commit is contained in:
commit
ad51530f78
|
@ -123,7 +123,6 @@ export class MoveEffectPhase extends PokemonPhase {
|
||||||
new MoveAnim(move.id as Moves, user, this.getTarget()?.getBattlerIndex()!).play(this.scene, () => { // TODO: is the bang correct here?
|
new MoveAnim(move.id as Moves, user, this.getTarget()?.getBattlerIndex()!).play(this.scene, () => { // TODO: is the bang correct here?
|
||||||
/** Has the move successfully hit a target (for damage) yet? */
|
/** Has the move successfully hit a target (for damage) yet? */
|
||||||
let hasHit: boolean = false;
|
let hasHit: boolean = false;
|
||||||
|
|
||||||
for (const target of targets) {
|
for (const target of targets) {
|
||||||
/**
|
/**
|
||||||
* If the move missed a target, stop all future hits against that target
|
* If the move missed a target, stop all future hits against that target
|
||||||
|
|
Loading…
Reference in New Issue