Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Perfect Sd + Spell Combo for ArchLight
- Version 2.0 - PRIV VERSION (Ownership; Mr Trilo)
- by Mr Trala
- Instructions:
- Remember to change the "words" and the "cooldown" for your spell.
- You can get your custom cooldown (if you are in an otserver).
- Just checking the "icon" that pop up when you use any spell.
- Ex;
- "Exana Gran Restora" equals to the exhausted of "Utura Gran" so;
- words = "exana gran restora", cooldown = "utura gran".
- You can keep adding spells just like this:
- Adding the next number, ex;
- the last in this script is "spells[3]" so you just need to add the next one ie: "spells[4]".
- That's It!
- Have fun!
- Credits;
- Unix -- Idea
- Mr Trala -- Programmer & Tester
- ]]
- config = {
- Dist = 7, -- Don't change anything here.
- SdID = 3154 -- Change to your respective Sd ID <<
- }
- spells = {}
- spells[1] = {words = "exevo gran frigo hur", cooldown = "exevo gran frigo hur"}
- spells[2] = {words = "exevo gran mas frigo", cooldown = "exevo gran mas frigo"}
- spells[3] = {words = "exevo gran mas tera", cooldown = "exevo gran mas tera"}
- function spellsd()
- for i = 1, #spells do
- local sps = spells[i]
- local trg = Creature.GetByID(Self.TargetID())
- if Self.CanCastSpell(sps.words) and Self.GetSpellCooldown(sps.cooldown) == 0 and trg:isTarget() then
- if trg:isAlive() and trg:DistanceFromSelf() <= config.Dist then
- wait(500, 1050)
- Self.Say(sps.words)
- Self.UseItemWithTarget(config.SdID)
- wait(1900, 2000)
- end
- end
- end
- end
- registerEventListener(TIMER_TICK, "spellsd")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement