diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-08-08 02:41:58 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-08-08 02:41:58 -0300 |
commit | a2cc4b71ff4c3004c5a701866f7cde0d7e59d233 (patch) | |
tree | 55c933fac0866bcf407348b874cdd16ebc92983e | |
parent | abdd5ab9665f6750b4a49263e072a5f3d9162e80 (diff) | |
download | serverdata-a2cc4b71ff4c3004c5a701866f7cde0d7e59d233.tar.gz serverdata-a2cc4b71ff4c3004c5a701866f7cde0d7e59d233.tar.bz2 serverdata-a2cc4b71ff4c3004c5a701866f7cde0d7e59d233.tar.xz serverdata-a2cc4b71ff4c3004c5a701866f7cde0d7e59d233.zip |
Optimize arpan script, I can actually guess when the timer is enabled with a simple trick.
Also, change second timer to 1m30s - are you even reading what I'm writing? %%e
-rw-r--r-- | npc/002-1/arpan.txt | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/npc/002-1/arpan.txt b/npc/002-1/arpan.txt index 8171cef8a..e0ff3f255 100644 --- a/npc/002-1/arpan.txt +++ b/npc/002-1/arpan.txt @@ -96,18 +96,17 @@ L_EquipDone: .@q = getq(ShipQuests_Arpan); .@q_julia = getq(ShipQuests_Julia); if (.@q == 2 && getequipid(equip_torso) == 1300 && getequipid(equip_legs) == 2200) goto L_EquipDone; - if (gettimer(0, getcharid(3), "Magic Arpan::OnSlow")) - deltimer("Magic Arpan::OnSlow"); OnTalk: showavatar NPC_MAGIC_ARPAN; mesn; if (.@q > 0) goto L_Menu; + setq ShipQuests_Arpan, 1; + deltimer("Magic Arpan::OnSlow"); mesq lg("Yeye, you are really lucky to be alive. You are in good enough shape for walking, do you remember what happened?"); next; - setq ShipQuests_Arpan, 1; menu lg("I only remember I was rescued by you."), L_Story, @@ -272,7 +271,7 @@ OnSlow: next; mesn; mesc l("Here, come talk to me, the Magic Arpan! I'll help you get dressed."), 1; - addtimer(45000,"Magic Arpan::OnSlow"); + addtimer(90000,"Magic Arpan::OnSlow"); close; OnInit: |