summaryrefslogtreecommitdiff
path: root/npc/tulimshar
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2006-01-07 12:59:20 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2006-01-07 12:59:20 +0000
commit48b14d72b66b9c6dcd8a4f052a6804775fd8f648 (patch)
treedd6782fb6ebd5be15dcd588776ede389a19d9728 /npc/tulimshar
parentc90d05c31208ce407ece644dfc71cfe7a7a403a6 (diff)
downloadserverdata-48b14d72b66b9c6dcd8a4f052a6804775fd8f648.tar.gz
serverdata-48b14d72b66b9c6dcd8a4f052a6804775fd8f648.tar.bz2
serverdata-48b14d72b66b9c6dcd8a4f052a6804775fd8f648.tar.xz
serverdata-48b14d72b66b9c6dcd8a4f052a6804775fd8f648.zip
Applyed monster patch by xand. Let's hope this fixes monster spawning.
Diffstat (limited to 'npc/tulimshar')
-rw-r--r--npc/tulimshar/monster_guide.txt90
-rw-r--r--npc/tulimshar/monsters_3.txt25
2 files changed, 25 insertions, 90 deletions
diff --git a/npc/tulimshar/monster_guide.txt b/npc/tulimshar/monster_guide.txt
index c3b1836f..002f7d7c 100644
--- a/npc/tulimshar/monster_guide.txt
+++ b/npc/tulimshar/monster_guide.txt
@@ -1,91 +1,3 @@
-new_3-1.gat,53,185,0 script ConquestMob0 -1,{
-OnInit:
-// all monsters ingame by 31.Jul 2005 sorted by map, monsterID
-areamonster "new_1-1.gat",15,17,105,103,"RedScorpion",1004, 1,"ConquestMob-new_1-1::OnGuardianDied1004";
-areamonster "new_1-1.gat",15,17,105,103,"GreenSlime",1005, 50,"ConquestMob-new_1-1::OnGuardianDied1005";
-areamonster "new_1-1.gat",15,17,105,103,"GiantMaggot",1006, 30,"ConquestMob-new_1-1::OnGuardianDied1006";
-areamonster "new_2-1.gat",31,31,90,97,"RedSlime",1008, 24,"ConquestMob-new_2-1::OnGuardianDied1008";
-areamonster "new_2-1.gat",53,34,96,36,"RedSlime",1008, 6,"ConquestMob-new_2-1::OnGuardianDied1008b";
-areamonster "new_2-1.gat",31,31,90,97,"BlackScorpion",1009, 15,"ConquestMob-new_2-1::OnGuardianDied1009";
-areamonster "new_2-1.gat",84,52,93,91,"BlackScorpion",1009, 5,"ConquestMob-new_2-1::OnGuardianDied1009a";
-areamonster "new_3-1.gat",22,42,142,79,"Maggot",1002, 35,"ConquestMob-new_3-1::OnGuardianDied1002";
-areamonster "new_3-1.gat",22,42,142,79,"Scorpion",1003, 10,"ConquestMob-new_3-1::OnGuardianDied1003";
-areamonster "new_5-1.gat",32,32,90,100,"YellowSlime",1007, 20,"ConquestMob-new_5-1::OnGuardianDied1007";
-areamonster "new_5-1.gat",88,33,98,42,"YellowSlime",1007, 5,"ConquestMob-new_5-1::OnGuardianDied1008a";
-areamonster "new_5-1.gat",32,32,90,100,"Spider",1012, 8,"ConquestMob-new_5-1::OnGuardianDied1012";
-areamonster "new_5-1.gat",81,32,85,38,"Spider",1012, 2,"ConquestMob-new_5-1::OnGuardianDied1012a";
-areamonster "new_7-1.gat",22,27,176,174,"Snake",1010, 15,"ConquestMob-new_7-1::OnGuardianDied1010";
-break;
-}
-new_1-1.gat,53,185,0 script ConquestMob-new_1-1 -1,{
-// event when mob dies
-OnGuardianDied1004:
- if (MPQUEST == 1) set Mobpt,Mobpt+42;
- areamonster "new_1-1.gat",15,17,105,103,"RedScorpion",1004, 1,"ConquestMob-new_1-1::OnGuardianDied1004";
- break;
-OnGuardianDied1005:
- if (MPQUEST == 1) set Mobpt,Mobpt+5;
- areamonster "new_1-1.gat",15,17,105,103,"GreenSlime",1005, 1,"ConquestMob-new_1-1::OnGuardianDied1005";
- break;
-OnGuardianDied1006:
- if (MPQUEST == 1) set Mobpt,Mobpt+14;
- areamonster "new_1-1.gat",15,17,105,103,"GiantMaggot",1006, 1,"ConquestMob-new_1-1::OnGuardianDied1006";
- break;
-}
-new_2-1.gat,53,185,0 script ConquestMob-new_2-1 -1,{
-OnGuardianDied1008:
- if (MPQUEST == 1) set Mobpt,Mobpt+18;
- areamonster "new_2-1.gat",31,31,90,97,"RedSlime",1008, 1,"ConquestMob-new_2-1::OnGuardianDied1008";
- break;
-OnGuardianDied1008b:
- if (MPQUEST == 1) set Mobpt,Mobpt+18;
- areamonster "new_2-1.gat",53,34,96,36,"RedSlime",1008, 1,"ConquestMob-new_2-1::OnGuardianDied1008b";
- break;
-OnGuardianDied1009:
- if (MPQUEST == 1) set Mobpt,Mobpt+45;
- areamonster "new_2-1.gat",31,31,90,97,"BlackScorpion",1009, 1,"ConquestMob-new_2-1::OnGuardianDied1009";
- break;
-OnGuardianDied1009a:
- if (MPQUEST == 1) set Mobpt,Mobpt+45;
- areamonster "new_2-1.gat",84,52,93,91,"BlackScorpion",1009, 1,"ConquestMob-new_2-1::OnGuardianDied1009a";
- break;
-}
-new_3-1.gat,53,185,0 script ConquestMob-new_3-1 -1,{
-OnGuardianDied1002:
- if (MPQUEST == 1) set Mobpt,Mobpt+1;
- areamonster "new_3-1.gat",22,42,142,79,"Maggot",1002, 1,"ConquestMob-new_3-1::OnGuardianDied1002";
- break;
-OnGuardianDied1003:
- if (MPQUEST == 1) set Mobpt,Mobpt+2;
- areamonster "new_3-1.gat",22,42,142,79,"Scorpion",1003, 1,"ConquestMob-new_3-1::OnGuardianDied1003";
- break;
-}
-new_5-1.gat,53,185,0 script ConquestMob-new_5-1 -1,{
-OnGuardianDied1007:
- if (MPQUEST == 1) set Mobpt,Mobpt+9;
- areamonster "new_5-1.gat",32,32,90,100,"YellowSlime",1007, 1,"ConquestMob-new_5-1::OnGuardianDied1007";
- break;
-// 3 Red Slimes guard treasure
-OnGuardianDied1008a:
- if (MPQUEST == 1) set Mobpt,Mobpt+9;
- areamonster "new_5-1.gat",88,33,98,42,"YellowSlime",1007, 1,"ConquestMob-new_5-1::OnGuardianDied1008a";
- break;
-OnGuardianDied1012:
- if (MPQUEST == 1) set Mobpt,Mobpt+56;
- areamonster "new_5-1.gat",32,32,90,100,"Spider",1012, 1,"ConquestMob-new_5-1::OnGuardianDied1012";
- break;
-// 2 spiders guard entrance to treasure
-OnGuardianDied1012a:
- if (MPQUEST == 1) set Mobpt,Mobpt+56;
- areamonster "new_5-1.gat",81,32,85,38,"Spider",1012, 1,"ConquestMob-new_5-1::OnGuardianDied1012a";
- break;
-}
-new_7-1.gat,53,185,0 script ConquestMob-new_7-1 -1,{
-OnGuardianDied1010:
- if (MPQUEST == 1) set Mobpt,Mobpt+51;
- areamonster "new_7-1.gat",22,27,176,174,"Snake",1010, 1,"ConquestMob-new_7-1::OnGuardianDied1010";
- break;
-}
new_3-1.gat,46,66,0 script MonsterGuide 102,{
if(MPQUEST == 0) goto Register;
mes "[Monster Guide]";
@@ -119,8 +31,6 @@ Register:
mes "[Monster Guide]";
mes "So whaddya say, sign up wont u?";
close;
-
-
}
diff --git a/npc/tulimshar/monsters_3.txt b/npc/tulimshar/monsters_3.txt
new file mode 100644
index 00000000..d7d30ae8
--- /dev/null
+++ b/npc/tulimshar/monsters_3.txt
@@ -0,0 +1,25 @@
+// Map: new_3-1
+// This is Tulimshar the city - southern Part with market and casino/inn
+//
+// ALWAYS keep a backup file before edit (experience :)
+// The last param is the Event on Mobdeath
+//
+
+new_3-1.gat,0,0,0,0 monster Maggot 1002,20,2000,0,ConquestMob3::OnMaggotDead
+new_3-1.gat,0,0,0,0 monster Scorpion 1003,5,2500,0,ConquestMob3::OnScorpionDead
+
+new_3-1.gat,0,0,0 script ConquestMob3 -1,{
+// id 1002 = Maggot
+OnMaggotDead:
+ if (MPQUEST == 1) set Mobpt,Mobpt+1;
+ break;
+
+// id 1003 = Scorpion
+OnScorpionDead:
+ if (MPQUEST == 1) set Mobpt,Mobpt+2;
+ break;
+end;
+}
+
+
+