Guest User

Occultist Svo additions

a guest
Nov 17th, 2013
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. Script
  2. Name: TreeStrats
  3. Event: svo system loaded
  4. function numEntries(theTable)
  5. local count = 0
  6. for _ in pairs(theTable) do
  7. count = count + 1
  8. end
  9. return count
  10. end
  11. function TreeStrats()
  12. svo.tree.occultistthreeaffs = {
  13. desc = "Fighting an Occultist and have three afflictions",
  14.  
  15. function()
  16. if numEntries(svo.affl) >= 3 then
  17. return true
  18. end
  19. end
  20. }
  21. end
  22. Script
  23. Name: SwitchClass
  24. Events: svo enabled class, svo disabled class
  25. function SwitchClass(event, className)
  26. if className == "occultist" then
  27. svo.me.disabledtreefunc.occultistthreeaffs = event == "svo disabled class"
  28. end
  29. end
  30. Trigger:
  31. Name: Attend
  32. Line (exact match): Unable to resist the insistent intent to get your attention, your eyes flicker open and head snaps up.
  33. svo.defs.keepup("blind", false)
  34. svo.defs.keepup("deaf", false)
  35. attendTimer = tempTimer(3, function()
  36. disableTimer(attendTimer)
  37. attendTimer = nil
  38. svo.defs.keepup("deaf", true)
  39. end)
Advertisement
Add Comment
Please, Sign In to add comment