forked from 2009Scape/Server
Merge 2009scape updates #19
1 changed files with 1 additions and 1 deletions
|
|
@ -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.")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue