diff options
author | wushin <pasekei@gmail.com> | 2013-12-31 10:58:45 -0600 |
---|---|---|
committer | wushin <pasekei@gmail.com> | 2013-12-31 16:42:08 -0600 |
commit | da0efec8cbc3fb2892dacf91435f67a75b5818c4 (patch) | |
tree | 5d96828eab5ee02573ff02bec8ff8de6163ece90 /world/map/npc/030-4/mana_battery.txt | |
parent | 030ec3b59b42c45b90a25fac81a6e6d87b2ac8a5 (diff) | |
download | serverdata-da0efec8cbc3fb2892dacf91435f67a75b5818c4.tar.gz serverdata-da0efec8cbc3fb2892dacf91435f67a75b5818c4.tar.bz2 serverdata-da0efec8cbc3fb2892dacf91435f67a75b5818c4.tar.xz serverdata-da0efec8cbc3fb2892dacf91435f67a75b5818c4.zip |
Xmas Battle Chamber Resetv2013.12.31
Text corrections for Avalia
Fixed bug in partly setting Xmas Chamber battle
Fixed year end reward from being too generous
Diffstat (limited to 'world/map/npc/030-4/mana_battery.txt')
-rw-r--r-- | world/map/npc/030-4/mana_battery.txt | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/world/map/npc/030-4/mana_battery.txt b/world/map/npc/030-4/mana_battery.txt index bc7ad575..7a6977e8 100644 --- a/world/map/npc/030-4/mana_battery.txt +++ b/world/map/npc/030-4/mana_battery.txt @@ -112,7 +112,6 @@ L_StartBadHard: goto L_Start; L_Start: - set $@XmasBattleStatusClone, $@XmasBattleStatus; mes "You struggle a little with your task, since the mana battery doesn't seem to fit in as smooth as you expected it."; next; mes "W00t!"; @@ -122,6 +121,7 @@ L_Start: mes "it seems like this will not turn out as planned, Look this Guard of Honour is going crazy!"; next; npctalk "The Guards are out of control!"; + set $@XmasBattleStatusClone, $@XmasBattleStatus; set $@XmasBossRound, 0; set $@XmasBossPlayerCount, getmapusers("030-4.gat"); areamonster "030-4.gat", 20, 21, 40, 40, "", 1114, 1, "AniManOMat::OnGuardDeath"; @@ -213,7 +213,7 @@ L_NextWave: //Obliatory Guard Of Honour in the Southern Hallway areamonster "030-4.gat", 30, 43, 39, 49, "", 1114, $@GuardAmount, "AniManOMat::OnGuardDeath"; //CopperSlimes, I love Copper Slimes anywhere anytime - areamonster "030-4.gat", 20, 21, 49, 49, "", 1098, rand(2,7), "AniManOMat::All1"; + areamonster "030-4.gat", 20, 21, 49, 49, "", 1098, rand(2,7), "AniManOMat::OnGuardDeath"; //IceSkulls for hard mode in room 3 and 4 if ($@XmasBattleStatus == 2 || $@XmasBattleStatus == 4) areamonster "030-4.gat", 20, 32, 28, 39, "", 1085, $@SkullAmount / 2, "AniManOMat::OnGuardDeath"; @@ -252,9 +252,6 @@ OnTick: set $@XmasBossPlayerCount, $@XmasBossPlayerCount + 1; end; -OnAll1: - end; - OnGuardDeath: end; @@ -313,7 +310,23 @@ L_EndNice: callsub S_ClearVariables; end; +OnCommandChamberReset: + areatimer "030-4.gat", 0, 0, 50, 50, 10, "AniManOMat::OnReward"; + set $@XmasBattleStatus, 0; + set $@XmasBossPlayerCount, 0; + set $@XmasBossRound, 0; + set $@BombTimer, 0; + set $@GuardAmount, 0; + set $@SkullAmount, 0; + killmonster "030-4.gat", "AniManOMat::OnGuardDeath"; + stopnpctimer; + setnpctimer 0; + goto L_Restart; + OnInit: + goto L_Restart; + +L_Restart: set $@XmasBattleStatus, 0; setarray $@XmasBossMes$, "", // unused |