mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-20 06:19:29 +02:00
Merge branch 'grudgeImplementation' into grudge-patch-1
This commit is contained in:
commit
94e2a51690
@ -2914,6 +2914,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
||||
// set splice index here, so future scene queues happen before FaintedPhase
|
||||
this.scene.setPhaseQueueSplice();
|
||||
this.scene.unshiftPhase(new FaintPhase(this.scene, this.getBattlerIndex(), isOneHitKo, destinyTag, grudgeTag, source));
|
||||
|
||||
this.destroySubstitute();
|
||||
this.lapseTag(BattlerTagType.COMMANDED);
|
||||
this.resetSummonData();
|
||||
|
@ -39,7 +39,7 @@ export class FaintPhase extends PokemonPhase {
|
||||
private grudgeTag?: GrudgeTag | null;
|
||||
|
||||
/**
|
||||
* The source Pokemon that dealt fatal damage and should get KO'd by Destiny Bond, if applicable
|
||||
* The source Pokemon that dealt fatal damage
|
||||
*/
|
||||
private source?: Pokemon;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user