diff options
Diffstat (limited to 'world/map/npc/030-4')
-rw-r--r-- | world/map/npc/030-4/mana_battery.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/world/map/npc/030-4/mana_battery.txt b/world/map/npc/030-4/mana_battery.txt index 15ff40c3..e3910d5d 100644 --- a/world/map/npc/030-4/mana_battery.txt +++ b/world/map/npc/030-4/mana_battery.txt @@ -311,7 +311,7 @@ OnReward: if (($@XmasBattleStatusClone % 2) == 0) set XMASTIME, XMASTIME | $@xmas_boss_hero_bit; set @xmas_state, (XMASTIME & NIBBLE_0_MASK) >> NIBBLE_0_SHIFT; - set @bonus, (55 - (BaseLevel / 2)); + set @bonus, (55 - (min(BaseLevel, 99) / 2)); set 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 ) @@ -319,6 +319,7 @@ OnReward: set @xmas_state, $@xmas_reward_start; callfunc "XmasSetState"; set @xmas_state, 0; + //following line seems to do nothing since xmas_boss_bonus is not defined anywhere set @karma_bonus, $@xmas_boss_bonus; message strcharinfo(0), "Wow, what happened here?."; goto L_End; |