Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Berserker Combos for ArchLight
- Version 1.0
- by Mr Trala
- ]]
- -- Configs
- local dist = 1 -- Distance from the target to use the spell
- local mana = 300 -- Minimum mana to try to use an spell (stop spam)
- -- Exaus Configuration (for otservers)
- local spell1 = "utori kor"
- local spell2 = "exori min"
- local spell3 = "exori gran"
- local spell4 = "exori"
- local spell5 = "exori gran ico"
- local spell6 = "exura gran ico"
- -- Spells to use
- local words1 = "exori gran thrash"
- local words2 = "exori thrash"
- local words3 = "exori gran"
- local words4 = "exori"
- local words5 = "exori gran ico"
- local words6 = "utani hura"
- -- Don't touch this.
- Module.New('Serker', function(mod)
- local creature = Creature.GetByID(Self.TargetID())
- if creature:isValid() and creature:isAlive() and creature:DistanceFromSelf() <= dist then
- if Self.GetSpellCooldown(spell1) == 0 then
- Self.Cast(words1, mana)
- end
- if Self.GetSpellCooldown(spell2) == 0 then
- Self.Cast(words2, mana)
- end
- if Self.GetSpellCooldown(spell3) == 0 then
- Self.Cast(words3, mana)
- end
- if Self.GetSpellCooldown(spell4) == 0 then
- Self.Cast(words4, mana)
- end
- if Self.GetSpellCooldown(spell5) == 0 then
- Self.Cast(words5, mana)
- end
- end
- if Self.GetSpellCooldown(spell6) == 0 then
- Self.Cast(words6, mana)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement