Jump to content

Exeta RES


Aza

Recommended Posts

  • 4 weeks later...

Not sure if this is what you're after.

I have NOT tested it, so please let me know how it goes.

local distance = 1				-- Distance from player to count mobs in
local mobCount = 1				-- Minimum amount of mobs inside distance
local spell = "exeta res"		-- Spell to cast if conditions are true
local globalCD = 2000			-- Global cooldown of spells/actions (1000 = 1 second)

if #g_game.getMonstersAround(distance) >= mobCount then
  g_game.talk(spell)
  sleep(globalCD,globalCD+200)
end

auto(100,200)

- Tokumei

Link to comment
Share on other sites

×
×
  • Create New...