summaryrefslogtreecommitdiff
path: root/npc/003-1/lieutenantdausen.txt
diff options
context:
space:
mode:
authorjesusalva <cpntb1@ymail.com>2018-02-14 08:33:00 -0200
committerjesusalva <cpntb1@ymail.com>2018-02-14 08:33:00 -0200
commit94e5167aec9df772eb04140f93ddc9155ba62416 (patch)
treeb22886914e079426675905719b2675904379c332 /npc/003-1/lieutenantdausen.txt
parentbd449c9bb1cebda779d503ab5004038bd9b69642 (diff)
downloadserverdata-94e5167aec9df772eb04140f93ddc9155ba62416.tar.gz
serverdata-94e5167aec9df772eb04140f93ddc9155ba62416.tar.bz2
serverdata-94e5167aec9df772eb04140f93ddc9155ba62416.tar.xz
serverdata-94e5167aec9df772eb04140f93ddc9155ba62416.zip
Prevent infinite XP from Dausen, but this is a weird bug and fix is temporary.
Diffstat (limited to 'npc/003-1/lieutenantdausen.txt')
-rw-r--r--npc/003-1/lieutenantdausen.txt11
1 files changed, 8 insertions, 3 deletions
diff --git a/npc/003-1/lieutenantdausen.txt b/npc/003-1/lieutenantdausen.txt
index 7e3e1b5aa..63bd9b426 100644
--- a/npc/003-1/lieutenantdausen.txt
+++ b/npc/003-1/lieutenantdausen.txt
@@ -14,7 +14,7 @@
003-1,111,84,0 script Lieutenant Dausen NPC_PLAYER,{
- function quest_findAllKids
+ function quest_waterForGuard
{
setq TulimsharQuest_WaterForGuard, 1;
speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
@@ -23,6 +23,10 @@
}
.@has = getq(TulimsharQuest_WaterForGuard);
+ if (.@has > 1) {
+ npctalk3 l("ERROR: Quest state is @@, should be 0 or 1!", .@has);
+ .@has=3;
+ }
if (.@has == 0)
{
speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
@@ -36,7 +40,7 @@
switch (@menu)
{
case 1:
- quest_findAllKids;
+ quest_waterForGuard;
break;
}
} while (@menu != 2);
@@ -183,9 +187,10 @@ OnInit:
end;
}
003-1,58,100,0 script Guard Popaul NPC_GUARD1,{
+ legiontalk;
if (getq(CandorQuest_HAS) == 1)
{
- //CheckEnfant(); // FIXME and everywhere else: Missing Function
+ //CheckGuard(); // TODO: TBD
}
end;