[x] I have tested my code and the things my code has changed since the last commit in the PR and will test after any later commits.
What does this pull request do?
The PR fixes an issue where the ??? for Feeler Antlion never despawns when popping Feeler Antlion.
The PR adds code to despawn the ??? and also adds a custom function canStartFeelerQMTimer to control the respawning of the ???. A custom function is needed as npcUtil.popFromQM does not support ??? timers when mobs spawn other mobs (such as Feeler Antlion spawning Alastor Antlion and Executioner Antlion). The custom function is called in onMobDespawn of Feeler, Alastor, and Executioner and checks if any these mobs are still spawned and if not then start the ??? respawn timer.
Steps to test these changes
Spawn Feeler Antlion from ??? and test different scenarios of killing Feeler, Alastor, Executioner and seeing when the ??? respawns.
I affirm:
What does this pull request do?
The PR fixes an issue where the ??? for Feeler Antlion never despawns when popping Feeler Antlion.
The PR adds code to despawn the ??? and also adds a custom function
canStartFeelerQMTimer
to control the respawning of the ???. A custom function is needed asnpcUtil.popFromQM
does not support ??? timers when mobs spawn other mobs (such as Feeler Antlion spawning Alastor Antlion and Executioner Antlion). The custom function is called inonMobDespawn
of Feeler, Alastor, and Executioner and checks if any these mobs are still spawned and if not then start the ??? respawn timer.Steps to test these changes
Spawn Feeler Antlion from ??? and test different scenarios of killing Feeler, Alastor, Executioner and seeing when the ??? respawns.