game: Override isDying for Nex, Alchemical hydra, and Drakes
These NPCs transform to a new form in their "dying" phase, thus have `isDead()` reset to false, despite actually dying. This commit overrides those particular forms to be considered dead.
This commit is contained in:
@@ -95,6 +95,12 @@ public class NpcUtil
|
|||||||
case NpcID.GROWTHLING:
|
case NpcID.GROWTHLING:
|
||||||
case NpcID.KALPHITE_QUEEN_963: // KQ's first form sometimes regenerates 1hp after reaching 0hp, thus not dying
|
case NpcID.KALPHITE_QUEEN_963: // KQ's first form sometimes regenerates 1hp after reaching 0hp, thus not dying
|
||||||
return false;
|
return false;
|
||||||
|
// These NPCs transform and have their `isDead()` reset to `false` despite actually being dead in these forms
|
||||||
|
case NpcID.DRAKE_8613:
|
||||||
|
case NpcID.GUARDIAN_DRAKE_10401:
|
||||||
|
case NpcID.ALCHEMICAL_HYDRA_8634:
|
||||||
|
case NpcID.NEX_11282:
|
||||||
|
return true;
|
||||||
default:
|
default:
|
||||||
if (runtimeConfig != null)
|
if (runtimeConfig != null)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user