diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-08-31 00:35:08 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-08-31 00:35:08 -0300 |
commit | 4c5fa3f86c7db895dab7dee6dcda8eefafe33f4e (patch) | |
tree | f0425947965a935f610be7120b1d022f0bd19d05 /npc | |
parent | 562263c15c5d2f7176f36454dadc61cf1a4b2f53 (diff) | |
download | serverdata-4c5fa3f86c7db895dab7dee6dcda8eefafe33f4e.tar.gz serverdata-4c5fa3f86c7db895dab7dee6dcda8eefafe33f4e.tar.bz2 serverdata-4c5fa3f86c7db895dab7dee6dcda8eefafe33f4e.tar.xz serverdata-4c5fa3f86c7db895dab7dee6dcda8eefafe33f4e.zip |
Minimal retry control on Forgotten Arcs. It's starting to get ready to receive logic.
Diffstat (limited to 'npc')
-rw-r--r-- | npc/018-6-1/main.txt | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/npc/018-6-1/main.txt b/npc/018-6-1/main.txt index 89658dee9..5a1331aaf 100644 --- a/npc/018-6-1/main.txt +++ b/npc/018-6-1/main.txt @@ -85,9 +85,19 @@ OnInstanceInit: OnTouch: .@q=getq(LoFQuest_Barbara); + .@q2=getq2(LoFQuest_Barbara); + .@q3=getq3(LoFQuest_Barbara); if (.@q >= 1) { warp BarbaraInstCheck(0), 90, 91; - //warp BarbaraInstCheck(0), 90+any(-1, 1), 90+any(-1,1); + // Complete the first arc if possible + if (.@q == 1) { + setq1 LoFQuest_Barbara, 2; + setq3 LoFQuest_Barbara, 0; + } + // Update M0 NPCs based on quest state + if (.@q3 == 5) + enablenpc instance_npcname("#ToForgottenShrine", .@q2); + } else { Exception("ERROR, YOU SHOULD NOT BEEN SEEING THIS. 018-6-1.TFC"); } |