diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-07-29 15:56:42 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-07-29 15:56:42 -0300 |
commit | 1a4d02133a27b4b3608025f4dea67f7b3ebccc72 (patch) | |
tree | 81d926f7b3a18fe62e8e37a787ddceebc3700115 /npc/002-1/dan.txt | |
parent | 76939330e98f30b52530bef2cd77228169a60936 (diff) | |
download | serverdata-1a4d02133a27b4b3608025f4dea67f7b3ebccc72.tar.gz serverdata-1a4d02133a27b4b3608025f4dea67f7b3ebccc72.tar.bz2 serverdata-1a4d02133a27b4b3608025f4dea67f7b3ebccc72.tar.xz serverdata-1a4d02133a27b4b3608025f4dea67f7b3ebccc72.zip |
Bugs at Dan
Diffstat (limited to 'npc/002-1/dan.txt')
-rw-r--r-- | npc/002-1/dan.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/npc/002-1/dan.txt b/npc/002-1/dan.txt index 179deab5a..15dddf6e0 100644 --- a/npc/002-1/dan.txt +++ b/npc/002-1/dan.txt @@ -89,6 +89,8 @@ OnInit: // TODO this code below is bad and should be entirely rewritten 002-1,0,0,0 script PiouSpwn NPC_HIDDEN,{ function DanCheck { + if (getq(ShipQuests_Dan) != 1) + end; .@t=getq2(ShipQuests_Dan); if (.@t+1 >= 12) setq ShipQuests_Dan, 2, 0; if (.@t+1 < 12) setq ShipQuests_Dan, 1, .@t+1; @@ -121,7 +123,7 @@ OnRespawnPiou4: OnRespawnPiou5: if (getq(ShipQuests_Dan) == 1) DanCheck(); sleep 60000; - areamonster(instance_mapname("002-3"), 31, 26, 40, 31, "Piou", 1002, 1, instance_npcname("PiouSpwn")+"::OnRespawnPiou4"); + areamonster(instance_mapname("002-3"), 31, 26, 40, 31, "Piou", 1002, 1, instance_npcname("PiouSpwn")+"::OnRespawnPiou5"); end; OnInstanceInit: |