Fixed Vinesweeper bunnies so that you can't spam click them for hunter XP
This commit is contained in:
@@ -149,10 +149,10 @@ class Vinesweeper : InteractionListener, InterfaceListener, MapArea {
|
|||||||
//npc.animate(9603)
|
//npc.animate(9603)
|
||||||
npc.sendChat("Squeak!")
|
npc.sendChat("Squeak!")
|
||||||
npc.lock(3)
|
npc.lock(3)
|
||||||
player.skills.addExperience(Skills.HUNTER, 30.0)
|
|
||||||
GameWorld.Pulser.submit(object : Pulse(3) {
|
GameWorld.Pulser.submit(object : Pulse(3) {
|
||||||
override fun pulse(): Boolean {
|
override fun pulse(): Boolean {
|
||||||
//npc.setInvisible(true)
|
//npc.setInvisible(true)
|
||||||
|
player.skills.addExperience(Skills.HUNTER, 30.0)
|
||||||
npc.respawnTick = GameWorld.ticks + 50
|
npc.respawnTick = GameWorld.ticks + 50
|
||||||
npc.location = npc.properties.spawnLocation
|
npc.location = npc.properties.spawnLocation
|
||||||
return true
|
return true
|
||||||
|
|||||||
Reference in New Issue
Block a user