possibly fixed Levi not counting as dead if you kill Levi first

This commit is contained in:
Ozzatron committed 2022-09-12 21:34:18 -04:00
1 parent a002b2edcf
commit 9d33c8a18b
1 file changed
+6
+6
View File
@@ -847,6 +847,12 @@ namespace CalamityMod.NPCs.Leviathan
potionType = ItemID.GreaterHealingPotion;
}
public override void OnKill()
{
if (Leviathan.LastAnLStanding())
Leviathan.RealOnKill(NPC);
}
public override void ModifyNPCLoot(NPCLoot npcLoot)
{
Leviathan.DefineAnahitaLeviathanLoot(npcLoot);