-
HELP PLEASE WILL BE HELPFULL
Hello, I was wondering if the script can start to attack when theres X creatures instead of just one? I want to my ED follow my EK (pause follow to attack when 1 creature) until he lure 6 creatures. If the answer is yes plase let me know what to modify. Thanks you all !
Script:
local target = "Heal Up" -- put your leader name there
local ValidMonsters = {"Demon"}
local MonsterCheck = {}
local MonsterAmount = 0
function setMonsters()
for _, mname in pairs(ValidMonsters) do
MonsterCheck[mname] = true
end
end
do
setMonsters()
Module.New("follow", function(module)
MonsterAmount = 0
for name, c in Creature.iMonsters() do
if(MonsterCheck[name]==true) then
Targeting.Start()
MonsterAmount = 1
break
end
end
if(MonsterAmount == 0) then
Targeting.Stop()
local player = Creature(target)
if player:isOnScreen(true) then
Creature.Follow(target)
end
end
moduleelay(1000)
end)
end
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules