diff options
author | Fedja Beader <fedja@protonmail.ch> | 2024-05-29 14:34:18 +0200 |
---|---|---|
committer | Jesusalva Jesusalva <jesusalva@tmw2.org> | 2024-05-29 20:53:03 +0000 |
commit | b993eb3a9069fedea9b70a501969f9655cd740c7 (patch) | |
tree | c5511d48d2a63de27e4a226d36dc84d96831af61 /npc | |
parent | c5dfd2aa01f7a714a40aaee4649c199e0f31b315 (diff) | |
download | serverdata-b993eb3a9069fedea9b70a501969f9655cd740c7.tar.gz serverdata-b993eb3a9069fedea9b70a501969f9655cd740c7.tar.bz2 serverdata-b993eb3a9069fedea9b70a501969f9655cd740c7.tar.xz serverdata-b993eb3a9069fedea9b70a501969f9655cd740c7.zip |
Fix obvious issues
Diffstat (limited to 'npc')
-rw-r--r-- | npc/functions/aurora.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/aurora.txt b/npc/functions/aurora.txt index df3e3129e..b085fb068 100644 --- a/npc/functions/aurora.txt +++ b/npc/functions/aurora.txt @@ -454,7 +454,7 @@ function script FYE_Raid { .@mob=getarg(0, killedrid); // Actually - ignore system or auto-generated entities. // This check also excludes the Raid boss itself. - if (.@mob > 1490) + if (.@mob >= 1490) return; .@lv=getmonsterinfo(.@mob, MOB_LV); // Chance goes from 10% to 1% @@ -484,7 +484,7 @@ 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 + 1, FYRAID_LV); + $FYRAID_LV[.@id] = min($FYRAID_LV[.@id] + 1, FYRAID_LV); $FYRAID_TIME[.@id]=gettimetick(2)+3600; // One hour // Announce that the boss was found! |