From 404ee15165106b6e70e88009f44f1c0cdc13f655 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 24 Feb 2021 22:02:34 -0300 Subject: Remove legacy code. Add SC Resist +40% global on Lightbringer. --- db/re/item_db.conf | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) (limited to 'db/re/item_db.conf') diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 4f45f74c1..8d61499d1 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -12466,16 +12466,30 @@ item_db: ( bonus2 bAddRace, RC_Legendary, 30; skill TMW2_OVERLOAD, getrefine(); + // Resistances + bonus bUnstripableWeapon, 1; + bonus2 bResEff, Eff_Stone, 40; + bonus2 bResEff, Eff_Freeze, 40; + bonus2 bResEff, Eff_Stun, 40; + bonus2 bResEff, Eff_Sleep, 40; + bonus2 bResEff, Eff_Poison, 40; + bonus2 bResEff, Eff_Curse, 40; + bonus2 bResEff, Eff_Silence, 40; + bonus2 bResEff, Eff_Confusion, 40; + bonus2 bResEff, Eff_Blind, 40; + bonus2 bResEff, Eff_Bleeding, 40; + bonus2 bResEff, Eff_DPoison, 40; + bonus2 bResEff, Eff_Fear, 40; + bonus2 bResEff, Eff_Cold, 40; + bonus2 bResEff, Eff_Burning, 40; + bonus2 bResEff, Eff_Deepsleep, 40; + // Equipment use is free after level 255 or during tests - if ($@GM_OVERRIDE && BaseLevel < 255) { + if (BaseLevel < 255) { bonus bNoRegen,1; bonus2 bSPLossRate,(255-BaseLevel)/30,(1000-(BaseLevel*2)); bonus2 bHPLossRate,(255-BaseLevel)/40,(1000-(BaseLevel*2)); } - if (strcharinfo(2) == "Monster King") { - bonus2 bSubEle,Ele_Holy,-40; - bonus bNoRegen,2; - } "> }, { @@ -14441,6 +14455,7 @@ item_db: ( } Script: <" //bonus bAttack2,-125; + bonus bMatk,(BaseLevel-50)*2; bonus bMaxSP,25; addtoskill(TMW2_MPREGEN, 4, 2); bonus bMaxHPrate, -5; -- cgit v1.2.3-60-g2f50