From 48e0520681a38716d69ea1be0b831f0c71f826fc Mon Sep 17 00:00:00 2001 From: Wombat Date: Fri, 20 Aug 2010 00:14:57 -0400 Subject: Small fixes in scripts, added new monster mob points guards.txt now has "aggravate" spell and bernard.txt fix added new monsters to mob_points.txt --- npc/001-1_Tulimshar/bernard.txt | 6 +++--- npc/001-1_Tulimshar/guards.txt | 10 ++++++++++ npc/002-3_Desert_mines/nathan.txt | 5 ----- npc/functions/mob_points.txt | 13 +++++++++---- 4 files changed, 22 insertions(+), 12 deletions(-) diff --git a/npc/001-1_Tulimshar/bernard.txt b/npc/001-1_Tulimshar/bernard.txt index 25aad835..efef3167 100755 --- a/npc/001-1_Tulimshar/bernard.txt +++ b/npc/001-1_Tulimshar/bernard.txt @@ -56,7 +56,7 @@ L_Progress: mes "\"Perfect! It's perfect !"; mes "You brought me my Roasted Maggot! Here, have some cake.\""; getinventorylist; - if ((@inventorylist_count - (countitem("RoastedMMaggot") == 1) > 99 - (countitem("CherryCake") == 0) )) goto L_TooMany; + if (@inventorylist_count - (countitem("RoastedMaggot") == 1) > 99 - (countitem("CherryCake") == 0) ) goto L_TooMany; delitem "RoastedMaggot", 1; getexp 100, 0; getitem "CherryCake", 5; @@ -91,9 +91,9 @@ L_NotEnough1: L_Done1: mes "[Bernard]"; mes "\"Thank you so much !\""; - mes "\"But something is missing to make the soup creamy !\""; + mes "\"But something is missing to make the soup creamy!\""; next; - mes "\"I need 3 [Maggot Slime] for the soup.\""; + mes "\"I need 3 [Maggot Slime]s for the soup.\""; mes "\"Bring me them. I'll give you something if you do.\""; set TMW_Quest,3; close; diff --git a/npc/001-1_Tulimshar/guards.txt b/npc/001-1_Tulimshar/guards.txt index ce7556a7..1cffa515 100644 --- a/npc/001-1_Tulimshar/guards.txt +++ b/npc/001-1_Tulimshar/guards.txt @@ -66,6 +66,9 @@ L_disaster: } 001-1.gat,40,79,0 script Ryan 104,{ + + if (getskilllv(SKILL_MAGIC)) goto L_message; + mes "[Ryan the Town Guard]"; mes "ZzzZzzZ..."; next; @@ -73,4 +76,11 @@ L_disaster: mes "\"Hmmmmmmh...?"; mes "Oh, I wasn't sleeping, I was just resting my eyes!\""; close; + +L_message: + mes "[Ryan the Town Guard]"; + mes "\" Watch out for Black Scorpions. They are extremely dangerous.\""; + next; + mes "\"Whenever one approaches the town gate, Ekinu has me run shouting '" + getspellinvocation("aggravate") + "'. Somehow this distracts it so Ekinu can kill it.\""; + close; } diff --git a/npc/002-3_Desert_mines/nathan.txt b/npc/002-3_Desert_mines/nathan.txt index a9f9c377..17a57872 100644 --- a/npc/002-3_Desert_mines/nathan.txt +++ b/npc/002-3_Desert_mines/nathan.txt @@ -2,7 +2,6 @@ 002-3.gat,35,35,6 script Nathan 109,{ - if (getskilllv(SKILL_MAGIC)) goto L_message; if (TMW_Quest >= 32) goto L_Nathan_Complete; if (TMW_Quest == 31) goto L_Nathan_UGQ_Naem; if (TMW_Quest == 30) goto L_Nathan_Help_Cool; @@ -21,10 +20,6 @@ mes "\"It's very dangerous in here. We had a big earthquake here just recently, too... so be careful!\""; close; -L_message: - mes "\"We found a good way to carry our ores out of here safely: one of us always runs ahead shouting '" + getspellinvocation("aggravate") + "'. Somehow this seems to distract the monsters.\""; - close; - L_Nathan_Okay: set TMW_Quest, 21; mes "[Nathan]"; diff --git a/npc/functions/mob_points.txt b/npc/functions/mob_points.txt index 1683e53b..c594fae2 100644 --- a/npc/functions/mob_points.txt +++ b/npc/functions/mob_points.txt @@ -53,10 +53,15 @@ function script MobPoints { 5, // Duck 5, // Bee 10, // Larvespa - 45, // Vespa - 200, // Hivespa - 30, // Froad - 100, // Troll + 45, // Vespa + 200, // Hivespa + 30, // Froad + 100, // Troll + 2, // Cave Maggot + 3, // Angry Scorpion + 5, // Ice Goblin + 8, // Archant + 36, // Giant Cave Maggot // Add more here 0; // END -- cgit v1.2.3-60-g2f50