diff options
author | Reid Yaro <reidyaro@gmail.com> | 2013-02-03 19:22:05 +0000 |
---|---|---|
committer | Reid Yaro <reidyaro@gmail.com> | 2013-02-03 19:22:33 +0000 |
commit | 39e35ee65f2f635b50ff7ef7055cb4cfb98adb86 (patch) | |
tree | 1d12fdbd2d65f5c2b8b515bb2da622720f3286a9 /npc | |
parent | 56cd72bcb879001bac2ad38f5bbec713f0875d83 (diff) | |
download | serverdata-39e35ee65f2f635b50ff7ef7055cb4cfb98adb86.tar.gz serverdata-39e35ee65f2f635b50ff7ef7055cb4cfb98adb86.tar.bz2 serverdata-39e35ee65f2f635b50ff7ef7055cb4cfb98adb86.tar.xz serverdata-39e35ee65f2f635b50ff7ef7055cb4cfb98adb86.zip |
Add a missing if on arpan script.
Diffstat (limited to 'npc')
-rw-r--r-- | npc/000-2-1/arpan.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/npc/000-2-1/arpan.txt b/npc/000-2-1/arpan.txt index c235a139..1d70f71e 100644 --- a/npc/000-2-1/arpan.txt +++ b/npc/000-2-1/arpan.txt @@ -35,9 +35,12 @@ set @q, getq(ShipQuests_Arpan); if (@q > 2) close; if (@q == 2 && getequipid(equip_torso) == 1300 && getequipid(equip_legs) == 2200) goto l_EquipDone; + if (@q == 2) goto l_Equip; if (@q == 1) goto l_GetCloth; doevent "Magic Arpan::OnClothNotTaken"; + +l_Equip: warp "000-2-1.gat", 49, 32; doevent "Magic Arpan::OnEquip"; @@ -60,14 +63,20 @@ l_EquipDone: set @q, getq(ShipQuests_Arpan); if (@q > 2) close; if (@q == 2 && getequipid(equip_torso) == 1300 && getequipid(equip_legs) == 2200) goto l_EquipDone; + if (@q == 2) goto l_Equip; if (@q == 1) goto l_GetCloth; doevent "Magic Arpan::OnClothNotTaken"; + +l_Equip: warp "000-2-1.gat", 55, 32; doevent "Magic Arpan::OnEquip"; close; +l_Testtesttest: + mes "test"; + l_GetCloth: warp "000-2-1.gat", 55, 32; doevent "Magic Arpan::OnClothNotTaken"; |