From 55dc3f88e4eec4d96abeae645fd23cea645e9250 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 2 Apr 2021 15:22:49 -0300 Subject: Fighting against legendary mobs penalties, trait to nullify them. Also possible to nullify the penalties with Savior race, but the trait grants a bonus if the target monster DEF is higher than yours. Penalty: -25% crit, -40% ATK, -20% MATK, -5 MP/hit --- npc/functions/hub.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'npc/functions') diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index ed78eaf49..a8f21454d 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -989,6 +989,15 @@ function script HUB_PCBonus { if (PCBONUS & PCB_RANGEMASTER) { bonus bAtkRange, 1; } + if (Class != Savior && !(PCBONUS & PCB_LEGENDARY)) { + bonus2 bCriticalAddRace, RC_Legendary, -25; + bonus2 bSPDrainValueRace, RC_Legendary, -5; + bonus2 bAddRace, RC_Legendary, -40; + bonus2 bMagicAddRace, RC_Legendary, -20; + } + if (PCBONUS & PCB_LEGENDARY) { + bonus bDefRatioAtkRace, RC_Legendary; + } return; } -- cgit v1.2.3-60-g2f50