summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-02-24 22:02:34 -0300
committerJesusaves <cpntb1@ymail.com>2021-02-24 22:02:34 -0300
commit404ee15165106b6e70e88009f44f1c0cdc13f655 (patch)
tree8467f07001984c31cc3c3608e58db628f7a1cd82
parent15d0535c8e3102ffdc710ab426d0c6b49a9b3864 (diff)
downloadserverdata-404ee15165106b6e70e88009f44f1c0cdc13f655.tar.gz
serverdata-404ee15165106b6e70e88009f44f1c0cdc13f655.tar.bz2
serverdata-404ee15165106b6e70e88009f44f1c0cdc13f655.tar.xz
serverdata-404ee15165106b6e70e88009f44f1c0cdc13f655.zip
Remove legacy code. Add SC Resist +40% global on Lightbringer.
-rw-r--r--db/re/item_db.conf25
1 files changed, 20 insertions, 5 deletions
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;