Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Script
- Name: TreeStrats
- Event: svo system loaded
- function numEntries(theTable)
- local count = 0
- for _ in pairs(theTable) do
- count = count + 1
- end
- return count
- end
- function TreeStrats()
- svo.tree.occultistthreeaffs = {
- desc = "Fighting an Occultist and have three afflictions",
- function()
- if numEntries(svo.affl) >= 3 then
- return true
- end
- end
- }
- end
- Script
- Name: SwitchClass
- Events: svo enabled class, svo disabled class
- function SwitchClass(event, className)
- if className == "occultist" then
- svo.me.disabledtreefunc.occultistthreeaffs = event == "svo disabled class"
- end
- end
- Trigger:
- Name: Attend
- Line (exact match): Unable to resist the insistent intent to get your attention, your eyes flicker open and head snaps up.
- svo.defs.keepup("blind", false)
- svo.defs.keepup("deaf", false)
- attendTimer = tempTimer(3, function()
- disableTimer(attendTimer)
- attendTimer = nil
- svo.defs.keepup("deaf", true)
- end)
Advertisement
Add Comment
Please, Sign In to add comment