Guest User

Untitled

a guest
Oct 16th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. init start
  2. local monsters = {'Dragon Lord'}
  3. local monsterscount = 3
  4. local safelist = {}
  5. local checkplayers = true
  6. local consideronlyfloor = false
  7. local runeorspell = 'avalanche' -- Change this to 'avalanche', or 'stone shower', or 'thunderstorm', or 'great fireball'
  8. local spellmp = 0 -- mana that the spell waste -- Script By Derrek
  9. for i=1, #safelist do safelist[i] = safelist[i]:lower() end
  10. for i=1, #monsters do monsters[i] = monsters[i]:lower() end
  11. init end
  12.  
  13. auto(100)
  14. if (maround(2,table.unpack(monstersetup.monsters)) >= monstersetup.minimumamount) and (cancastruneorspell(info)) then
  15. if playersetup.checkplayers then
  16. foreach creature p searchtype do
  17. if p ~= $self and p.dist <= playersetup.maxplayerdist and not table.find(playersetup.safelist,p.name:lower()) then
  18. return
  19. end
  20. end
  21. end
  22. cast(info.words)
  23. wait(900,1200)
  24. end
Add Comment
Please, Sign In to add comment