diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-06-05 20:55:28 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-06-05 20:55:28 -0300 |
commit | 08f8ce6254d9c2816e53e6103d5e4953a019a17a (patch) | |
tree | 3d252cca1d6bed62b5e95e397dd4a51bd7195849 | |
parent | 156aac765701dc571b2be44e5f389f3cb541c793 (diff) | |
download | serverdata-08f8ce6254d9c2816e53e6103d5e4953a019a17a.tar.gz serverdata-08f8ce6254d9c2816e53e6103d5e4953a019a17a.tar.bz2 serverdata-08f8ce6254d9c2816e53e6103d5e4953a019a17a.tar.xz serverdata-08f8ce6254d9c2816e53e6103d5e4953a019a17a.zip |
Fix skill level overflow in item DB
-rw-r--r-- | db/re/item_db.conf | 140 | ||||
-rw-r--r-- | npc/018-5/_mobs.txt | 2 |
2 files changed, 71 insertions, 71 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf index a46d88258..7adb17785 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -11912,7 +11912,7 @@ item_db: ( id5064: 1 } Script: <" - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -11970,7 +11970,7 @@ item_db: ( id5064: 1 } Script: <" - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -12028,7 +12028,7 @@ item_db: ( id5064: 1 } Script: <" - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -12086,7 +12086,7 @@ item_db: ( id5064: 1 } Script: <" - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -12144,7 +12144,7 @@ item_db: ( id5064: 1 } Script: <" - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -12202,7 +12202,7 @@ item_db: ( id5064: 1 } Script: <" - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -12260,7 +12260,7 @@ item_db: ( id5064: 1 } Script: <" - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -12318,7 +12318,7 @@ item_db: ( id5064: 1 } Script: <" - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -12376,7 +12376,7 @@ item_db: ( id5064: 1 } Script: <" - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -12434,7 +12434,7 @@ item_db: ( id5064: 1 } Script: <" - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -12492,7 +12492,7 @@ item_db: ( id5064: 1 } Script: <" - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -12551,7 +12551,7 @@ item_db: ( } Script: <" bonus bAtkEle,Ele_Holy; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -12608,7 +12608,7 @@ item_db: ( id5064: 1 } Script: <" - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -12666,7 +12666,7 @@ item_db: ( id5064: 1 } Script: <" - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -12725,7 +12725,7 @@ item_db: ( } Script: <" bonus bAtkEle,Ele_Water; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -12783,7 +12783,7 @@ item_db: ( id5064: 1 } Script: <" - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -12841,7 +12841,7 @@ item_db: ( id5064: 1 } Script: <" - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -12904,7 +12904,7 @@ item_db: ( bonus bAtk,(BaseLevel-40)*4; bonus bMatk,(BaseLevel-40); bonus bAtkEle,Ele_Wind; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -12969,7 +12969,7 @@ item_db: ( bonus3 bAutoSpell,SM_MAGNUM,1,100; bonus bAtk,(BaseLevel-24)*3; bonus bMatk,(BaseLevel-24); - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> //DropAnnounce: true }, @@ -13032,7 +13032,7 @@ item_db: ( bonus bAtkEle,Ele_Dark; bonus bAtk,(BaseLevel-60)*3; bonus bMatk,(BaseLevel-60); - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> //DropAnnounce: true }, @@ -13091,7 +13091,7 @@ item_db: ( id5064: 1 } Script: <" - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -13154,7 +13154,7 @@ item_db: ( bonus bDex, -1; bonus bDef, -20; bonus bCritical, 5; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -13216,7 +13216,7 @@ item_db: ( bonus bDex, -6; bonus bDef, -48; bonus bCritical, 12; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -13277,7 +13277,7 @@ item_db: ( bonus bDex, -4; bonus bDef, -32; bonus bCritical, 8; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -13338,7 +13338,7 @@ item_db: ( bonus bDex, -5; bonus bDef, -40; bonus bCritical, 10; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -13400,7 +13400,7 @@ item_db: ( bonus bCritical, 12; bonus2 bAddEff,Eff_Blind,400; bonus2 bAddMonsterDropChainItem,ITMCHAIN_ORE,RC_Mineral; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -13463,7 +13463,7 @@ item_db: ( bonus bHit, 3; bonus bDef, -56; bonus bCritical, 14; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -13521,7 +13521,7 @@ item_db: ( id5064: 1 } Script: <" - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -13579,7 +13579,7 @@ item_db: ( id5064: 1 } Script: <" - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -13637,7 +13637,7 @@ item_db: ( id5064: 1 } Script: <" - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -13703,7 +13703,7 @@ item_db: ( bonus bCritical, 14; bonus bHPDrainValue,-15; bonus2 bAddEff,Eff_Curse,100; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -13761,7 +13761,7 @@ item_db: ( id5064: 1 } Script: <" - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -13824,7 +13824,7 @@ item_db: ( bonus bHit, 4; bonus bDef, -77; bonus bCritical, 19; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -13885,7 +13885,7 @@ item_db: ( bonus bDex, -7; bonus bDef, -57; bonus bCritical, 14; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -13947,7 +13947,7 @@ item_db: ( bonus bHit, 4; bonus bDef, -67; bonus bCritical, 16; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -14073,7 +14073,7 @@ item_db: ( bonus2 bSubEle, Ele_Holy, -12; bonus2 bSubEle, Ele_Dark, -12; bonus2 bSubEle, Ele_Ghost, -12; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -14144,7 +14144,7 @@ item_db: ( bonus2 bSubEle, Ele_Holy, -20; bonus2 bSubEle, Ele_Dark, -20; bonus2 bSubEle, Ele_Ghost, -20; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -14210,7 +14210,7 @@ item_db: ( bonus3 bAutoSpell,TF_STEAL,1,BaseLevel; bonus3 bAutoSpell,BS_GREED,1,JobLevel*5; bonus2 bGetZenyNum,-1,15; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -14272,7 +14272,7 @@ item_db: ( bonus bFleeRate, -(BaseLevel/9); bonus bDef2, -(BaseLevel/10); bonus bSplashRange, 1; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, // Insert new weapons above this line @@ -14352,7 +14352,7 @@ item_db: ( bonus bCriticalDef,-50; bonus bHealPower,100; bonus bHealPower2,100; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); // Resistances bonus bUnstripableWeapon, 1; @@ -14453,7 +14453,7 @@ item_db: ( bonus bFlee2Rate,-100; bonus bCriticalDef,-50; bonus bCriticalRate,-50; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); skill TMW2_DEMURE, min(10, 1+getrefine()); // This weapon attack power grows with the user @@ -14542,7 +14542,7 @@ item_db: ( bonus bFlee2Rate,-100; bonus bFleeRate,-95; bonus2 bAddMonsterDropChainItem,ITMCHAIN_ARROW,RC_All; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); // This weapon attack power grows with the user // It'll be behind the other weapons until the endgame stages (lv 100+) @@ -14621,7 +14621,7 @@ item_db: ( bonus bMaxSP,750; bonus bDef,-100; addtoskill(TMW2_MPREGEN, 5, 2); - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); // This weapon attack power grows with the user // Catches up in early game, then lags behind, and catch up again at lv 106. @@ -14833,7 +14833,7 @@ item_db: ( // This weapon attack power grows with the user bonus bAtk,BaseLevel * 10; bonus bMatk,-(JobLevel); - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); // Equipment use is free after level 255 or during tests if (BaseLevel < 255 && !$@GM_OVERRIDE) { @@ -16105,7 +16105,7 @@ item_db: ( Script: <" bonus2 bAddMonsterDropChainItem,ITMCHAIN_ARROW,RC_All; bonus bFleeRate,-95; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -16176,7 +16176,7 @@ item_db: ( Script: <" bonus2 bAddMonsterDropChainItem,ITMCHAIN_ARROW,RC_All; bonus bFleeRate,-95; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -16246,7 +16246,7 @@ item_db: ( Script: <" bonus2 bAddMonsterDropChainItem,ITMCHAIN_ARROW,RC_All; bonus bFleeRate,-95; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -16317,7 +16317,7 @@ item_db: ( Script: <" bonus2 bAddMonsterDropChainItem,ITMCHAIN_ARROW,RC_All; bonus bFleeRate,-95; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -16388,7 +16388,7 @@ item_db: ( Script: <" bonus2 bAddMonsterDropChainItem,ITMCHAIN_ARROW,RC_All; bonus bFleeRate,-95; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -16459,7 +16459,7 @@ item_db: ( Script: <" bonus2 bAddMonsterDropChainItem,ITMCHAIN_ARROW,RC_All; bonus bFleeRate,-95; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -16531,7 +16531,7 @@ item_db: ( bonus2 bAddMonsterDropChainItem,ITMCHAIN_ARROW,RC_All; bonus bHPDrainValue,-1; bonus bFleeRate,-95; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -16600,7 +16600,7 @@ item_db: ( bonus bHit,40; bonus bAtk,(BaseLevel-60)*2; bonus2 bAddEff,Eff_Stun,120; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -16671,7 +16671,7 @@ item_db: ( bonus bFleeRate,-95; bonus bAtk,(BaseLevel-60)/3; bonus2 bAddEff,Eff_Stun,90; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -16739,7 +16739,7 @@ item_db: ( bonus bFleeRate,-95; bonus bAtk,(BaseLevel-60); bonus2 bAddEff,Eff_Stun,100; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -16805,7 +16805,7 @@ item_db: ( bonus2 bAddMonsterDropChainItem,ITMCHAIN_BULLET,RC_All; bonus bAtk,(BaseLevel-60)/2; bonus2 bAddEff,Eff_Stun,100; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -16873,7 +16873,7 @@ item_db: ( bonus bCriticalRate,40; bonus bAtk,(BaseLevel-70)*2; bonus2 bAddEff,Eff_Stun,120; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, // Arrows @@ -17120,7 +17120,7 @@ item_db: ( bonus bMaxSP,10; addtoskill(TMW2_MPREGEN, 5, 2); bonus bDef,-327; //bonus bDef,-32767; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -17184,7 +17184,7 @@ item_db: ( addtoskill(TMW2_MPREGEN, 4, 2); bonus bMaxHPrate, -8; bonus bDef,-327; //bonus bDef,-32767; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -17248,7 +17248,7 @@ item_db: ( addtoskill(TMW2_MPREGEN, 3, 2); bonus bMaxHPrate, -12; bonus bDef,-327; //bonus bDef,-32767; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -17312,7 +17312,7 @@ item_db: ( addtoskill(TMW2_MPREGEN, 2, 2); bonus bMaxHPrate, -16; bonus bDef,-327; //bonus bDef,-32767; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -17376,7 +17376,7 @@ item_db: ( addtoskill(TMW2_MPREGEN, 1, 2); bonus bMaxHPrate, -20; bonus bDef,-327; //bonus bDef,-32767; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -17441,7 +17441,7 @@ item_db: ( addtoskill(TMW2_MPREGEN, 4, 2); bonus bMaxHPrate, -5; bonus bDef,-327; //bonus bDef,-32767; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -17512,7 +17512,7 @@ item_db: ( bonus3 bAutoSpell,TMW2_METEORSHOWER,min(4, 1+JobLevel/37),100; bonus3 bAutoSpell,TMW2_ARMAGEDDON,1,10; bonus bSPDrainValue, -4; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, @@ -17588,7 +17588,7 @@ item_db: ( bonus bStr, 2; bonus bDex, -3; bonus bAgi, -5; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -17657,7 +17657,7 @@ item_db: ( bonus bStr, 3; bonus bDex, -2; bonus bDef, -2; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -17899,7 +17899,7 @@ item_db: ( Script: <" bonus bAtk,BaseLevel*6; bonus bMatk,0; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -17947,7 +17947,7 @@ item_db: ( bonus bHit, (BaseLevel/20); bonus bDef, -(BaseLevel*8/10); bonus bCritical, min(20, BaseLevel/5); - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -17993,7 +17993,7 @@ item_db: ( bonus bMatk,0; bonus2 bAddMonsterDropChainItem,ITMCHAIN_ARROW,RC_All; bonus bFleeRate,-95; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, { @@ -18040,7 +18040,7 @@ item_db: ( bonus bMaxSP,BaseLevel/2; addtoskill(TMW2_MPREGEN, max(1, 7-BaseLevel/20), 2); bonus bDef,-327; //bonus bDef,-32767; - skill TMW2_OVERLOAD, getrefine(); + skill TMW2_OVERLOAD, min(10, getrefine()); "> }, // Cards I've missed @@ -18171,7 +18171,7 @@ item_db: ( bonus bAtkRate, min(100, max(0, BaseLevel-109)); bonus bMatkRate, min(100, max(0, BaseLevel-109)/2); //bonus bAtk, getrefine()*2; - //skill TMW2_OVERLOAD, getrefine(); + //skill TMW2_OVERLOAD, min(10, getrefine()); "> }, // Fake Items diff --git a/npc/018-5/_mobs.txt b/npc/018-5/_mobs.txt index af1cd66ce..c397c1c2f 100644 --- a/npc/018-5/_mobs.txt +++ b/npc/018-5/_mobs.txt @@ -5,7 +5,7 @@ 018-5,82,88,41,15 monster Wind Fairy 1185,8,40000,20000 018-5,99,47,22,14 monster Nature Fairy 1186,6,30000,30000 018-5,58,146,26,12 monster Mountain Snake 1123,6,120000,0,Shaabty::OnKillSnake -018-5,58,83,18,22 monster Green Dragon 1195,4,60000,0 +018-5,58,83,18,22 monster Green Dragon 1195,4,60000,20000 018-5,100,52,21,18 monster Squirrel 1055,6,30000,30000 018-5,102,88,22,14 monster Vanity Pixie 1215,2,320000,0 018-5,86,96,18,10 monster Nulity Pixie 1218,1,320000,0 |