Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[Mages Multiple Strike Spells]]--
- local targets = {"Dragon Lord", "Dragon Lord Hatchling"} -- Moby na ktore ma uzywac spelli
- -- Just change below to suit your needs.
- local spells = {}
- spells[1] = { spell = "exori" } --Max spell
- Module.New("Multiple Strike Spells", function(module)
- for _, data in ipairs(spells) do
- local c = Creature.GetByID(Self.TargetID())
- if table.contains(targets, c:Name()) then
- if c:DistanceFromSelf() <= 3 then
- if Self.TargetID() ~= 0 then
- if c:HealthPercent() >= 2 then
- for x=1, #spells do
- if Self.CanCastSpell(data.spell) then
- Self.Say(data.spell)
- wait(200, 1500)
- end
- end
- elseif c:HealthPercent() <= 2 then
- if Self.CanCastSpell(data.spell[2]) then
- Self.Say(data.spell[2])
- wait(200, 1500)
- end
- end
- end
- end
- end
- end
- module:Delay(1000)
- end)
Advertisement
Add Comment
Please, Sign In to add comment