Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function MyAfflictions(eventname, data)
- if eventname == "svo got aff" then
- if data == "prone" then
- if not IgnoreProne then
- send("recover")
- end
- end
- end
- if eventname == "svo lost aff" then
- if data == "crippledleftleg" or data == "crippledrightleg" then
- if svo.affl.prone then
- send("recover")
- end
- end
- end
- end
- registerAnonymousEventHandler("svo got aff", "MyAfflictions")
- registerAnonymousEventHandler("svo lost aff", "MyAfflictions")
- registerAnonymousEventHandler("svo updated aff", "MyAfflictions")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement