summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/025-1/phoenix.txt3
-rw-r--r--npc/functions/hub.txt9
2 files changed, 11 insertions, 1 deletions
diff --git a/npc/025-1/phoenix.txt b/npc/025-1/phoenix.txt
index f3dc8a318..1a380f331 100644
--- a/npc/025-1/phoenix.txt
+++ b/npc/025-1/phoenix.txt
@@ -99,7 +99,8 @@
rif(!(PCBONUS & PCB_EXPBONUS), l("EXP Gain +10%")), PCB_EXPBONUS,
rif(!(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 && !(PCBONUS & PCB_RANGEMASTER), l("Atk Range +1")), PCB_RANGEMASTER,
+ rif(REBIRTH < 5 && !(PCBONUS & PCB_LEGENDARY), l("No penalty against Legendary mobs")), PCB_LEGENDARY;
if (@menuret == 0) return;
PCBONUS=PCBONUS|@menuret;
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;
}