diff options
author | Dastgir <dastgir@users.noreply.github.com> | 2016-10-03 18:15:30 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-03 18:15:30 +0530 |
commit | 2782e41ed7be8f5331b91165b0f6083bae8f8029 (patch) | |
tree | 3b25550442bf12773432f757f3b4923d17eb0f59 /db/re | |
parent | 4765df464bf860906e395b73721d761b93cf3f35 (diff) | |
parent | 74241c082141ab483a43b1a8cadc54d9729761d0 (diff) | |
download | hercules-2782e41ed7be8f5331b91165b0f6083bae8f8029.tar.gz hercules-2782e41ed7be8f5331b91165b0f6083bae8f8029.tar.bz2 hercules-2782e41ed7be8f5331b91165b0f6083bae8f8029.tar.xz hercules-2782e41ed7be8f5331b91165b0f6083bae8f8029.zip |
Merge pull request #1437 from Asheraf/items
Fix some item bonus using wrong SkillNames
Diffstat (limited to 'db/re')
-rw-r--r-- | db/re/item_db.conf | 42 |
1 files changed, 26 insertions, 16 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 9e393d80e..41a44c2ee 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -22064,19 +22064,22 @@ item_db: ( EquipLv: 130 View: 13 Script: <" - bonus bInt,getrefine(); - bonus bDex,getrefine(); - if(getrefine()>4) { - bonus2 bSkillAtk,WM_REVERBERATION,10; - bonus2 bVariableCastrate,WM_REVERBERATION,-10; + bonus bInt, getrefine(); + bonus bDex, getrefine(); + if(getrefine() > 4) { + bonus2 bSkillAtk, WM_REVERBERATION_MELEE, 10; + bonus2 bSkillAtk, WM_REVERBERATION_MAGIC, 10; + bonus2 bVariableCastrate, WM_REVERBERATION, -10; } - if(getrefine()>6) { - bonus2 bSkillAtk,WM_REVERBERATION,10; - bonus2 bVariableCastrate,WM_REVERBERATION,-10; + if(getrefine() > 6) { + bonus2 bSkillAtk, WM_REVERBERATION_MELEE, 10; + bonus2 bSkillAtk, WM_REVERBERATION_MAGIC, 10; + bonus2 bVariableCastrate, WM_REVERBERATION, -10; } - if(getrefine()>8) { - bonus2 bSkillAtk,WM_REVERBERATION,20; - bonus2 bVariableCastrate,WM_REVERBERATION,-20; + if(getrefine() > 8) { + bonus2 bSkillAtk, WM_REVERBERATION_MELEE, 20; + bonus2 bSkillAtk, WM_REVERBERATION_MAGIC, 20; + bonus2 bVariableCastrate, WM_REVERBERATION, -20; } "> }, @@ -49442,9 +49445,16 @@ item_db: ( Weight: 10 Loc: 2 Script: <" - bonus2 bSkillAtk,WM_REVERBERATION,50; - if (getequipweaponlv(EQI_HAND_R) == 4) bonus2 bSkillAtk,WM_REVERBERATION,50; - if (getrefine() >= 10) bonus2 bSkillAtk,WM_REVERBERATION,50; + bonus2 bSkillAtk, WM_REVERBERATION_MELEE, 50; + bonus2 bSkillAtk, WM_REVERBERATION_MAGIC, 50; + if (getequipweaponlv(EQI_HAND_R) == 4) { + bonus2 bSkillAtk, WM_REVERBERATION_MELEE, 50; + bonus2 bSkillAtk, WM_REVERBERATION_MAGIC, 50; + } + if (getrefine() >= 10) { + bonus2 bSkillAtk, WM_REVERBERATION_MELEE, 50; + bonus2 bSkillAtk, WM_REVERBERATION_MAGIC, 50; + } "> }, @@ -67521,7 +67531,7 @@ item_db: ( EquipLv: 100 View: 1126 Script: <" - bonus2 bSkillAtk,WM_SEVERE_RAINSTORM,15; + bonus2 bSkillAtk,WM_SEVERE_RAINSTORM_MELEE,15; if(getrefine()>6) { bonus bFixedCastrate,-(getskilllv(BA_MUSICALLESSON)*4); } if(getrefine()>8) { bonus2 bSkillUseSP,WM_SEVERE_RAINSTORM,10; } "> @@ -135195,7 +135205,7 @@ item_db: ( View: 913 Script: <" bonus bFixedCastrate,-(getskilllv(BA_MUSICALLESSON)*5); - if(getrefine()>6) { bonus2 bSkillAtk,WM_SEVERE_RAINSTORM,25; } + if(getrefine()>6) { bonus2 bSkillAtk,WM_SEVERE_RAINSTORM_MELEE,25; } if(getrefine()>8) { bonus bMaxSP,200; } "> }, |