diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-12-04 22:14:31 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-12-04 22:14:31 -0300 |
commit | 51e0b96adca8d1d79ce3af48e8ca42858ae4b7d2 (patch) | |
tree | fa5407f2d8505a739fd5f15b937ee2d8c10cb9db /npc/functions | |
parent | 04b51f13900ac310c6f4edb31d533e3a4963579b (diff) | |
download | serverdata-51e0b96adca8d1d79ce3af48e8ca42858ae4b7d2.tar.gz serverdata-51e0b96adca8d1d79ce3af48e8ca42858ae4b7d2.tar.bz2 serverdata-51e0b96adca8d1d79ce3af48e8ca42858ae4b7d2.tar.xz serverdata-51e0b96adca8d1d79ce3af48e8ca42858ae4b7d2.zip |
Fix vulnerability
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/rebirth.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/rebirth.txt b/npc/functions/rebirth.txt index d997c4c37..9a6d4cc41 100644 --- a/npc/functions/rebirth.txt +++ b/npc/functions/rebirth.txt @@ -28,7 +28,7 @@ function script ChooseTrait { rif(#TUTORIAL_DONE && !(PCBONUS & PCB_NOKNOCKBACK), l("Knockback Immunity")), PCB_NOKNOCKBACK, rif(REBIRTH && !(PCBONUS & PCB_SPLASHMASTER), l("AoE (not stackable)")), PCB_SPLASHMASTER, rif(REBIRTH && !(PCBONUS & PCB_RANGEMASTER), l("Atk Range +1")), PCB_RANGEMASTER, - rif(REBIRTH < 5 && !(PCBONUS & PCB_LEGENDARY), l("No penalty against Legendary mobs")), PCB_LEGENDARY; + rif(REBIRTH >= 5 && !(PCBONUS & PCB_LEGENDARY), l("No penalty against Legendary mobs")), PCB_LEGENDARY; if (@menuret == 0) return false; PCBONUS=PCBONUS|@menuret; return true; |