Merge 2009scape updates #19

Open
randy wants to merge 204 commits from 2009Scape:master into upstream
Showing only changes of commit cf6cc08b26 - Show all commits

View file

@ -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.")