Made it possible to kill the Zombie Champion

This commit is contained in:
Sam Marder
2026-05-30 14:31:23 +00:00
committed by Ryan
parent f98495d1ae
commit cf6cc08b26
@@ -63,8 +63,8 @@ class ZombieChampionNPC(id: Int = 0, location: Location? = null) : AbstractNPC(i
val player = state.attacker val player = state.attacker
if (player is Player) { if (player is Player) {
if (state.style == CombatStyle.MELEE || state.style == CombatStyle.RANGE) { if (state.style == CombatStyle.MELEE || state.style == CombatStyle.RANGE) {
state.estimatedHit = state.maximumHit
state.neutralizeHits() state.neutralizeHits()
state.estimatedHit = state.maximumHit
} }
if (state.style == CombatStyle.MAGIC) { if (state.style == CombatStyle.MAGIC) {
sendMessage(player, "You cannot use spells in this challenge.") sendMessage(player, "You cannot use spells in this challenge.")