Fixed Vinesweeper bunnies so that you can't spam click them for hunter XP

This commit is contained in:
Lila Hioh 2022-07-12 13:25:47 +00:00 committed by Ryan
parent b063fefbc5
commit b1844261c1

View file

@ -149,10 +149,10 @@ class Vinesweeper : InteractionListener, InterfaceListener, MapArea {
//npc.animate(9603)
npc.sendChat("Squeak!")
npc.lock(3)
player.skills.addExperience(Skills.HUNTER, 30.0)
GameWorld.Pulser.submit(object : Pulse(3) {
override fun pulse(): Boolean {
//npc.setInvisible(true)
player.skills.addExperience(Skills.HUNTER, 30.0)
npc.respawnTick = GameWorld.ticks + 50
npc.location = npc.properties.spawnLocation
return true