diff options
-rw-r--r-- | npc/003-1/lieutenantdausen.txt | 22 | ||||
-rw-r--r-- | npc/functions/util.txt | 6 |
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; |