216 lines
4.6 KiB
Text
216 lines
4.6 KiB
Text
~~ Radiant Blood initiation quest
|
|
~~ Fill the quest-specific nav routes in the matching nav_*.af files.
|
|
~~ Expected nav binaries after build:
|
|
~~ - nav_radiantblood_ayesha
|
|
~~ - nav_radiantblood_catacombs
|
|
~~ - nav_radiantblood_key
|
|
~~ - nav_radiantblood_door
|
|
~~ - nav_radiantblood_shard
|
|
~~ - nav_radiantblood_return
|
|
|
|
STATE: {Default} ~~ {
|
|
IF: Death
|
|
DO: SetState {Death}
|
|
IF: ItemCountGE 1 {Corrupted Mana Shard}
|
|
DO: SetState {TurnInShard}
|
|
IF: ItemCountGE 1 {Slimy Key}
|
|
DO: SetState {GoDoor}
|
|
IF: Always
|
|
DO: DoAll
|
|
Chat {/ub opt set VTank.PatchExpressionEngine true}
|
|
SetState {GoAyesha}
|
|
~~ }
|
|
|
|
STATE: {GoAyesha} ~~ {
|
|
IF: Death
|
|
DO: SetState {Death}
|
|
IF: All
|
|
NavEmpty
|
|
SecsInStateGE 2
|
|
DO: DoAll
|
|
ClearWatchdog
|
|
Chat {/ub use Ayesha of the Radiant Blood}
|
|
SetState {WaitAyesha}
|
|
IF: Always
|
|
DO: DoAll
|
|
SetOpt {enablecombat} {false}
|
|
SetOpt {enablelooting} {false}
|
|
SetOpt {enablebuffing} {true}
|
|
SetOpt {enablenav} {true}
|
|
Chat {/vt nav load nav_radiantblood_ayesha}
|
|
SetWatchdog 10 300 {Stuck}
|
|
~~ }
|
|
|
|
STATE: {WaitAyesha} ~~ {
|
|
IF: Death
|
|
DO: SetState {Death}
|
|
IF: SecsInStateGE 8
|
|
DO: SetState {GoCatacombs}
|
|
~~ }
|
|
|
|
STATE: {GoCatacombs} ~~ {
|
|
IF: Death
|
|
DO: SetState {Death}
|
|
IF: All
|
|
NavEmpty
|
|
SecsInStateGE 2
|
|
DO: DoAll
|
|
ClearWatchdog
|
|
SetState {FindKey}
|
|
IF: Always
|
|
DO: DoAll
|
|
SetOpt {enablecombat} {false}
|
|
SetOpt {enablelooting} {false}
|
|
SetOpt {enablebuffing} {true}
|
|
SetOpt {enablenav} {true}
|
|
Chat {/vt nav load nav_radiantblood_catacombs}
|
|
SetWatchdog 10 900 {Stuck}
|
|
~~ }
|
|
|
|
STATE: {FindKey} ~~ {
|
|
IF: Death
|
|
DO: SetState {Death}
|
|
IF: ItemCountGE 1 {Slimy Key}
|
|
DO: SetState {GoDoor}
|
|
IF: All
|
|
NavEmpty
|
|
SecsInStateGE 2
|
|
DO: DoAll
|
|
ClearWatchdog
|
|
Chat {/ub usep Slimy Key}
|
|
SetState {WaitKeyPickup}
|
|
IF: Always
|
|
DO: DoAll
|
|
SetOpt {enablecombat} {true}
|
|
SetOpt {enablelooting} {true}
|
|
SetOpt {enablebuffing} {true}
|
|
SetOpt {enablenav} {true}
|
|
Chat {/vt nav load nav_radiantblood_key}
|
|
SetWatchdog 10 900 {Stuck}
|
|
~~ }
|
|
|
|
STATE: {WaitKeyPickup} ~~ {
|
|
IF: Death
|
|
DO: SetState {Death}
|
|
IF: ItemCountGE 1 {Slimy Key}
|
|
DO: SetState {GoDoor}
|
|
IF: SecsInStateGE 10
|
|
DO: SetState {FindKey}
|
|
~~ }
|
|
|
|
STATE: {GoDoor} ~~ {
|
|
IF: Death
|
|
DO: SetState {Death}
|
|
IF: All
|
|
NavEmpty
|
|
SecsInStateGE 2
|
|
DO: DoAll
|
|
ClearWatchdog
|
|
Chat {/ub usep Slimy Key on Door}
|
|
SetState {WaitDoor}
|
|
IF: Always
|
|
DO: DoAll
|
|
SetOpt {enablecombat} {true}
|
|
SetOpt {enablelooting} {false}
|
|
SetOpt {enablebuffing} {true}
|
|
SetOpt {enablenav} {true}
|
|
Chat {/vt nav load nav_radiantblood_door}
|
|
SetWatchdog 10 900 {Stuck}
|
|
~~ }
|
|
|
|
STATE: {WaitDoor} ~~ {
|
|
IF: Death
|
|
DO: SetState {Death}
|
|
IF: ChatMatch {unlocked}
|
|
DO: SetState {GetShard}
|
|
IF: SecsInStateGE 8
|
|
DO: DoAll
|
|
Chat {/ub usep Slimy Key on Door}
|
|
SetState {WaitDoor}
|
|
~~ }
|
|
|
|
STATE: {GetShard} ~~ {
|
|
IF: Death
|
|
DO: SetState {Death}
|
|
IF: ItemCountGE 1 {Corrupted Mana Shard}
|
|
DO: SetState {TurnInShard}
|
|
IF: All
|
|
NavEmpty
|
|
SecsInStateGE 2
|
|
DO: DoAll
|
|
ClearWatchdog
|
|
Chat {/ub usep Corrupted Mana Shard}
|
|
SetState {WaitShard}
|
|
IF: Always
|
|
DO: DoAll
|
|
SetOpt {enablecombat} {true}
|
|
SetOpt {enablelooting} {true}
|
|
SetOpt {enablebuffing} {true}
|
|
SetOpt {enablenav} {true}
|
|
Chat {/vt nav load nav_radiantblood_shard}
|
|
SetWatchdog 10 900 {Stuck}
|
|
~~ }
|
|
|
|
STATE: {WaitShard} ~~ {
|
|
IF: Death
|
|
DO: SetState {Death}
|
|
IF: ItemCountGE 1 {Corrupted Mana Shard}
|
|
DO: SetState {TurnInShard}
|
|
IF: SecsInStateGE 10
|
|
DO: SetState {GetShard}
|
|
~~ }
|
|
|
|
STATE: {TurnInShard} ~~ {
|
|
IF: Death
|
|
DO: SetState {Death}
|
|
IF: All
|
|
NavEmpty
|
|
SecsInStateGE 2
|
|
DO: DoAll
|
|
ClearWatchdog
|
|
Chat {/ub givep Corrupted Mana Shard to Ayesha of the Radiant Blood}
|
|
Chat {/ub prepclick yes 3}
|
|
SetState {WaitTurnIn}
|
|
IF: Always
|
|
DO: DoAll
|
|
SetOpt {enablecombat} {false}
|
|
SetOpt {enablelooting} {false}
|
|
SetOpt {enablebuffing} {true}
|
|
SetOpt {enablenav} {true}
|
|
Chat {/vt nav load nav_radiantblood_return}
|
|
SetWatchdog 10 1200 {Stuck}
|
|
~~ }
|
|
|
|
STATE: {WaitTurnIn} ~~ {
|
|
IF: Death
|
|
DO: SetState {Death}
|
|
IF: ItemCountLE 0 {Corrupted Mana Shard}
|
|
DO: SetState {Done}
|
|
IF: ChatMatch {Radiant Blood}
|
|
DO: SetState {Done}
|
|
IF: SecsInStateGE 15
|
|
DO: SetState {TurnInShard}
|
|
~~ }
|
|
|
|
STATE: {Done} ~~ {
|
|
IF: Always
|
|
DO: DoAll
|
|
DoExpr {echo[`Radiant Blood initiation complete.`,1]}
|
|
Chat {/a [radiantblood] quest complete}
|
|
~~ }
|
|
|
|
STATE: {Stuck} ~~ {
|
|
IF: Death
|
|
DO: SetState {Death}
|
|
IF: Always
|
|
DO: DoAll
|
|
ClearWatchdog
|
|
Chat {/ub face}
|
|
DoExpr {echo[`Radiant Blood meta stuck, restarting.`,1]}
|
|
SetState {Default}
|
|
~~ }
|
|
|
|
STATE: {Death} ~~ {
|
|
IF: ExitPortal
|
|
DO: SetState {Default}
|
|
~~ }
|