mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-05 07:52:17 +02:00
Revert 07646fe
(not needed due to stable sort)
This commit is contained in:
parent
07646feabe
commit
ea77d6f771
@ -71,8 +71,7 @@ export class PostSummonPhasePriorityQueue extends PhasePriorityQueue {
|
||||
const phasePokemon = phase.getPokemon();
|
||||
|
||||
phasePokemon.getAbilityPriorities().forEach(priority => {
|
||||
// Treat all activation phases of zero or lower priority as one stage lower to ensure that they activate after the normal PostSummonPhase
|
||||
this.queue.push(new PostSummonActivateAbilityPhase(phasePokemon.getBattlerIndex(), priority - +(priority <= 0)));
|
||||
this.queue.push(new PostSummonActivateAbilityPhase(phasePokemon.getBattlerIndex(), priority));
|
||||
globalScene.appendToPhase(
|
||||
new ActivatePriorityQueuePhase(DynamicPhaseType.POST_SUMMON),
|
||||
ActivatePriorityQueuePhase,
|
||||
|
Loading…
Reference in New Issue
Block a user