Exemple #1
0
	def auto_cast_thread(self):
		for name, skill in auto_cast_skills:
			level = craw.get_skill_level(skill)
			if level == None or level == 0:
				continue
				
			print 'Casting %s level %d' % (name, level)
			packets.perform_cast(skill, configuration.auto_cast_switch_delay, configuration.auto_cast_cast_delay)
	def battle_orders_thread(self):
		packets.send_chat(configuration.battle_orders_confirmation)
		for skill_name, skill in battle_orders_skills:
			packets.perform_cast(skill, configuration.battle_orders_switch_delay, configuration.battle_orders_cast_delay)