summaryrefslogtreecommitdiff
path: root/npc/014-2-2/valia.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/014-2-2/valia.txt')
-rw-r--r--npc/014-2-2/valia.txt36
1 files changed, 36 insertions, 0 deletions
diff --git a/npc/014-2-2/valia.txt b/npc/014-2-2/valia.txt
index 2a66433b3..d4c886d2b 100644
--- a/npc/014-2-2/valia.txt
+++ b/npc/014-2-2/valia.txt
@@ -38,6 +38,15 @@ function script GeminiKill {
case 3: // Has runestone
break;
case 4: // Desert unlocked, but no clue on what to do
+ case 5: // Desert unlocked, cutscene over
+ if (killedrid == CaveSnake) {
+ if (!rand2(5) && countitem(SealedSoul) < 10) {
+ getitem SealedSoul, 1;
+ areamonster(getmap(), 100, 20, 170, 60, strmobinfo(1, MagicGoblin), MagicGoblin, 1, "Valia::OnMGoblin");
+ }
+ }
+ break;
+ case 6: // Just entered the Den
break;
// Forest -> Desert -> Bandit Cave -> Island -> Fake showdown -> Storage -> Showdown -> Chest, Lore and Exit -> Wumpus' Trap -> End
}
@@ -197,6 +206,22 @@ OnCore:
case 4: // Desert unlocked, but no clue on what to do
dispbottom l("You hear a noise from distance.");
// Spawn monsters
+ areamonster("val1@"+.@p, 100, 20, 170, 60, strmobinfo(1, CaveSnake), CaveSnake, 2, "Valia::OnCSnake");
+ areamonster(getmap(), 100, 20, 170, 60, strmobinfo(1, MagicGoblin), MagicGoblin, 1, "Valia::OnMGoblin");
+ // These refuse to respawn but are numerous
+ // Thus far, the quest is still easy. But soon it won't be.
+ areamonster(getmap(), 100, 20, 170, 60, strmobinfo(1, MountainSnake), MountainSnake, 1+(BaseLevel/24));
+ areamonster(getmap(), 100, 20, 170, 60, strmobinfo(1, DarkLizard), DarkLizard, 1+(BaseLevel/20));
+ areamonster(getmap(), 100, 20, 170, 60, strmobinfo(1, WickedMushroom), WickedMushroom, 1+(BaseLevel/32));
+ areamonster(getmap(), 100, 20, 170, 60, strmobinfo(1, EliteDuck), EliteDuck, 1);
+ break;
+ case 6: // Passage Open
+ if (countitem(SealedSoul))
+ delitem SealedSoul, countitem(SealedSoul);
+ dispbottom l("You hear waterfall opening in distance.");
+ // FALLTHROUGH
+ case 5: // JackO shows up
+ getexp 32000, 1400;
break;
}
}
@@ -223,6 +248,17 @@ OnRShroom:
areamonster("val1@"+.@p, 20, 20, 70, 60, strmobinfo(1, RedMushroom), RedMushroom, 1, "Valia::OnRShroom");
end;
+///////////////////////////////////
+OnCSnake:
+ fix_mobkill(CaveSnake);
+ areamonster("val1@"+.@p, 100, 20, 170, 60, strmobinfo(1, CaveSnake), CaveSnake, 1, "Valia::OnCSnake");
+ end;
+
+OnMGoblin:
+ fix_mobkill(MagicGoblin);
+ areamonster("val1@"+.@p, 100, 20, 170, 60, strmobinfo(1, MagicGoblin), MagicGoblin, 2, "Valia::OnMGoblin");
+ end;
+
OnInit:
.distance=4;
end;