Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- config = {
- Dist = 7, -- Don't change anything here.
- SdID = 3154, -- Change to your respective Sd ID <<
- }
- spells = {}
- spells[1] = {words = "Quad Shot", cooldown = "utori pox"}
- spells[2] = {words = "Arrow Volley", cooldown = "exori min flam"}
- spells[3] = {words = "Focused Shot", cooldown = "exevo gran mas flam"}
- spells[4] = {words = "Skyfall", cooldown = "exevo flam hur"}
- spells[5] = {words = "Mega Exploding Spear", cooldown = "exura dis"}
- spells[6] = {words = "Exploding Spear", cooldown = "exori con"}
- Module.New('Spells', function(mod)
- for i = 1, #spells do
- local sps = spells[i]
- local trg = Creature.GetByID(Self.TargetID())
- if Self.GetSpellCooldown(sps.cooldown) == 0 and trg:isTarget() then
- if trg:isAlive() and trg:DistanceFromSelf() <= config.Dist then
- Self.UseItemWithTarget(config.SdID)
- Self.Say(sps.words)
- mod:Delay(2020)
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement