diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-10-10 22:48:39 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-10-10 22:48:39 -0300 |
commit | 5afdb139fb1adbc843acd68493da0627623cdb73 (patch) | |
tree | 3fb012f2ba04d5b6ebc4aea14238f059417015f6 /npc/001-1/eventmaster.txt | |
parent | f28f5ea283b8972320f470a3b9b3d5138c7049c5 (diff) | |
download | serverdata-5afdb139fb1adbc843acd68493da0627623cdb73.tar.gz serverdata-5afdb139fb1adbc843acd68493da0627623cdb73.tar.bz2 serverdata-5afdb139fb1adbc843acd68493da0627623cdb73.tar.xz serverdata-5afdb139fb1adbc843acd68493da0627623cdb73.zip |
Thanksgiving special event
Diffstat (limited to 'npc/001-1/eventmaster.txt')
-rw-r--r-- | npc/001-1/eventmaster.txt | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/npc/001-1/eventmaster.txt b/npc/001-1/eventmaster.txt index 48c43c034..bb61fa20f 100644 --- a/npc/001-1/eventmaster.txt +++ b/npc/001-1/eventmaster.txt @@ -716,6 +716,60 @@ L_Conf: $@AEROS_SPWN=@menu-1; goto L_Menu; +OnAutoSched: + .@t=0; + // Scatter 10× Strange Coins for digging + // Also scatter some strange coins for looting + buryitem(StrangeCoin, any(9,10,10,10,11,11)); + mkitem(StrangeCoin, $@AEROS_AUTOSPAWN); + // Spawn monsters + freeloop(true); + for (.@i = 0; .@i < ($@AEROS_AUTOSPAWN * 5); .@i++) { + .@r=rand2(5, 12); + .@m=any(Piou, Piousee, Ratto, LittleBlub, Croc, PlushroomField, + Tipiu, CaveMaggot, Bat, Scorpion, Duck, Maggot, RedScorpion, + ManaBug, ManaGhost, HouseMaggot, RedSlime, WhiteSlime, + SlimeBlast, Mouboo, Bandit, BlackScorpion, GiantMaggot, + CaveSnake, ManaBug, GoldenScorpion, NightScorpion, SantaSlime, + CopperSlime, FallenGuard1, FallenGuard2, OldSnake, GrassSnake, + Snake, Pollet, Wolvern, EarthFairy, FireFairy, WaterFairy, + WindFairy, NatureFairy, GreenSlimeMother, ChocolateSlimeMother, + CopperSlimeMother, SeaSlimeMother, AzulSkullSlime, + CopperSkullSlime, Crafty, Troll, Forain, Yeti, Centaur, GoboBear, + Terranite, TerraniteProtector, Reaper, Michel, JackO, Skeleton, + Pinkie, PinkieSuseran, CloverPatch, MagicRatto, Moonshroom, + MoubooSlime); + spawner(strmobinfo(1, .@m), .@m, .@r); + .@t += .@r; + // Bonus + .@r=rand2(1, 3); + .@m=any(SaxsoGhost, HolyPixie, BronzeChest, SilverChest, GoldenChest, + MalignChest, PrismChest, SupremeChest, WildxChest, ManaChest, + ThornChest, ViciousChest, EvilChest, BronzeMimic, SilverMimic, + GoldenMimic, Bif, EleniumBif, BigEleniumBif, RubyBif, BigRubyBif, + TopazBif, BigTopazBif, EmeraldBif, BigEmeraldBif, + DiamondBif, BigDiamondBif, AmethystBif, BigAmethystBif, + SapphireBif, BigSapphireBif, SmallMagicBif, MagicBif, BigMagicBif, + CloverPatch, EvilScythe); + spawner(strmobinfo(1, .@m), .@m, .@r); + .@t += .@r; + } + freeloop(false); + // Open gate if full + if ($@AEROS_SPWN == 2 && .WALL) { + delcells "AerosWall"; + .WALL=0; + } + // Close gate otherwise + if ($@AEROS_SPWN != 2 && !.WALL) { + setcells "001-1", 169, 63, 169, 76, 3, "AerosWall"; + .WALL=1; + } + // We're done + $@AEROS_AUTOSPAWN = 0; + consoleinfo("script automatically spawned "+str(.@t)+" beigns at Aeros."); + end; + OnAerosMobDeath: if ($coinsrate < 0) end; // A level 100 monster can have a 4% drop bonus against a level 0 monster. |