summaryrefslogtreecommitdiff
path: root/npc/051-1/desertmonsters.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/051-1/desertmonsters.txt')
-rw-r--r--npc/051-1/desertmonsters.txt153
1 files changed, 153 insertions, 0 deletions
diff --git a/npc/051-1/desertmonsters.txt b/npc/051-1/desertmonsters.txt
new file mode 100644
index 00000000..9424d63e
--- /dev/null
+++ b/npc/051-1/desertmonsters.txt
@@ -0,0 +1,153 @@
+051-1,134,36,67,49 monster SoulSnake 1096,12,100000,30000,IlliaDMobs051-1::On1096
+
+051-1,0,0,0 script IlliaDMobs051-1 NPC32767,{
+ end;
+
+On1096:
+ if (rand(4) == 0 && $@illia_progress == 3 && $@illia_level_3_progress == 1)
+ getitem SealedSoul, 1;
+ fix_mobkill(Snake);
+ end;
+
+}
+
+
+051-1,142,38,0 script #SoulEaters0Trigger NPC32767,3,3,{
+ if ($@illia_progress != 3 || $@illia_level_3_progress != 1)
+ end;
+ if ($@SoulEaters0_count > 0)
+ end;
+ donpcevent "#SoulEaters0::OnSpawn";
+ end;
+}
+
+051-1,142,38,0 script #SoulEaters0 NPC32767,{
+ end;
+
+OnSpawn:
+ $@SoulEaters0_count = 5;
+ areamonster "051-1", 139, 34, 145, 41, "", 1097, $@SoulEaters0_count, "#SoulEaters0::OnSoulEaterDeath";
+ end;
+
+OnSoulEaterDeath:
+ $@SoulEaters0_count = $@SoulEaters0_count - 1;
+ if ($@illia_progress != 3 || $@illia_level_3_progress != 1)
+ end;
+ if (countitem(SealedSoul) == 0)
+ end;
+ delitem SealedSoul, countitem(SealedSoul);
+ message strcharinfo(0), "The Soul Eater feeds on the Sealed Souls you are carrying.";
+ end;
+}
+
+051-1,134,16,0 script #SoulEaters1Trigger NPC32767,9,2,{
+ if ($@illia_progress != 3 || $@illia_level_3_progress != 1)
+ end;
+ if ($@SoulEaters1_count > 0)
+ end;
+ donpcevent "#SoulEaters1::OnSpawn";
+ end;
+}
+
+051-1,134,16,0 script #SoulEaters1 NPC32767,{
+ end;
+
+OnSpawn:
+ $@SoulEaters1_count = 7;
+ areamonster "051-1", 125, 14, 143, 18, "", 1097, $@SoulEaters1_count, "#SoulEaters1::OnSoulEaterDeath";
+ end;
+
+OnSoulEaterDeath:
+ $@SoulEaters1_count = $@SoulEaters1_count - 1;
+ if ($@illia_progress != 3 || $@illia_level_3_progress != 1)
+ end;
+ if (countitem(SealedSoul) == 0)
+ end;
+ delitem SealedSoul, countitem(SealedSoul);
+ message strcharinfo(0), "The Soul Eater feeds on the Sealed Souls you are carrying.";
+ end;
+}
+
+051-1,137,55,0 script #SoulEaters2Trigger NPC32767,5,4,{
+ if ($@illia_progress != 3 || $@illia_level_3_progress != 1)
+ end;
+ if ($@SoulEaters2_count > 0)
+ end;
+ donpcevent "#SoulEaters2::OnSpawn";
+ end;
+}
+
+051-1,137,55,0 script #SoulEaters2 NPC32767,{
+ end;
+
+OnSpawn:
+ $@SoulEaters2_count = 4;
+ areamonster "051-1", 134, 54, 139, 58, "", 1097, $@SoulEaters2_count, "#SoulEaters2::OnSoulEaterDeath";
+ end;
+
+OnSoulEaterDeath:
+ $@SoulEaters2_count = $@SoulEaters2_count - 1;
+ if ($@illia_progress != 3 || $@illia_level_3_progress != 1)
+ end;
+ if (countitem(SealedSoul) == 0)
+ end;
+ delitem SealedSoul, countitem(SealedSoul);
+ message strcharinfo(0), "The Soul Eater feeds on the Sealed Souls you are carrying.";
+ end;
+}
+
+051-1,155,35,0 script #SoulEaters3Trigger NPC32767,4,7,{
+ if ($@illia_progress != 3 || $@illia_level_3_progress != 1)
+ end;
+ if ($@SoulEaters3_count > 0)
+ end;
+ donpcevent "#SoulEaters3::OnSpawn";
+ end;
+}
+
+051-1,155,35,0 script #SoulEaters3 NPC32767,{
+ end;
+
+OnSpawn:
+ $@SoulEaters3_count = 4;
+ areamonster "051-1", 151, 29, 160, 45, "", 1097, $@SoulEaters3_count, "#SoulEaters3::OnSoulEaterDeath";
+ end;
+
+OnSoulEaterDeath:
+ $@SoulEaters3_count = $@SoulEaters3_count - 1;
+ if ($@illia_progress != 3 || $@illia_level_3_progress != 1)
+ end;
+ if (countitem(SealedSoul) == 0)
+ end;
+ delitem SealedSoul, countitem(SealedSoul);
+ message strcharinfo(0), "The Soul Eater feeds on the Sealed Souls you are carrying.";
+ end;
+}
+
+051-1,120,38,0 script #SoulEaters4Trigger NPC32767,6,9,{
+ if ($@illia_progress != 3 || $@illia_level_3_progress != 1)
+ end;
+ if ($@SoulEaters4_count > 0)
+ end;
+ donpcevent "#SoulEaters4::OnSpawn";
+ end;
+}
+
+051-1,120,38,0 script #SoulEaters4 NPC32767,{
+ end;
+
+OnSpawn:
+ $@SoulEaters4_count = 4;
+ areamonster "051-1", 116, 29, 127, 50, "", 1097, $@SoulEaters4_count, "#SoulEaters4::OnSoulEaterDeath";
+ end;
+
+OnSoulEaterDeath:
+ $@SoulEaters4_count = $@SoulEaters4_count - 1;
+ if ($@illia_progress != 3 || $@illia_level_3_progress != 1)
+ end;
+ if (countitem(SealedSoul) == 0)
+ end;
+ delitem SealedSoul, countitem(SealedSoul);
+ message strcharinfo(0), "The Soul Eater feeds on the Sealed Souls you are carrying.";
+ end;
+}