Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Basic Idea:
- Keep track of incoming (and reactionary) spell/other requests when your character may not be ready to cast/perform them. Adds spells and targets to respective 'string lists' and uses global variable X to track casting/queue state: 0 = Not Casting/No Queue, 1 = Queued(Instant), 2 = Queued(Spell), 3 = Not Queued(Skip List Deletion Step), 4 = Chain-cast (Skip Queue process completely)
- TRIGGER = You have completed casting *.
- #IF (@X=4) {X=0;#AB all}
- {#IF (@X=3) {X=0}
- #IF (@X=2) {X=0;#VAR SpellTarget %delnitem(SpellTarget,1);#VAR SpellList %delnitem(SpellList,1)}
- #IF (%item(@SpellList,1)="destinations") {X=1;destinations;#AB all}
- {#IF (%item(@SpellList,1)="vigil") {X=1;vig;#AB all}
- {#IF (%item(@SpellList,1)="astral perception") {X=1;ast;#AB all}
- {#IF (%item(@SpellList,1)="portal") {X=1;conjure portal to %item(@SpellTarget,1);#AB all}
- {#IF (%item(@SpellList,1)="bloodlust") {X=1;concentrate on awakening bloodlust within %item(@SpellTarget,1);#AB all}
- {#IF (%item(@SpellList,1)="glandulae augendae") {X=1;concentrate on replenishing the glands of %item(@SpellTarget,1);#AB all}
- #IF (%numitems(@SpellList)<>0) {X=2;cast %item(@SpellList,1) on %item(@SpellTarget,1)} {X=0}
- #IF (@X=0) {meditate}}}}}}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement