Log in

View Full Version : Exori Function?



Funkgary
02-18-2013, 08:59 AM
How do I get Forgee's exori function to work properly? Currently I have this.


dofile("Forgee.lua")

function exori(radius, num, spell, mana, hitPlayers, monsters)
local radius = 1 -- Radius to consider
local num = 2 -- Minimum number of monsters to hit.
local spell = "exori" -- Spell to cast.
local mana = 120 -- Minimum mana to cast spell.
local monsters = {"Dragon", "Dragon Hatchling", "Dragon Lord"}
local hitPlayers = false -- false will not cast the spell if there are players in the affected nearby (radius+1). true will execute regardless of other players, only recommended for Optional pvp.
end

while (true) do
exori(radius, num, spell, mana, hitPlayers, monsters) -- All waiting is handled by the main function.
end

Elvang
02-18-2013, 09:19 AM
Use syntax's? http://pastebin.com/6UDJXMWG