Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- FinalShowdown for ArchlightOnline
- Version 1.0.1
- By Mr Trala
- Change Log;
- 1.0 -- First stable version.
- 1.0.1 -- Fixed problem after Archlight HP/Mana Update.
- ]]
- config = {
- Dist = 5, -- Dist to count monsters.
- DistT = 1,-- Dist to shoot spell.
- -- Exaus configs
- SpS = "exevo vis hur",
- Words = "Final Showdown"
- }
- Module('Show', function(mod)
- local am = 0
- for name, c in Creature.iMonsters(config.Dist) do
- if c:isValid() and c:isAlive() and not Self.isInPz() and c:isOnScreen()then
- am = am +1
- end
- if Self.GetSpellCooldown(config.SpS) == 0 and c:DistanceFromSelf() <= config.DistT and am >= 1 then
- Self.Cast(config.Words)
- end
- end
- mod:Delay(1000, 1200)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement