summaryrefslogtreecommitdiff
path: root/world/map/npc/030-4/mana_battery.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/030-4/mana_battery.txt')
-rw-r--r--world/map/npc/030-4/mana_battery.txt24
1 files changed, 21 insertions, 3 deletions
diff --git a/world/map/npc/030-4/mana_battery.txt b/world/map/npc/030-4/mana_battery.txt
index 30c997b4..9b6182e4 100644
--- a/world/map/npc/030-4/mana_battery.txt
+++ b/world/map/npc/030-4/mana_battery.txt
@@ -445,8 +445,12 @@ S_ClearVariables:
set @karma_bonus, 0;
return;
-OnCommandDing:
- specialeffect 402;
+OnCommandOverHeat:
+ specialeffect 407;
+ end;
+
+OnCommandCoolDown:
+ specialeffect 408;
end;
}
@@ -454,19 +458,33 @@ OnCommandDing:
{
end;
OnCommandCoolDown:
+ donpcevent "AniManOMat::OnCommandOverHeat";
+ enablenpc "#MBE0";
set $@XmasBattleStatus, 0;
set $@XmasBattleCoolDown, 1;
initnpctimer;
end;
OnTimer120000:
+ donpcevent "AniManOMat::OnCommandCoolDown";
+ disablenpc "#MBE0";
set $@XmasBattleCoolDown, 0;
stopnpctimer;
mapannounce "030-4", "The AniManOMat has cooled down.", 0;
- donpcevent "AniManOMat::OnCommandDing";
end;
}
+// Mana battery effects
+
+// Smoke and sparks
+030-4,32,21,0|script|#MBE0|436
+{
+ end;
+ OnInit:
+ disablenpc "#MBE0";
+ end;
+}
+
// Danger Cells
// 0: 20,21,29,30