summaryrefslogtreecommitdiff
path: root/npc/030-4/mana_battery.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/030-4/mana_battery.txt')
-rw-r--r--npc/030-4/mana_battery.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/npc/030-4/mana_battery.txt b/npc/030-4/mana_battery.txt
index 32e6dcfb..42a9b69f 100644
--- a/npc/030-4/mana_battery.txt
+++ b/npc/030-4/mana_battery.txt
@@ -1,7 +1,6 @@
-
030-4,32,21,0 script AniManOMat NPC400,{
$@XmasBattleStatusClone = 0;
callfunc "XmasStates";
@@ -291,7 +290,7 @@ OnReward:
if (($@XmasBattleStatusClone % 2) == 0)
XMASTIME = XMASTIME | $@xmas_boss_hero_bit;
@xmas_state = (XMASTIME & NIBBLE_0_MASK) >> NIBBLE_0_SHIFT;
- @bonus = (55 - (BaseLevel / 2));
+ @bonus = (55 - (min(BaseLevel, 99) / 2));
DailyQuestBonus = DailyQuestBonus + @bonus;
message strcharinfo(0), "You feel a temporary rush of power and zest for action.";
if (@xmas_state != $@xmas_boss_door_open_state )