diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-04-28 13:42:03 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-04-28 13:42:03 -0300 |
commit | f652b19d9f9a068426efd3d1dfa59f4eb725005f (patch) | |
tree | 9a79297a765de58ca8e282f346e4bf5f02ace784 /npc/014-2-2 | |
parent | ea0520571eaf0a5dcfa62889656e2ee747407a49 (diff) | |
download | serverdata-f652b19d9f9a068426efd3d1dfa59f4eb725005f.tar.gz serverdata-f652b19d9f9a068426efd3d1dfa59f4eb725005f.tar.bz2 serverdata-f652b19d9f9a068426efd3d1dfa59f4eb725005f.tar.xz serverdata-f652b19d9f9a068426efd3d1dfa59f4eb725005f.zip |
I simplified the Desert Stage.
Diffstat (limited to 'npc/014-2-2')
-rw-r--r-- | npc/014-2-2/valia.txt | 36 |
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; |