diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-04-10 21:18:44 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-04-10 21:18:44 -0300 |
commit | 3282f7417c441f78218f370e8abaa5663317f621 (patch) | |
tree | 5637302a50acc295daa56877000dcd9edae2c6b7 | |
parent | e4738bfc0ddd33ef8cd3ba11e59d276582b55cea (diff) | |
download | classic-serverdata-3282f7417c441f78218f370e8abaa5663317f621.tar.gz classic-serverdata-3282f7417c441f78218f370e8abaa5663317f621.tar.bz2 classic-serverdata-3282f7417c441f78218f370e8abaa5663317f621.tar.xz classic-serverdata-3282f7417c441f78218f370e8abaa5663317f621.zip |
Replace 09:00 event with a bonus summon.
At 00:00 and 18:00 will be the sieges.
-rw-r--r-- | world/map/npc/functions/doomsday.txt | 37 |
1 files changed, 34 insertions, 3 deletions
diff --git a/world/map/npc/functions/doomsday.txt b/world/map/npc/functions/doomsday.txt index bf78bf82..7bd6fa9c 100644 --- a/world/map/npc/functions/doomsday.txt +++ b/world/map/npc/functions/doomsday.txt @@ -600,6 +600,31 @@ L_Doomsday3Cleanup: set $@DD_LOC$, ""; end; +// Bonus spawn +L_Doomsday3Bonus: + announce "Jande: Stray minions from Zax De'Kagen were sighted all over the world!", 0; + + setarray $@DD_IDX, rand(getarraysize($@doomsday_mobs)); + monster "031-1", 62, 49, "", $@doomsday_mobs[$@DD_IDX], 1; + setarray $@DD_IDX, rand(getarraysize($@doomsday_mobs)); + monster "018-1", 136, 71, "", $@doomsday_mobs[$@DD_IDX], 1; + setarray $@DD_IDX, rand(getarraysize($@doomsday_mobs)); + monster "002-1", 97, 86, "", $@doomsday_mobs[$@DD_IDX], 1; + + setarray $@DD_IDX, rand(getarraysize($@doomsday_mobs)); + areamonster "017-1", 169, 49, 198, 77, "", $@doomsday_mobs[$@DD_IDX], 1; + setarray $@DD_IDX, rand(getarraysize($@doomsday_mobs)); + areamonster "012-1", 20, 47, 74, 77, "", $@doomsday_mobs[$@DD_IDX], 2; + setarray $@DD_IDX, rand(getarraysize($@doomsday_mobs)); + areamonster "057-1", 115, 50, 140, 75, "", $@doomsday_mobs[$@DD_IDX], 2; + setarray $@DD_IDX, rand(getarraysize($@doomsday_mobs)); + areamonster "046-1", 58, 49, 92, 70, "", $@doomsday_mobs[$@DD_IDX], 2; + setarray $@DD_IDX, rand(getarraysize($@doomsday_mobs)); + areamonster "034-1", 83, 51, 121, 98, "", $@doomsday_mobs[$@DD_IDX], 2; + setarray $@DD_IDX, rand(getarraysize($@doomsday_mobs)); + areamonster "003-4", 20, 20, 85, 60, "", $@doomsday_mobs[$@DD_IDX], 2; + end; + //////////////////////////////////////////////////////////////////////////////// // Respawn logic (5 minutes) OnTimer300000: @@ -638,25 +663,31 @@ OnClock1845: end; // Act 3 clock handlers [2] -OnClock0850: +OnClock2350: if ($@DOOMSDAY_SKIP) end; if ($DOOMSDAY == 2) goto L_Doomsday3Init; end; -OnClock0900: +OnClock0000: if ($@DOOMSDAY_SKIP) goto L_Doomsday3Skip; if ($DOOMSDAY == 2) goto L_Doomsday3; end; -OnClock0945: +OnClock0045: if ($DOOMSDAY == 2) goto L_Doomsday3Check; end; +// Act 3 clock handlers [3] +OnClock0900: + if ($DOOMSDAY == 2) + goto L_Doomsday3Bonus; + end; + //////////////////////////////////////////////////////////////////////////////// // Puppet labels OnDeathMapname: |