forked from 2009Scape/Server
Fixed The Grand Tree quest black demon boss respawning
This commit is contained in:
parent
642d946c17
commit
1323684153
1 changed files with 4 additions and 2 deletions
|
|
@ -27,8 +27,10 @@ class BlackDemonNPC(id: Int = 0, location: Location? = null) : AbstractNPC(id,lo
|
|||
|
||||
override fun finalizeDeath(killer: Entity?) {
|
||||
// In the event that this npcID is used somewhere else...
|
||||
if(killer!!.asPlayer().location.regionId == 9882)
|
||||
if(killer!!.asPlayer().location.regionId == 9882) {
|
||||
setQuestStage(killer!!.asPlayer(), questName, 98)
|
||||
this.isRespawn = false
|
||||
}
|
||||
super.finalizeDeath(killer)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue