PDA

View Full Version : more than 1 drillworm then use exori con??



Daffik
10-09-2013, 06:34 AM
pritty much as the title say's, i found a script similar to this a while ago, but now when i need a script like this i can't find one.... please help

thx noob=me.com :P

Spectrus
10-09-2013, 06:39 AM
You could always just use an attack script (of which there are many on the forums), but here's one specific to what you need...


Module.New('exori_con', function()
local count = 0
local creatures = Self.GetTargets(7)
for _, creature in ipairs(creatures) do
if (creature:Name() == 'Drillworm') then
count = count + 1
end
end
if (count > 1) and (Self.CanCastSpell('exori con')) then
Self.Say('exori con')
end
end)

Daffik
10-09-2013, 06:43 AM
thanks a bunch :*