From c1be7bd1eab5b0c230001c369292abe757a7f32a Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 3 Dec 2021 22:21:25 +0000 Subject: Backport 5d65a6adb10d77618f0acf689a855c4d47de82c4 --- npc/030-4/mana_battery.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'npc') 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 ) -- cgit v1.2.3-70-g09d2