summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFedja Beader <fedja@protonmail.ch>2024-05-30 18:43:17 +0200
committerFedja Beader <fedja@protonmail.ch>2024-05-30 18:44:51 +0200
commit1af4ce86b0c01fd7a242fb269f22792d06210c13 (patch)
tree615c69dece55dda213a99ed603b9610b8cf1a761
parentb993eb3a9069fedea9b70a501969f9655cd740c7 (diff)
downloadserverdata-raid_event_teamwork.tar.gz
serverdata-raid_event_teamwork.tar.bz2
serverdata-raid_event_teamwork.tar.xz
serverdata-raid_event_teamwork.zip
Fix (maybe?) new bosses having the same levelraid_event_teamwork
-rw-r--r--npc/functions/aurora.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/npc/functions/aurora.txt b/npc/functions/aurora.txt
index b085fb068..5195aa873 100644
--- a/npc/functions/aurora.txt
+++ b/npc/functions/aurora.txt
@@ -484,7 +484,9 @@ function script FYE_Raid {
// Assign the boss stats
$FYRAID_HP[.@id]=2000+FYRAID_LV*1000+(FYRAID_LV/5*500);
// Also declared in 001-13/main.txt
- $FYRAID_LV[.@id] = min($FYRAID_LV[.@id] + 1, FYRAID_LV);
+ // swap this max into min if you'd like to make teamwork into a strategy
+ // for keeping the bosses lower level, but still fightable.
+ $FYRAID_LV[.@id] = max($FYRAID_LV[.@id] + 1, FYRAID_LV);
$FYRAID_TIME[.@id]=gettimetick(2)+3600; // One hour
// Announce that the boss was found!