diff options
Diffstat (limited to 'world/map')
-rw-r--r-- | world/map/npc/011-1/oscar.txt | 22 | ||||
-rw-r--r-- | world/map/npc/055-1/pumpkins.txt | 2 |
2 files changed, 19 insertions, 5 deletions
diff --git a/world/map/npc/011-1/oscar.txt b/world/map/npc/011-1/oscar.txt index f2d5df0a..8babc2ec 100644 --- a/world/map/npc/011-1/oscar.txt +++ b/world/map/npc/011-1/oscar.txt @@ -183,6 +183,10 @@ L_ProposeUseKaflosh: L_GetEmptyBottles: mes "[Oscar]"; mes "\"Ok, here are the " + $@halloween_num_water_bottles + " empty bottles.\""; + next; + mes "\"Oh and while you fill these bottles, why not bring some friends here as well?"; + mes "Let's not be reckless. Maybe these rumors about the pumpkins are true."; + mes "Oh, unless you consider yourself strong enough to take care of this alone!\""; getitem "EmptyBottle", $@halloween_num_water_bottles; goto L_End; @@ -232,11 +236,21 @@ L_WaterWithKaflosh: mes "Water the pumpkin patches right here with your awesome magic!\""; next; mes "\"Here is one bottle of water to do it.\""; + next; + mes "\"By the way, I told you about the rumors concerning these pumpkins."; + mes "Why not bring some friends here? Oh, unless you consider yourself strong enough!\""; set Quest_Halloween, 5; getitem "BottleOfWater", 1; goto L_End; L_HelpWaterPatches: + // We check again here that the player has magic skills + // This case happens when the player has logged off + // during the infestation phase. + set @nature_magic, getskilllv(SKILL_MAGIC_NATURE); + if (!(@nature_magic > 1)) + goto L_HelpFillWaters; + set @nature_magic, 0; mes "[Oscar]"; mes "\"Come on, water the pumpkin patches right here with your awesome magic!"; mes "For sure you will be more efficient than me!\""; @@ -351,12 +365,12 @@ onPD: // huntsman spider x1 if (@halloween_rand < (15*BaseLevel)/100) areamonster "011-1.gat", 97, 40, 101, 44, "", 1083, 1, "Oscar::onPDP"; - // Or archant x2 - if (@halloween_rand >= (15*BaseLevel)/100 && @halloween_rand < (50*BaseLevel)/100) - areamonster "011-1.gat", 97, 40, 101, 44, "", 1060, 2, "Oscar::onPDP"; // Or spider x1 - if (@halloween_rand >= (50*BaseLevel)/100) + if (@halloween_rand >= (15*BaseLevel)/100 && @halloween_rand < (75*BaseLevel)/100) areamonster "011-1.gat", 97, 40, 101, 44, "", 1012, 1, "Oscar::onPDP"; + // Or archant x2 + if (@halloween_rand >= (75*BaseLevel)/100) + areamonster "011-1.gat", 97, 40, 101, 44, "", 1060, 2, "Oscar::onPDP"; set @halloween_rand, 0; end; diff --git a/world/map/npc/055-1/pumpkins.txt b/world/map/npc/055-1/pumpkins.txt index 42864cff..c2008c1e 100644 --- a/world/map/npc/055-1/pumpkins.txt +++ b/world/map/npc/055-1/pumpkins.txt @@ -6,7 +6,7 @@ 055-1.gat,0,0,0|script|PumpkinMob055-1|-1,{ On1063: - if (Quest_Halloween != 1) + if (Quest_Halloween != 1 || !(gettime(6) == 11 && (gettime(5) >= 4 && gettime(5) <= 30))) goto L_HeavyPoison; if (@discover_poisonous_pumpkin == 0) message strcharinfo(0), "Yuke, this pumpkin released some ugly poison gas!"; |