summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-12 15:23:45 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-12 15:23:45 -0300
commit25202506530bdf201d322bccecb2d16fbff98327 (patch)
treed1b2555fb5b8a32228a6929d30719e2320651063
parent34a75ab04abe8358e8844462f69050f894ca64ea (diff)
downloadserverdata-25202506530bdf201d322bccecb2d16fbff98327.tar.gz
serverdata-25202506530bdf201d322bccecb2d16fbff98327.tar.bz2
serverdata-25202506530bdf201d322bccecb2d16fbff98327.tar.xz
serverdata-25202506530bdf201d322bccecb2d16fbff98327.zip
Move this to the right place, demand this quest which cannot be complete yet
-rw-r--r--npc/003-1/lieutenantdausen.txt22
-rw-r--r--npc/functions/util.txt6
2 files changed, 15 insertions, 13 deletions
diff --git a/npc/003-1/lieutenantdausen.txt b/npc/003-1/lieutenantdausen.txt
index 6e04445ab..e5878df54 100644
--- a/npc/003-1/lieutenantdausen.txt
+++ b/npc/003-1/lieutenantdausen.txt
@@ -433,6 +433,16 @@ OnTimer5000:
end;
OnInit:
+ // Check items.xml for info about this.
+ .@npcId = getnpcid(.name$);
+ setunitdata(.@npcId, UDT_HEADTOP, Bull);
+ setunitdata(.@npcId, UDT_HEADMIDDLE, LieutenantArmor);
+ setunitdata(.@npcId, UDT_HEADBOTTOM, RaidTrousers);
+ setunitdata(.@npcId, UDT_SHIELD, LousyMoccasins); // TODO FIXME: Display Boots
+ setunitdata(.@npcId, UDT_WEAPON, Backsword);
+ setunitdata(.@npcId, UDT_HAIRSTYLE, 7);
+ setunitdata(.@npcId, UDT_HAIRCOLOR, 17);
+
.siegetime=0;
.sex = G_MALE;
.distance = 4;
@@ -550,18 +560,6 @@ OnTimer1000:
domovestep;
OnInit:
-
- // Check items.xml for info about this.
- // NOTE: Why Dausen item list is on Philip...?
- .@npcId = getnpcid("Lieutenant Dausen");
- setunitdata(.@npcId, UDT_HEADTOP, Bull);
- setunitdata(.@npcId, UDT_HEADMIDDLE, LieutenantArmor);
- setunitdata(.@npcId, UDT_HEADBOTTOM, RaidTrousers);
- setunitdata(.@npcId, UDT_SHIELD, LousyMoccasins); // TODO FIXME: Display Boots
- setunitdata(.@npcId, UDT_WEAPON, Backsword);
- setunitdata(.@npcId, UDT_HAIRSTYLE, 7);
- setunitdata(.@npcId, UDT_HAIRCOLOR, 17);
-
initpath "move", 98, 104,
"dir", DOWN, 0,
"wait", 60, 0,
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index c83f040b0..dc893403f 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -156,6 +156,10 @@ function script reputation {
if (getq(TulimsharQuest_WaterForGuard) >= 3)
.@nr=.@nr+1;
+ // Dausen Quest II (+1 rep)
+ if (getq(TulimsharQuest_MobTutorial) >= 8)
+ .@nr=.@nr+1;
+
// Swezanne Quest (+1 rep)
if (getq(TulimsharQuest_Swezanne) >= 1)
.@nr=.@nr+1;
@@ -211,7 +215,7 @@ function script reputation {
.@nr=.@nr+1;
// TULIMSHAR Magical Forumula
- .@nr=.@nr*100/15;
+ .@nr=.@nr*100/16;