mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-11 17:10:21 -07:00
Removed vinesweeper rabbits' telekinetic powers
This commit is contained in:
parent
37fe071041
commit
810528dfb4
1 changed files with 3 additions and 1 deletions
|
|
@ -413,7 +413,7 @@ class Vinesweeper : InteractionListener, InterfaceListener, MapArea {
|
||||||
player.skills.addExperience(Skills.HUNTER, 30.0)
|
player.skills.addExperience(Skills.HUNTER, 30.0)
|
||||||
rabbit.sendChat("Squeak!")
|
rabbit.sendChat("Squeak!")
|
||||||
rabbit.animate(Animation(Animations.RABBIT_EAT_OGLEROOT_8734))
|
rabbit.animate(Animation(Animations.RABBIT_EAT_OGLEROOT_8734))
|
||||||
rabbit.lock(3)
|
rabbit.lock(4)
|
||||||
GameWorld.Pulser.submit(object : Pulse(3, player) {
|
GameWorld.Pulser.submit(object : Pulse(3, player) {
|
||||||
override fun pulse(): Boolean {
|
override fun pulse(): Boolean {
|
||||||
rabbit.finalizeDeath(player)
|
rabbit.finalizeDeath(player)
|
||||||
|
|
@ -551,6 +551,8 @@ class VinesweeperNPC : AbstractNPC {
|
||||||
}
|
}
|
||||||
override fun handleTickActions() {
|
override fun handleTickActions() {
|
||||||
val dest = seedDestinations.find { sd -> sd.loc == location }
|
val dest = seedDestinations.find { sd -> sd.loc == location }
|
||||||
|
if (locks.isMovementLocked() || locks.isInteractionLocked())
|
||||||
|
return
|
||||||
if(dest != null) {
|
if(dest != null) {
|
||||||
for(npc in RegionManager.getRegionPlane(location).npcs) {
|
for(npc in RegionManager.getRegionPlane(location).npcs) {
|
||||||
if(npc is VinesweeperNPC) {
|
if(npc is VinesweeperNPC) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue