Made it possible to kill the Zombie Champion
This commit is contained in:
@@ -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.")
|
||||||
|
|||||||
Reference in New Issue
Block a user