Example #1
0
 def __init__(self, player, amount):
     Event.__init__(self, 1500)
     self.player = player
     self.amount = amount
     self.player.heal(self.amount)
     player.setBusy(True)
     player.animate(829)
Example #2
0
	def __init__(self, player, amount):
		Event.__init__(self, 1500)
		self.player = player
		self.amount = amount
		self.player.heal(self.amount)
		player.setBusy(True)
		player.animate(829)
Example #3
0
 def __init__(self, player, x, y, z):
     Event.__init__(self, 1255)
     self.player = player
     player.setBusy(True)
     player.getWalkingQueue().reset()
     player.animate(75133)
     player.graphics(1680)
     self.location = Location.location(x, y, z)
Example #4
0
	def __init__(self, player, x, y, z):
		Event.__init__(self, 1255)
		self.player = player
		player.setBusy(True)
		player.getWalkingQueue().reset();
		player.animate(75133)
		player.graphics(1680)
		self.location = Location.location(x, y, z)
Example #5
0
 def execute(self):
     self.player.animate(-1)
     self.player.setBusy(False)
     Event.stop(self)
Example #6
0
 def __init__(self, player):
     Event.__init__(self, 1500)
     self.player = player
Example #7
0
 def execute(self):
     self.player.teleport(self.location)
     self.player.animate(75134)
     World.getInstance().registerEvent(ResetAnimationEvent(self.player))
     Event.stop(self)
Example #8
0
 def execute(self):
     # send a message saying it is buried
     self.player.getActionSender().sendMessage("You bury the bones.")
     self.player.setBusy(False)
     Event.stop(self)
Example #9
0
 def __init__(self, player):
     Event.__init__(self, 2000)
     self.player = player
     player.setBusy(True)
     player.animate(827)
Example #10
0
	def execute(self):
		# send a message saying it is buried
		self.player.getActionSender().sendMessage("You bury the bones.")
		self.player.setBusy(False)
		Event.stop(self)
Example #11
0
	def __init__(self, player):
		Event.__init__(self, 2000)
		self.player = player
		player.setBusy(True)
		player.animate(827)
Example #12
0
	def execute(self):
		self.player.animate(-1)
		self.player.setBusy(False)
		Event.stop(self)
Example #13
0
	def __init__(self, player):
		Event.__init__(self, 1500)
		self.player = player
Example #14
0
	def execute(self):
		self.player.teleport(self.location)
		self.player.animate(75134)
		World.getInstance().registerEvent(ResetAnimationEvent(self.player))
		Event.stop(self)
Example #15
0
	def execute(self):
		self.player.getSkills().set(self.stat, int(int(self.player.getSkills().getLevelForXp(self.stat)) + int(self.amount)))
		Event.stop(self)
Example #16
0
	def __init__(self, player, stat, amount):
		Event.__init__(self, 1500)
		self.player = player
		self.stat = stat
		self.amount = amount
		player.animate(829)