summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-09-23 00:43:14 +0200
committerGitHub <noreply@github.com>2019-09-23 00:43:14 +0200
commitab1127c269daa390f1648f6e8615fe8c209d879e (patch)
tree0533a577d20b4b59d04907729e3dc22468b4dd32
parent12b28c17795d795e8a091f083560d4fa9dea3b1e (diff)
parent548aa1263b69c2c5551d2c5f3d501ebc82d1e067 (diff)
downloadhercules-ab1127c269daa390f1648f6e8615fe8c209d879e.tar.gz
hercules-ab1127c269daa390f1648f6e8615fe8c209d879e.tar.bz2
hercules-ab1127c269daa390f1648f6e8615fe8c209d879e.tar.xz
hercules-ab1127c269daa390f1648f6e8615fe8c209d879e.zip
Merge pull request #2529 from Asheraf/itemcombolibconf
Convert item combo db to use libconfig
-rw-r--r--db/pre-re/item_combo_db.conf1280
-rw-r--r--db/pre-re/item_combo_db.txt165
-rw-r--r--db/re/item_combo_db.conf3224
-rw-r--r--db/re/item_combo_db.txt439
-rw-r--r--src/map/itemdb.c187
-rw-r--r--src/map/itemdb.h4
-rw-r--r--src/plugins/HPMHooking/HPMHooking.Defs.inc8
-rw-r--r--src/plugins/HPMHooking/HPMHooking_map.HPMHooksCore.inc16
-rw-r--r--src/plugins/HPMHooking/HPMHooking_map.HookingPoints.inc4
-rw-r--r--src/plugins/HPMHooking/HPMHooking_map.Hooks.inc55
-rw-r--r--tools/itemcombodbconverter.py112
-rw-r--r--tools/utils/common.py6
12 files changed, 4739 insertions, 761 deletions
diff --git a/db/pre-re/item_combo_db.conf b/db/pre-re/item_combo_db.conf
new file mode 100644
index 000000000..e2ed5d486
--- /dev/null
+++ b/db/pre-re/item_combo_db.conf
@@ -0,0 +1,1280 @@
+//================= Hercules Database =====================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2019 Hercules Dev Team
+//=
+//= Hercules is free software: you can redistribute it and/or modify
+//= it under the terms of the GNU General Public License as published by
+//= the Free Software Foundation, either version 3 of the License, or
+//= (at your option) any later version.
+//=
+//= This program is distributed in the hope that it will be useful,
+//= but WITHOUT ANY WARRANTY; without even the implied warranty of
+//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//= GNU General Public License for more details.
+//=
+//= You should have received a copy of the GNU General Public License
+//= along with this program. If not, see <http://www.gnu.org/licenses/>.
+//================= Description ===========================================
+// Configurations file for status effects
+//=========================================================================
+
+combo_db: (
+/**************************************************************************
+ ************* Entry structure ********************************************
+ **************************************************************************
+{
+ // ================ Mandatory fields ===============================
+ Items: ["item_list"] (string, array) list of items
+ Script: <"
+ Script
+ (it can be multi-line)
+ ">
+}
+**************************************************************************/
+{
+ Items: ["Dragon_Slayer", "Dragon_Breath"]
+ Script: <"
+ bonus2 bAddRace, RC_Dragon, 5;
+ ">
+},
+{
+ Items: ["Long_Horn", "Valkyrjas_Shield"]
+ Script: <"
+ bonus3 bAutoSpellWhenHit, "HP_ASSUMPTIO", 2, 5;
+ ">
+},
+{
+ Items: ["Long_Horn", "Tournament_Shield"]
+ Script: <"
+ bonus2 bAddRace, RC_All, 4;
+ bonus bDef, 2;
+ ">
+},
+{
+ Items: ["Battle_Hook", "Tournament_Shield"]
+ Script: <"
+ bonus2 bAddRace, RC_All, 4;
+ bonus bDef, 2;
+ ">
+},
+{
+ Items: ["Hunting_Spear", "Tournament_Shield"]
+ Script: <"
+ bonus2 bAddRace, RC_All, 4;
+ bonus bDef, 2;
+ ">
+},
+{
+ Items: ["Long_Horn_M", "Valkyrjas_Shield"]
+ Script: <"
+ bonus3 bAutoSpellWhenHit, "HP_ASSUMPTIO", 2, 5;
+ ">
+},
+{
+ Items: ["Staff_Of_Soul", "Spiritual_Ring"]
+ Script: <"
+ bonus bMatkRate, 6;
+ bonus bDex, 2;
+ bonus bCastrate, -getequiprefinerycnt(EQI_HAND_R);
+ ">
+},
+{
+ Items: ["Staff_Of_Soul", "Spiritual_Ring_C"]
+ Script: <"
+ bonus bMatkRate, 6;
+ bonus bDex, 2;
+ bonus bCastrate, -getequiprefinerycnt(EQI_HAND_R);
+ ">
+},
+{
+ Items: ["Wizardy_Staff", "Spiritual_Ring"]
+ Script: <"
+ bonus bMatkRate, 6;
+ bonus bDex, 2;
+ bonus bCastrate, -getequiprefinerycnt(EQI_HAND_R);
+ ">
+},
+{
+ Items: ["Wizardy_Staff", "Spiritual_Ring_C"]
+ Script: <"
+ bonus bMatkRate, 6;
+ bonus bDex, 2;
+ bonus bCastrate, -getequiprefinerycnt(EQI_HAND_R);
+ ">
+},
+{
+ Items: ["Gae_Bolg", "Dragon_Breath"]
+ Script: <"
+ bonus2 bAddRace, RC_Dragon, 5;
+ ">
+},
+{
+ Items: ["Spectral_Spear", "Red_Silk_Seal"]
+ Script: <"
+ bonus2 bResEff, Eff_Confusion, 9500;
+ ">
+},
+{
+ Items: ["Spectral_Spear_", "Red_Silk_Seal"]
+ Script: <"
+ bonus2 bResEff, Eff_Confusion, 9500;
+ ">
+},
+{
+ Items: ["Hollgrehenn_Hammer", "B_Harword_Card"]
+ Script: <"
+ bonus bBreakArmorRate, 900;
+ bonus bBreakWeaponRate, 900;
+ ">
+},
+{
+ Items: ["Principles_Of_Magic", "Librarian_Glove", "Pocket_Watch_"]
+ Script: <"
+ bonus bInt, 5;
+ bonus bMaxHP, 700;
+ bonus bAspdRate, 5;
+ ">
+},
+{
+ Items: ["Ancient_Magic", "Mage_Coat"]
+ Script: <"
+ bonus bMdef, 8;
+ bonus bMaxSPrate, 10;
+ bonus bInt, 4;
+ ">
+},
+{
+ Items: ["Ancient_Magic", "Mage_Coat_"]
+ Script: <"
+ bonus bMdef, 8;
+ bonus bMaxSPrate, 10;
+ bonus bInt, 4;
+ ">
+},
+{
+ Items: ["Ancient_Magic", "Librarian_Glove", "Pocket_Watch_"]
+ Script: <"
+ bonus bInt, 5;
+ bonus bMaxHP, 700;
+ bonus bAspdRate, 5;
+ ">
+},
+{
+ Items: ["Bone_Wand", "Skull_Cap"]
+ Script: <"
+ bonus bMatk, 10 * getequiprefinerycnt(EQI_HAND_R);
+ bonus bCastrate, -10;
+ ">
+},
+{
+ Items: ["Staff_Of_Wing", "Wing_Of_Eagle"]
+ Script: <"
+ bonus bSpeedRate, 25;
+ ">
+},
+{
+ Items: ["Survival_Rod_", "Clack_Of_Servival"]
+ Script: <"
+ bonus bMaxHP, 300;
+ bonus bMatkRate, getequiprefinerycnt(EQI_HAND_R) - 5;
+ bonus2 bSubEle, Ele_Neutral, getequiprefinerycnt(EQI_HAND_R) * 3;
+ ">
+},
+{
+ Items: ["Survival_Rod_", "Cloak_Of_Survival_C"]
+ Script: <"
+ bonus bMatkRate, 5;
+ bonus2 bSubEle, Ele_Neutral, 25;
+ ">
+},
+{
+ Items: ["Survival_Rod2_", "Clack_Of_Servival"]
+ Script: <"
+ bonus bMaxHP, 300;
+ bonus bMatkRate, getequiprefinerycnt(EQI_HAND_R) - 5;
+ bonus2 bSubEle, Ele_Neutral, getequiprefinerycnt(EQI_HAND_R) * 3;
+ ">
+},
+{
+ Items: ["Survival_Rod2_", "Cloak_Of_Survival_C"]
+ Script: <"
+ bonus bMatkRate, 5;
+ bonus2 bSubEle, Ele_Neutral, 25;
+ ">
+},
+{
+ Items: ["Walking_Stick", "Magician_Hat"]
+ Script: <"
+ bonus bDex, 2;
+ bonus bInt, 2;
+ bonus bSPrecovRate, 5;
+ bonus bMatkRate, getequiprefinerycnt(EQI_HAND_R);
+ ">
+},
+{
+ Items: ["Holy_Stick", "Exorcism_Bible"]
+ Script: <"
+ bonus2 bSkillAtk, "PR_MAGNUS", 20;
+ bonus3 bAutoSpellWhenHit, "PR_TURNUNDEAD", 1, 20;
+ ">
+},
+{
+ Items: ["Thorn_Staff", "Skull_Cap"]
+ Script: <"
+ bonus bMatk, 10 * getequiprefinerycnt(EQI_HAND_R);
+ bonus bCastrate, -10;
+ ">
+},
+{
+ Items: ["Luna_Bow", "Lunatic_Brooch"]
+ Script: <"
+ bonus bDex, 1;
+ bonus bMaxSP, 50;
+ bonus bSPrecovRate, 10;
+ ">
+},
+{
+ Items: ["Burning_Bow", "Fire_Arrow"]
+ Script: <"
+ bonus bLongAtkRate, 25;
+ ">
+},
+{
+ Items: ["Frozen_Bow", "Crystal_Arrow"]
+ Script: <"
+ bonus bLongAtkRate, 25;
+ ">
+},
+{
+ Items: ["Earth_Bow", "Stone_Arrow"]
+ Script: <"
+ bonus bLongAtkRate, 25;
+ bonus2 bAddEff, Eff_Stone, 1000;
+ ">
+},
+{
+ Items: ["Gust_Bow", "Arrow_Of_Wind"]
+ Script: <"
+ bonus bLongAtkRate, 25;
+ bonus3 bAutoSpell, "NJ_HUUJIN", 5, 100;
+ if (readparam(bInt) > 39)
+ bonus3 bAutoSpell, "NJ_HUUJIN", 5, 200;
+ ">
+},
+{
+ Items: ["Orc_Archer_Bow", "Steel_Arrow"]
+ Script: <"
+ bonus bLongAtkRate, 50;
+ ">
+},
+{
+ Items: ["Cursed_Lyre", "Cursed_Star"]
+ Script: <"
+ bonus bAtk, 25;
+ bonus3 bAddEff, Eff_Curse, 200, ATF_WEAPON | ATF_LONG | ATF_TARGET;
+ ">
+},
+{
+ Items: ["Divine_Cross", "Spiritual_Ring"]
+ Script: <"
+ bonus bMatkRate, 10;
+ bonus bDex, 2;
+ bonus2 bSubRace, RC_Demon, 10;
+ bonus2 bSubRace, RC_Undead, 10;
+ ">
+},
+{
+ Items: ["Divine_Cross", "Spiritual_Ring_C"]
+ Script: <"
+ bonus bMatkRate, 10;
+ bonus bDex, 2;
+ bonus2 bSubRace, RC_Demon, 10;
+ bonus2 bSubRace, RC_Undead, 10;
+ ">
+},
+{
+ Items: ["Memorize_Book", "Pocket_Watch_", "One_Eyed_Glass"]
+ Script: <"
+ bonus bHPrecovRate, 15;
+ bonus bSPrecovRate, 15;
+ bonus bMatkRate, 7;
+ ">
+},
+{
+ Items: ["Stone_Buckler", "Odins_Blessing", "Magni_Cap"]
+ Script: <"
+ bonus bStr, 2;
+ bonus bDef, 5;
+ bonus bMdef, 5;
+ if (BaseClass == Job_Swordman)
+ bonus bDef, 6;
+ ">
+},
+{
+ Items: ["Valkyrjas_Shield", "Odins_Blessing", "Fricca_Circlet"]
+ Script: <"
+ bonus bDef, 2 - getequiprefinerycnt(EQI_HAND_L) - getequiprefinerycnt(EQI_HEAD_TOP);
+ bonus bMdef, 5 + getequiprefinerycnt(EQI_HAND_L) + getequiprefinerycnt(EQI_HEAD_TOP);
+ ">
+},
+{
+ Items: ["Angels_Safeguard", "Angels_Protection", "Angels_Arrival", "Angels_Warmth", "Kiss_Of_Angel"]
+ Script: <"
+ bonus bMaxHP, 900;
+ bonus bMaxSP, 100;
+ bonus3 bAutoSpellWhenHit, "HP_ASSUMPTIO", 1, 30;
+ ">
+},
+{
+ Items: ["Memorize_Book_", "Pocket_Watch_", "One_Eyed_Glass"]
+ Script: <"
+ bonus bHPrecovRate, 15;
+ bonus bSPrecovRate, 15;
+ bonus bMatkRate, 7;
+ ">
+},
+{
+ Items: ["Orleans_Server", "Orleans_Glove"]
+ Script: <"
+ bonus bCastrate, -10;
+ ">
+},
+{
+ Items: ["Thorny_Buckler", "Bison_Horn"]
+ Script: <"
+ bonus bAspdRate, 10;
+ bonus bShortWeaponDamageReturn, 5;
+ ">
+},
+{
+ Items: ["Shadow_Guard", "Shadow_Walk"]
+ Script: <"
+ bonus2 bAddEff, Eff_Blind, 500;
+ autobonus "{ bonus bFlee,20; }", 200, 10000, BF_WEAPON, "{ specialeffect(EF_INCAGILITY, AREA, playerattached()); }";
+ ">
+},
+{
+ Items: ["Valkyrjas_Shield_C", "Odins_Blessing", "Fricca_Circlet"]
+ Script: <"
+ bonus bDef, 2 - getrefine() - getequiprefinerycnt(EQI_HEAD_TOP);
+ bonus bMdef, 5 + getrefine() + getequiprefinerycnt(EQI_HEAD_TOP);
+ ">
+},
+{
+ Items: ["Mr_Smile", "Wit_Pumpkin_Hat"]
+ Script: <"
+ bonus2 bAddMonsterDropItem, 12192, 1;
+ ">
+},
+{
+ Items: ["Phantom_Of_Opera", "Wit_Pumpkin_Hat"]
+ Script: <"
+ bonus bFlee, 10;
+ bonus2 bAddEff, Eff_Stun, 1000;
+ ">
+},
+{
+ Items: ["Elven_Ears", "Skull_Cap"]
+ Script: <"
+ bonus bUseSPrate, -3;
+ ">
+},
+{
+ Items: ["Padded_Armor", "Hyper_Changer"]
+ Script: <"
+ bonus bDef, 5;
+ bonus bMaxHP, 150;
+ ">
+},
+{
+ Items: ["Padded_Armor_", "Hyper_Changer"]
+ Script: <"
+ bonus bDef, 5;
+ bonus bMaxHP, 150;
+ ">
+},
+{
+ Items: ["Ninja_Suit", "Shinobis_Sash"]
+ Script: <"
+ bonus bUseSPrate, -20;
+ bonus bMaxHP, 300;
+ ">
+},
+{
+ Items: ["G_Strings", "Undershirt"]
+ Script: <"
+ bonus bAgi, 5;
+ bonus bFlee, 10;
+ ">
+},
+{
+ Items: ["G_Strings", "Undershirt_"]
+ Script: <"
+ bonus bAgi, 5;
+ bonus bFlee, 10;
+ ">
+},
+{
+ Items: ["Odins_Blessing", "Fricco_Shoes", "Falcon_Robe"]
+ Script: <"
+ bonus bAgi, 3;
+ bonus bMaxHPrate, 5;
+ bonus bMaxSPrate, 5;
+ ">
+},
+{
+ Items: ["Odins_Blessing", "Vidars_Boots", "Valis_Manteau"]
+ Script: <"
+ bonus bVit, 5;
+ bonus bHPrecovRate, 10;
+ bonus bSPrecovRate, 10;
+ ">
+},
+{
+ Items: ["Odins_Blessing", "Ulle_Cap"]
+ Script: <"
+ if (readparam(bDex) > 69)
+ bonus bUseSPrate, -10;
+ ">
+},
+{
+ Items: ["Odins_Blessing", "Ulle_Cap_I"]
+ Script: <"
+ if (readparam(bDex) > 69)
+ bonus bUseSPrate, -10;
+ ">
+},
+{
+ Items: ["Goibnes_Armor", "Goibnes_Combat_Boots", "Goibnes_Shoulder_Arms", "Goibnes_Helmet"]
+ Script: <"
+ bonus bVit, 5;
+ bonus bMaxHPrate, 15;
+ bonus bMaxSPrate, 5;
+ bonus bDef, 5;
+ bonus bMdef, 15;
+ bonus2 bSubEle, Ele_Water, 10;
+ bonus2 bSubEle, Ele_Earth, 10;
+ bonus2 bSubEle, Ele_Fire, 10;
+ bonus2 bSubEle, Ele_Wind, 10;
+ ">
+},
+{
+ Items: ["Valkyrie_Armor", "Valkyrie_Shoes", "Valkyrie_Manteau", "Valkyrie_Helm"]
+ Script: <"
+ bonus bAllStats, 1;
+ ">
+},
+{
+ Items: ["Dress_Of_Angel", "Angeling_Hairpin"]
+ Script: <"
+ bonus bLuk, 6;
+ bonus bFlee, 5;
+ bonus bInt, 2;
+ ">
+},
+{
+ Items: ["Ninja_Suit_", "Shinobis_Sash"]
+ Script: <"
+ bonus bUseSPrate, -20;
+ bonus bMaxHP, 300;
+ ">
+},
+{
+ Items: ["G_Strings_", "Undershirt"]
+ Script: <"
+ bonus bAgi, 5;
+ bonus bFlee, 10;
+ ">
+},
+{
+ Items: ["G_Strings_", "Undershirt_"]
+ Script: <"
+ bonus bAgi, 5;
+ bonus bFlee, 10;
+ ">
+},
+{
+ Items: ["Diabolus_Robe", "Diabolus_Ring"]
+ Script: <"
+ bonus2 bAddRace, RC_All, 3;
+ bonus bMatkRate, 3;
+ ">
+},
+{
+ Items: ["Diabolus_Armor", "Diabolus_Ring"]
+ Script: <"
+ bonus2 bAddRace, RC_All, 3;
+ bonus bMatkRate, 3;
+ ">
+},
+{
+ Items: ["Assaulter_Plate", "Battle_Greave", "Commander_Manteau"]
+ Script: <"
+ bonus2 bSubRace, RC_NonDemiPlayer, -300;
+ bonus bVit, 3;
+ bonus bMaxHPrate, 12;
+ bonus bHealPower2, 10;
+ bonus bAddItemHealRate, 10;
+ autobonus2 "{ bonus2 bHPRegenRate,600,1000; }", 5, 10000, BF_WEAPON, "{ specialeffect(EF_HEAL, AREA, playerattached()); }";
+ ">
+},
+{
+ Items: ["Elite_Engineer_Armor", "Battle_Greave", "Commander_Manteau"]
+ Script: <"
+ bonus2 bSubRace, RC_NonDemiPlayer, -300;
+ bonus bStr, 3;
+ bonus bMaxHPrate, 12;
+ bonus2 bSkillAtk, "MC_MAMMONITE", 20;
+ bonus2 bSkillHeal, "AM_POTIONPITCHER", 10;
+ bonus2 bSkillHeal2, "AM_POTIONPITCHER", 10;
+ bonus2 bSkillHeal2, "AL_HEAL", 10;
+ bonus bUnbreakableArmor, 0;
+ ">
+},
+{
+ Items: ["Assassin_Robe", "Battle_Greave", "Commander_Manteau"]
+ Script: <"
+ bonus2 bSubRace, RC_NonDemiPlayer, -300;
+ bonus bAgi, 3;
+ bonus bMaxHPrate, 12;
+ bonus bCritical, 5;
+ bonus bAspdRate, 5;
+ autobonus "{ bonus2 bHPRegenRate,300,1000; }", 10, 10000, BF_WEAPON, "{ specialeffect(EF_HEAL, AREA, playerattached()); }";
+ ">
+},
+{
+ Items: ["Warlock_Battle_Robe", "Combat_Boots", "Commander_Manteau_"]
+ Script: <"
+ bonus2 bSubRace, RC_NonDemiPlayer, -300;
+ bonus bInt, 3;
+ bonus bMaxHPrate, 12;
+ bonus2 bResEff, Eff_Stun, 2000;
+ autobonus2 "{ bonus bDefEle,Ele_Ghost; }", 30, 10000, BF_WEAPON, "{ specialeffect(EF_ENERGYCOAT, AREA, playerattached()); }";
+ ">
+},
+{
+ Items: ["Medic_Robe", "Combat_Boots", "Commander_Manteau_"]
+ Script: <"
+ bonus2 bSubRace, RC_NonDemiPlayer, -300;
+ bonus bInt, 3;
+ bonus bMaxHPrate, 12;
+ bonus2 bCastrate, "AL_HOLYLIGHT", -50;
+ bonus bHealPower, 6;
+ autobonus2 "{ bonus bDefEle,Ele_Ghost; }", 30, 10000, BF_WEAPON, "{ specialeffect(EF_ENERGYCOAT, AREA, playerattached()); }";
+ ">
+},
+{
+ Items: ["Elite_Archer_Suit", "Combat_Boots", "Commander_Manteau_"]
+ Script: <"
+ bonus2 bSubRace, RC_NonDemiPlayer, -300;
+ bonus bDex, 3;
+ bonus bMaxHPrate, 12;
+ bonus bLongAtkDef, 10;
+ bonus bDelayrate, -25;
+ ">
+},
+{
+ Items: ["Elite_Shooter_Suit", "Battle_Boots", "Sheriff_Manteau"]
+ Script: <"
+ bonus2 bSubRace, RC_NonDemiPlayer, -300;
+ bonus bDex, 3;
+ bonus bMaxHPrate, 12;
+ bonus bLongAtkDef, 10;
+ bonus bDelayrate, -25;
+ ">
+},
+{
+ Items: ["Sprint_Mail", "Sprint_Shoes", "Sprint_Ring"]
+ Script: <"
+ bonus bMaxHPrate, 7;
+ bonus bMaxSPrate, 7;
+ bonus bCastrate, -3;
+ bonus bDelayrate, -15;
+ ">
+},
+{
+ Items: ["Improved_Tights", "Linen_Glove"]
+ Script: <"
+ bonus bFlee2, 5;
+ ">
+},
+{
+ Items: ["Krieger_Suit1", "Krieger_Shoes1", "Krieger_Muffler1"]
+ Script: <"
+ bonus2 bAddRace, RC_All, 5;
+ bonus bMatkRate, 5;
+ bonus2 bResEff, Eff_Freeze, 10000;
+ bonus2 bSkillHeal2, "AM_POTIONPITCHER", 3;
+ bonus2 bSkillHeal2, "AL_HEAL", 3;
+ bonus2 bSkillHeal2, "PR_SANCTUARY", 3;
+ ">
+},
+{
+ Items: ["Dragon_Vest", "Dragon_Manteau"]
+ Script: <"
+ bonus bAgi, 5;
+ bonus bFlee, 15;
+ ">
+},
+{
+ Items: ["Cuffs", "Bloody_Iron_Ball"]
+ Script: <"
+ bonus bBaseAtk, 50;
+ bonus2 bAddDefClass, 1196, 20;
+ bonus2 bAddDefClass, 1197, 20;
+ ">
+},
+{
+ Items: ["Tidal_Shoes", "Wool_Scarf"]
+ Script: <"
+ bonus bHPrecovRate, 5;
+ bonus bMaxHPrate, 10;
+ ">
+},
+{
+ Items: ["Black_Leather_Boots", "Rider_Insignia"]
+ Script: <"
+ bonus bFlee, 10;
+ ">
+},
+{
+ Items: ["Black_Leather_Boots", "Rider_Insignia_"]
+ Script: <"
+ bonus bFlee, 10;
+ ">
+},
+{
+ Items: ["Black_Leather_Boots", "Rider_Insignia_M"]
+ Script: <"
+ bonus bFlee, 10;
+ ">
+},
+{
+ Items: ["Diabolus_Boots", "Diabolus_Manteau"]
+ Script: <"
+ bonus bMaxHPrate, 6;
+ ">
+},
+{
+ Items: ["Black_Leather_Boots_", "Rider_Insignia"]
+ Script: <"
+ bonus bFlee, 10;
+ ">
+},
+{
+ Items: ["Black_Leather_Boots_", "Rider_Insignia_"]
+ Script: <"
+ bonus bFlee, 10;
+ ">
+},
+{
+ Items: ["Black_Leather_Boots_", "Rider_Insignia_M"]
+ Script: <"
+ bonus bFlee, 10;
+ ">
+},
+{
+ Items: ["Beach_Sandal", "Beach_Manteau"]
+ Script: <"
+ bonus bFlee, 5;
+ ">
+},
+{
+ Items: ["Morpheuss_Shawl", "Morpheuss_Ring", "Morpheuss_Armlet", "Morpheuss_Hood"]
+ Script: <"
+ bonus bInt, 5;
+ bonus bMdef, 11;
+ bonus bMaxSPrate, 20;
+ bonus bNoCastCancel, 0;
+ bonus bCastrate, 25;
+ ">
+},
+{
+ Items: ["Morriganes_Manteau", "Morriganes_Belt", "Morriganes_Pendant", "Morriganes_Helm"]
+ Script: <"
+ bonus bStr, 2;
+ bonus bLuk, 9;
+ bonus bCritical, 13;
+ bonus bBaseAtk, 18;
+ bonus bFlee2, 13;
+ ">
+},
+{
+ Items: ["Dragon_Breath", "Dragon_Killer"]
+ Script: <"
+ bonus2 bAddRace, RC_Dragon, 5;
+ ">
+},
+{
+ Items: ["Clip", "Spiritual_Ring"]
+ Script: <"
+ bonus2 bSkillAtk, "AL_HEAL", 50;
+ bonus2 bSkillAtk, "PR_MAGNUS", 30;
+ bonus bSPrecovRate, 9;
+ ">
+},
+{
+ Items: ["Clip", "Spiritual_Ring_C"]
+ Script: <"
+ bonus2 bSkillAtk, "AL_HEAL", 50;
+ bonus2 bSkillAtk, "PR_MAGNUS", 30;
+ bonus bSPrecovRate, 9;
+ ">
+},
+{
+ Items: ["Clip", "Spiritual_Ring_M"]
+ Script: <"
+ bonus2 bSkillAtk, "AL_HEAL", 50;
+ bonus2 bSkillAtk, "PR_MAGNUS", 30;
+ bonus bSPrecovRate, 9;
+ ">
+},
+{
+ Items: ["Rosary", "Spiritual_Ring"]
+ Script: <"
+ bonus2 bSkillAtk, "AL_HEAL", 50;
+ bonus2 bSkillAtk, "PR_MAGNUS", 30;
+ bonus bSPrecovRate, 9;
+ ">
+},
+{
+ Items: ["Rosary", "Spiritual_Ring_C"]
+ Script: <"
+ bonus2 bSkillAtk, "AL_HEAL", 50;
+ bonus2 bSkillAtk, "PR_MAGNUS", 30;
+ bonus bSPrecovRate, 9;
+ ">
+},
+{
+ Items: ["Rosary", "Spiritual_Ring_M"]
+ Script: <"
+ bonus2 bSkillAtk, "AL_HEAL", 50;
+ bonus2 bSkillAtk, "PR_MAGNUS", 30;
+ bonus bSPrecovRate, 9;
+ ">
+},
+{
+ Items: ["Ring_Of_Rogue", "Cold_Heart"]
+ Script: <"
+ bonus2 bAddSize, Size_Medium, 8;
+ bonus bAspdRate, getequiprefinerycnt(EQI_HAND_R) / 2;
+ ">
+},
+{
+ Items: ["Ring_Of_Rogue", "Black_Cat"]
+ Script: <"
+ bonus2 bAddSize, Size_Large, 8;
+ bonus bHit, getequiprefinerycnt(EQI_HAND_R) / 2;
+ bonus bCastrate, -getequiprefinerycnt(EQI_HAND_R) / 2;
+ ">
+},
+{
+ Items: ["Rosary_", "Spiritual_Ring"]
+ Script: <"
+ bonus2 bSkillAtk, "AL_HEAL", 50;
+ bonus2 bSkillAtk, "PR_MAGNUS", 30;
+ bonus bSPrecovRate, 9;
+ ">
+},
+{
+ Items: ["Rosary_", "Spiritual_Ring_C"]
+ Script: <"
+ bonus2 bSkillAtk, "AL_HEAL", 50;
+ bonus2 bSkillAtk, "PR_MAGNUS", 30;
+ bonus bSPrecovRate, 9;
+ ">
+},
+{
+ Items: ["Rosary_", "Spiritual_Ring_M"]
+ Script: <"
+ bonus2 bSkillAtk, "AL_HEAL", 50;
+ bonus2 bSkillAtk, "PR_MAGNUS", 30;
+ bonus bSPrecovRate, 9;
+ ">
+},
+{
+ Items: ["Ring_Of_Flame_Lord", "Ring_Of_Resonance"]
+ Script: <"
+ bonus4 bAutoSpell, "MO_EXTREMITYFIST", 1, 3, 1;
+ bonus3 bAutoSpell, "PR_LEXAETERNA", 1, 20;
+ bonus3 bAutoSpell, "AS_SONICBLOW", 5, 50;
+ bonus3 bAutoSpell, "MO_INVESTIGATE", 5, 20;
+ bonus3 bAutoSpell, "ASC_METEORASSAULT", 2, 50;
+ ">
+},
+{
+ Items: ["Medal_Swordman", "Krieger_Ring1"]
+ Script: <"
+ bonus2 bAddRace, RC_All, 5;
+ bonus bMatkRate, 3;
+ bonus bHealPower, 5;
+ ">
+},
+{
+ Items: ["Medal_Thief", "Krieger_Ring1"]
+ Script: <"
+ bonus2 bAddRace, RC_All, 5;
+ bonus bMatkRate, 3;
+ bonus bHealPower, 5;
+ ">
+},
+{
+ Items: ["Medal_Acolyte", "Krieger_Ring1"]
+ Script: <"
+ bonus2 bAddRace, RC_All, 5;
+ bonus bMatkRate, 3;
+ bonus bHealPower, 5;
+ ">
+},
+{
+ Items: ["Medal_Mage", "Krieger_Ring1"]
+ Script: <"
+ bonus2 bAddRace, RC_All, 5;
+ bonus bMatkRate, 3;
+ bonus bHealPower, 5;
+ ">
+},
+{
+ Items: ["Medal_Archer", "Krieger_Ring1"]
+ Script: <"
+ bonus2 bAddRace, RC_All, 5;
+ bonus bMatkRate, 3;
+ bonus bHealPower, 5;
+ ">
+},
+{
+ Items: ["Medal_Merchant", "Krieger_Ring1"]
+ Script: <"
+ bonus2 bAddRace, RC_All, 5;
+ bonus bMatkRate, 3;
+ bonus bHealPower, 5;
+ ">
+},
+{
+ Items: ["Icarus_Wing", "Bowman_Scarf"]
+ Script: <"
+ bonus bUseSPrate, -25;
+ ">
+},
+{
+ Items: ["Medal_Gunner", "Krieger_Ring1"]
+ Script: <"
+ bonus2 bAddRace, RC_All, 5;
+ bonus bMatkRate, 3;
+ bonus bHealPower, 5;
+ ">
+},
+{
+ Items: ["Shaman_Ring", "Shaman_Earing", "Shamans_Hair_Ornament"]
+ Script: <"
+ bonus bMaxHP, 300;
+ bonus bMatkRate, 5;
+ bonus2 bSubEle, Ele_Neutral, 5;
+ ">
+},
+{
+ Items: ["Dark_Knight_Belt", "Dark_Knight_Glove", "Dark_Knight_Mask"]
+ Script: <"
+ bonus bMatkRate, 10;
+ bonus bInt, 5;
+ bonus2 bSubRace, RC_Angel, 10;
+ ">
+},
+{
+ Items: ["Dark_Knight_Belt", "Dark_Knight_Glove", "Dark_Knight_MaskB"]
+ Script: <"
+ bonus bMatkRate, 10;
+ bonus bInt, 5;
+ bonus2 bSubRace, RC_Angel, 10;
+ ">
+},
+{
+ Items: ["Poring_Card", "Mastering_Card"]
+ Script: <"
+ bonus bFlee, 18;
+ ">
+},
+{
+ Items: ["Lunatic_Card", "Eclipse_Card"]
+ Script: <"
+ bonus bFlee, 18;
+ ">
+},
+{
+ Items: ["Chonchon_Card", "Dragon_Fly_Card"]
+ Script: <"
+ bonus bFlee, 18;
+ ">
+},
+{
+ Items: ["Roda_Frog_Card", "Toad_Card"]
+ Script: <"
+ bonus bFlee, 18;
+ ">
+},
+{
+ Items: ["Rocker_Card", "Vocal_Card"]
+ Script: <"
+ bonus bFlee, 18;
+ ">
+},
+{
+ Items: ["Skeleton_Card", "Skel_Prisoner_Card"]
+ Script: <"
+ bonus2 bAddEffWhenHit, Eff_Sleep, 600;
+ ">
+},
+{
+ Items: ["Tarou_Card", "Cramp_Card"]
+ Script: <"
+ bonus bStr, 3;
+ ">
+},
+{
+ Items: ["Wolf_Card", "Vagabond_Wolf_Card"]
+ Script: <"
+ bonus bFlee, 18;
+ ">
+},
+{
+ Items: ["Pecopeco_Card", "Grand_Peco_Card"]
+ Script: <"
+ bonus bDef, 3;
+ bonus bVit, 3;
+ ">
+},
+{
+ Items: ["Muka_Card", "Raggler_Card", "Baby_Leopard_Card", "Zipper_Bear_Card", "Mole_Card"]
+ Script: <"
+ bonus bStr, 4;
+ bonus bMaxHPrate, 7;
+ bonus bMaxSPrate, 7;
+ bonus2 bSkillAtk, "MC_MAMMONITE", 20;
+ bonus bSPDrainValue, 1;
+ if (BaseJob == Job_Alchemist) {
+ bonus3 bAutoSpell, "BS_ADRENALINE", 1, 10;
+ bonus2 bAddMonsterDropItem, 7139, 3;
+ bonus2 bAddMonsterDropItem, 905, 10;
+ }
+ ">
+},
+{
+ Items: ["Stainer_Card", "Wander_Man_Card", "Shinobi_Card", "Wild_Rose_Card", "Whikebain_Card"]
+ Script: <"
+ bonus bStr, 6;
+ bonus bAgi, 4;
+ bonus2 bSkillAtk, "RG_BACKSTAP", 10;
+ if (getskilllv("RG_STRIPARMOR") == 5)
+ bonus3 bAutoSpell, "RG_STRIPARMOR", 5, 50;
+ if (BaseJob == Job_Rogue) {
+ bonus bUseSPrate, -20;
+ bonus3 bAutoSpell, "RG_INTIMIDATE", 1, -20;
+ }
+ ">
+},
+{
+ Items: ["BigFoot_Card", "Grizzly_Card"]
+ Script: <"
+ bonus2 bAddEffWhenHit, Eff_Blind, 600;
+ ">
+},
+{
+ Items: ["Munak_Card", "Bon_Gun_Card", "Hyegun_Card"]
+ Script: <"
+ bonus bAllStats, 1;
+ ">
+},
+{
+ Items: ["Mummy_Card", "Ancient_Mummy_Card"]
+ Script: <"
+ bonus bPerfectHitAddRate, 20;
+ ">
+},
+{
+ Items: ["Nightmare_Card", "Nightmare_Terror_Card"]
+ Script: <"
+ bonus2 bAddEffWhenHit, Eff_Curse, 600;
+ ">
+},
+{
+ Items: ["Crab_Card", "Aster_Card", "Shellfish_Card"]
+ Script: <"
+ bonus3 bAddMonsterDropItem, 544, RC_Fish, 3000;
+ bonus2 bAddEle, Ele_Water, 30;
+ ">
+},
+{
+ Items: ["Dark_Lord_Card", "Dark_Illusion_Card"]
+ Script: <"
+ bonus bMaxHPrate, 20;
+ bonus bMaxSPrate, 20;
+ bonus bCastrate, -10;
+ ">
+},
+{
+ Items: ["The_Paper_Card", "Wander_Man_Card", "Shinobi_Card", "Wild_Rose_Card", "Dancing_Dragon_Card"]
+ Script: <"
+ bonus bAgi, 5;
+ bonus bStr, 5;
+ bonus bAspdRate, 5;
+ bonus bSpeedRate, 25;
+ bonus2 bSPDrainValue, 1, 0;
+ if (BaseClass == Job_Thief)
+ bonus bNoGemStone, 0;
+ ">
+},
+{
+ Items: ["Dragon_Tail_Card", "Merman_Card", "Anolian_Card", "Alligator_Card", "Cruiser_Card"]
+ Script: <"
+ bonus bAgi, 5;
+ bonus bDex, 3;
+ bonus bLongAtkRate, 20;
+ bonus bPerfectHitAddRate, 20;
+ if (BaseClass == Job_Archer) {
+ bonus2 bExpAddRace, RC_Brute, 5;
+ bonus2 bWeaponComaRace, RC_Brute, 100;
+ }
+ ">
+},
+{
+ Items: ["Dragon_Tail_Card", "Anolian_Card", "Alligator_Card", "Cruiser_Card", "Ferus__Card"]
+ Script: <"
+ bonus bDex, 5;
+ bonus2 bSkillAtk, "CG_ARROWVULCAN", 5;
+ bonus2 bSkillAtk, "DC_THROWARROW", 10;
+ bonus2 bSkillAtk, "BA_MUSICALSTRIKE", 10;
+ if (BaseJob == Job_Bard || BaseJob == Job_Dancer)
+ bonus3 bAutoSpellWhenHit, "CG_TAROTCARD", 2, 50;
+ ">
+},
+{
+ Items: ["Rideword_Card", "Live_Peach_Tree_Card", "Geographer_Card", "Cookie_Card", "Fur_Seal_Card"]
+ Script: <"
+ bonus bVit, 10;
+ bonus bCastrate, -10;
+ bonus bUseSPrate, -10;
+ if (BaseClass == Job_Acolyte) {
+ bonus2 bExpAddRace, RC_Undead, 5;
+ bonus2 bExpAddRace, RC_Demon, 5;
+ bonus2 bSubRace, RC_Undead, 30;
+ bonus2 bSubRace, RC_Demon, 30;
+ }
+ ">
+},
+{
+ Items: ["Rideword_Card", "Cookie_Card", "Fur_Seal_Card", "Waste_Stove_Card"]
+ Script: <"
+ bonus bStr, 3;
+ bonus bMaxSP, 80;
+ bonus bBaseAtk, 25;
+ bonus3 bAutoSpell, "AL_CRUCIS", 5, 10;
+ bonus2 bSkillAtk, "MO_EXTREMITYFIST", 10;
+ if (BaseJob == Job_Monk) {
+ bonus bUseSPrate, -10;
+ bonus bNoCastCancel, 0;
+ }
+ ">
+},
+{
+ Items: ["Raggler_Card", "Mystcase_Card", "Baby_Leopard_Card", "Zipper_Bear_Card", "Hylozoist_Card"]
+ Script: <"
+ bonus bLuk, 10;
+ bonus2 bSPDrainValue, 2, 0;
+ bonus2 bSkillAtk, 42, 20;
+ if (BaseClass == Job_Merchant) {
+ bonus2 bAddMonsterDropItem, 617, 5;
+ bonus bMagicDamageReturn, 20;
+ }
+ ">
+},
+{
+ Items: ["Loli_Ruri_Card", "Miyabi_Ningyo_Card", "Wicked_Nymph_Card", "Parasite_Card", "Harpy_Card", "Blood_Butterfly_Card"]
+ Script: <"
+ bonus bMaxHP, 500;
+ bonus bDef, 5;
+ bonus bMdef, 5;
+ bonus2 bSkillAtk, 14, 10;
+ bonus2 bSkillAtk, 19, 10;
+ bonus2 bSkillAtk, 20, 10;
+ if (BaseClass == Job_Mage) {
+ bonus bMatkRate, 3;
+ bonus bCastrate, -15;
+ }
+ ">
+},
+{
+ Items: ["Lude_Card", "Quve_Card"]
+ Script: <"
+ bonus bMaxHP, 300;
+ bonus bMaxSP, 60;
+ ">
+},
+{
+ Items: ["Miyabi_Ningyo_Card", "Wicked_Nymph_Card", "Harpy_Card", "Blood_Butterfly_Card", "Novus__Card"]
+ Script: <"
+ bonus bInt, 3;
+ bonus2 bSkillAtk, "WZ_HEAVENDRIVE", 10;
+ bonus2 bSkillAtk, "MG_THUNDERSTORM", 10;
+ if (BaseJob == Job_Sage) {
+ bonus bMagicDamageReturn, 20;
+ bonus2 bAddMonsterDropItem, 716, 100;
+ bonus2 bAddMonsterDropItem, 715, 100;
+ bonus bCastrate, -20;
+ }
+ ">
+},
+{
+ Items: ["Succubus_Card", "Incubus_Card"]
+ Script: <"
+ bonus bHPrecovRate, 30;
+ bonus bSPrecovRate, 30;
+ bonus bVit, 4;
+ bonus bInt, 4;
+ ">
+},
+{
+ Items: ["Solider_Card", "Assulter_Card", "Permeter_Card", "Freezer_Card", "Heater_Card"]
+ Script: <"
+ bonus bStr, 10;
+ bonus bMaxHPrate, 20;
+ bonus bHPrecovRate, 50;
+ bonus3 bAutoSpell, "BS_WEAPONPERFECT", 1, 3;
+ bonus2 bAddMonsterDropItem, 501, 500;
+ if (BaseClass == Job_Swordman) {
+ bonus2 bAddItemHealRate, Red_Potion, 50;
+ bonus2 bAddItemHealRate, Yellow_Potion, 50;
+ bonus2 bAddItemHealRate, Orange_Potion, 50;
+ bonus2 bAddItemHealRate, White_Potion, 50;
+ }
+ ">
+},
+{
+ Items: ["C_Tower_Manager_Card", "Alarm_Card", "Clock_Card", "Punk_Card"]
+ Script: <"
+ bonus bDef, 3;
+ bonus bMdef, 3;
+ ">
+},
+{
+ Items: ["Owl_Duke_Card", "Owl_Baron_Card"]
+ Script: <"
+ bonus3 bAutoSpell, "MG_LIGHTNINGBOLT", 5, 20;
+ ">
+},
+{
+ Items: ["Injustice_Card", "Zherlthsh_Card"]
+ Script: <"
+ bonus bBaseAtk, 20;
+ bonus bLuk, 3;
+ ">
+},
+{
+ Items: ["Permeter_Card", "Freezer_Card", "Heater_Card", "Archdam_Card"]
+ Script: <"
+ bonus bInt, 1;
+ bonus bStr, 1;
+ bonus bDef, 2;
+ bonus bSPrecovRate, 10;
+ bonus2 bSkillAtk, "PA_SHIELDCHAIN", 10;
+ bonus2 bSkillAtk, "PA_SACRIFICE", 10;
+ bonus bCastrate, -10;
+ if (BaseJob == Job_Crusader)
+ bonus bDefEle, Ele_Holy;
+ ">
+},
+{
+ Items: ["Garm_Baby_Card", "Garm_Card"]
+ Script: <"
+ bonus3 bAutoSpell, "MG_FROSTDIVER", 3, 250;
+ ">
+},
+{
+ Items: ["Zombie_Slaughter_Card", "Ragged_Zombie_Card"]
+ Script: <"
+ bonus2 bSPGainRace, RC_DemiPlayer, 2;
+ ">
+},
+{
+ Items: ["Blush", "Necktie"]
+ Script: <"
+ bonus bAspdRate, 3;
+ bonus bCastrate, 3;
+ ">
+},
+{
+ Items: ["Ear_Of_Devils_Wing", "Darkness_Helm_J"]
+ Script: <"
+ bonus bStr, 1;
+ bonus bAtkRate, 5;
+ ">
+},
+{
+ Items: ["Ear_Of_Angels_Wing", "Darkness_Helm_J"]
+ Script: <"
+ bonus bStr, 1;
+ bonus bAspdRate, 2;
+ ">
+},
+{
+ Items: ["Alarm_Mask", "Wit_Pumpkin_Hat"]
+ Script: <"
+ bonus2 bAddMonsterDropItem, 12192, 1;
+ bonus2 bAddMonsterDropItem, 538, 1;
+ bonus2 bAddItemHealRate, 12192, 100;
+ bonus2 bAddItemHealRate, 538, 100;
+ ">
+},
+{
+ Items: ["Hahoe_Mask", "Wit_Pumpkin_Hat"]
+ Script: <"
+ bonus bAspdRate, 5;
+ autobonus "{ bonus bAtk,50; }", 5, 10000, 0, "{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }";
+ ">
+},
+{
+ Items: ["Pecopeco_Wing_Ears", "Darkness_Helm_J"]
+ Script: <"
+ bonus bAgi, 1;
+ bonus bFlee, 3;
+ ">
+},
+{
+ Items: ["Black_Glasses", "Darkness_Helm_J"]
+ Script: <"
+ bonus bInt, 1;
+ bonus bMatkRate, 2;
+ ">
+},
+{
+ Items: ["Pencil_In_Mouth", "Cap_Of_Concentration"]
+ Script: <"
+ bonus bDex, 2;
+ bonus bDef, 2;
+ ">
+},
+{
+ Items: ["Twilight_Desert", "Sandstorm"]
+ Script: <"
+ bonus bMaxSP, 20;
+ bonus bMaxHPrate, 5;
+ bonus bHit, 10;
+ bonus2 bAddSize, Size_Large, 30;
+ autobonus "{ bonus bAspdRate,100; }", 1, 7000, 0, "{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }";
+ ">
+},
+{
+ Items: ["Elven_Ears_", "Skull_Cap"]
+ Script: <"
+ bonus bUseSPrate, -3;
+ ">
+},
+)
diff --git a/db/pre-re/item_combo_db.txt b/db/pre-re/item_combo_db.txt
deleted file mode 100644
index f3bf81e38..000000000
--- a/db/pre-re/item_combo_db.txt
+++ /dev/null
@@ -1,165 +0,0 @@
-// Item Combos Database
-//
-// Structure of Database:
-// ID:ID:ID:ID,{ Script }
-
-1166:2527,{ bonus2 bAddRace,RC_Dragon,5; }
-1420:2115,{ bonus3 bAutoSpellWhenHit,"HP_ASSUMPTIO",2,5; }
-1420:2133,{ bonus2 bAddRace, RC_All, 4; bonus bDef,2; }
-1421:2133,{ bonus2 bAddRace, RC_All, 4; bonus bDef,2; }
-1422:2133,{ bonus2 bAddRace, RC_All, 4; bonus bDef,2; }
-1428:2115,{ bonus3 bAutoSpellWhenHit,"HP_ASSUMPTIO",2,5; }
-1472:2677,{ bonus bMatkRate,6; bonus bDex,2; bonus bCastrate,-getequiprefinerycnt(EQI_HAND_R); }
-1472:2711,{ bonus bMatkRate,6; bonus bDex,2; bonus bCastrate,-getequiprefinerycnt(EQI_HAND_R); }
-1473:2677,{ bonus bMatkRate,6; bonus bDex,2; bonus bCastrate,-getequiprefinerycnt(EQI_HAND_R); }
-1473:2711,{ bonus bMatkRate,6; bonus bDex,2; bonus bCastrate,-getequiprefinerycnt(EQI_HAND_R); }
-1474:2527,{ bonus2 bAddRace,RC_Dragon,5; }
-1477:2700,{ bonus2 bResEff,Eff_Confusion,9500; }
-1479:2700,{ bonus2 bResEff,Eff_Confusion,9500; }
-1535:4361,{ bonus bBreakArmorRate,900; bonus bBreakWeaponRate,900; }
-1572:2716:2717,{ bonus bInt,5; bonus bMaxHP,700; bonus bAspdRate,5; }
-1573:2334,{ bonus bMdef,8; bonus bMaxSPrate,10; bonus bInt,4; }
-1573:2372,{ bonus bMdef,8; bonus bMaxSPrate,10; bonus bInt,4; }
-1573:2716:2717,{ bonus bInt,5; bonus bMaxHP,700; bonus bAspdRate,5; }
-1615:18539,{ bonus bMatk,10*getequiprefinerycnt(EQI_HAND_R); bonus bCastrate,-10; }
-1616:2515,{ bonus bSpeedRate,25; }
-1618:2509,{ bonus bMaxHP,300; bonus bMatkRate,getequiprefinerycnt(EQI_HAND_R)-5; bonus2 bSubEle,Ele_Neutral,getequiprefinerycnt(EQI_HAND_R)*3; }
-1618:2535,{ bonus bMatkRate,5; bonus2 bSubEle,Ele_Neutral,25; }
-1620:2509,{ bonus bMaxHP,300; bonus bMatkRate,getequiprefinerycnt(EQI_HAND_R)-5; bonus2 bSubEle,Ele_Neutral,getequiprefinerycnt(EQI_HAND_R)*3; }
-1620:2535,{ bonus bMatkRate,5; bonus2 bSubEle,Ele_Neutral,25; }
-1629:5045,{ bonus bDex,2; bonus bInt,2; bonus bSPrecovRate,5; bonus bMatkRate,getequiprefinerycnt(EQI_HAND_R); }
-1631:2129,{ bonus2 bSkillAtk,"PR_MAGNUS",20; bonus3 bAutoSpellWhenHit,"PR_TURNUNDEAD",1,20; }
-1636:18539,{ bonus bMatk,10*getequiprefinerycnt(EQI_HAND_R); bonus bCastrate,-10; }
-1723:2718,{ bonus bDex,1; bonus bMaxSP,50; bonus bSPrecovRate,10; }
-1730:1752,{ bonus bLongAtkRate,25; }
-1731:1754,{ bonus bLongAtkRate,25; }
-1732:1756,{ bonus bLongAtkRate,25; bonus2 bAddEff,Eff_Stone,1000; }
-1733:1755,{ bonus bLongAtkRate,25; bonus3 bAutoSpell,"NJ_HUUJIN",5,100; if(readparam(bInt)>39) bonus3 bAutoSpell,"NJ_HUUJIN",5,200; }
-1734:1753,{ bonus bLongAtkRate,50; }
-1741:2748,{ bonus bAtk,25; bonus3 bAddEff,Eff_Curse,200,ATF_WEAPON|ATF_LONG|ATF_TARGET; }
-2001:2677,{ bonus bMatkRate,10; bonus bDex,2; bonus2 bSubRace,RC_Demon,10; bonus2 bSubRace,RC_Undead,10; }
-2001:2711,{ bonus bMatkRate,10; bonus bDex,2; bonus2 bSubRace,RC_Demon,10; bonus2 bSubRace,RC_Undead,10; }
-2109:2717:2239,{ bonus bHPrecovRate,15; bonus bSPrecovRate,15; bonus bMatkRate,7; }
-2114:2353:5122,{ bonus bStr,2; bonus bDef,5; bonus bMdef,5; if(BaseClass==Job_Swordman) bonus bDef,6; }
-2115:2353:5124,{ bonus bDef,2-getequiprefinerycnt(EQI_HAND_L)-getequiprefinerycnt(EQI_HEAD_TOP); bonus bMdef,5+getequiprefinerycnt(EQI_HAND_L)+getequiprefinerycnt(EQI_HEAD_TOP); }
-2116:2355:2420:2521:5125,{ bonus bMaxHP,900; bonus bMaxSP,100; bonus3 bAutoSpellWhenHit,"HP_ASSUMPTIO",1,30; }
-2121:2717:2239,{ bonus bHPrecovRate,15; bonus bSPrecovRate,15; bonus bMatkRate,7; }
-2123:2701,{ bonus bCastrate,-10; }
-2124:2702,{ bonus bAspdRate,10; bonus bShortWeaponDamageReturn,5; }
-2135:2426,{ bonus2 bAddEff,Eff_Blind,500; autobonus "{ bonus bFlee,20; }",200,10000,BF_WEAPON,"{ specialeffect(EF_INCAGILITY, AREA, playerattached()); }"; }
-2137:2353:5124,{ bonus bDef,2-getrefine()-getequiprefinerycnt(EQI_HEAD_TOP); bonus bMdef,5+getrefine()+getequiprefinerycnt(EQI_HEAD_TOP); }
-2278:18656,{ bonus2 bAddMonsterDropItem,12192,1; }
-2281:18656,{ bonus bFlee,10; bonus2 bAddEff,Eff_Stun,1000; }
-2286:18539,{ bonus bUseSPrate,-3; }
-2312:2656,{ bonus bDef,5; bonus bMaxHP,150; }
-2313:2656,{ bonus bDef,5; bonus bMaxHP,150; }
-2337:2654,{ bonus bUseSPrate,-20; bonus bMaxHP,300; }
-2339:2522,{ bonus bAgi,5; bonus bFlee,10; }
-2339:2523,{ bonus bAgi,5; bonus bFlee,10; }
-2353:2417:2516,{ bonus bAgi,3; bonus bMaxHPrate,5; bonus bMaxSPrate,5; }
-2353:2418:2517,{ bonus bVit,5; bonus bHPrecovRate,10; bonus bSPrecovRate,10; }
-2353:5123,{ if(readparam(bDex)>69) bonus bUseSPrate,-10; }
-2353:5493,{ if(readparam(bDex)>69) bonus bUseSPrate,-10; }
-2354:2419:2520:5128,{ bonus bVit,5; bonus bMaxHPrate,15; bonus bMaxSPrate,5; bonus bDef,5; bonus bMdef,15; bonus2 bSubEle,Ele_Water,10; bonus2 bSubEle,Ele_Earth,10; bonus2 bSubEle,Ele_Fire,10; bonus2 bSubEle,Ele_Wind,10; }
-2357:2421:2524:5171,{ bonus bAllStats,1; }
-2358:5153,{ bonus bLuk,6; bonus bFlee,5; bonus bInt,2; }
-2359:2654,{ bonus bUseSPrate,-20; bonus bMaxHP,300; }
-//2369:2428:2533:5306,{ bonus2 bSubRace,RC_DemiPlayer,10; bonus bMaxHPrate,20; bonus2 bResEff,Eff_Freeze,10000; skill "WZ_FIREPILLAR",10; }
-2371:2522,{ bonus bAgi,5; bonus bFlee,10; }
-2371:2523,{ bonus bAgi,5; bonus bFlee,10; }
-2374:2729,{ bonus2 bAddRace, RC_All, 3; bonus bMatkRate,3; }
-2375:2729,{ bonus2 bAddRace, RC_All, 3; bonus bMatkRate,3; }
-2376:2435:2538,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bVit,3; bonus bMaxHPrate,12; bonus bHealPower2,10; bonus bAddItemHealRate,10; autobonus2 "{ bonus2 bHPRegenRate,600,1000; }",5,10000,BF_WEAPON,"{ specialeffect(EF_HEAL, AREA, playerattached()); }"; }
-2377:2435:2538,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bStr,3; bonus bMaxHPrate,12; bonus2 bSkillAtk,"MC_MAMMONITE",20; bonus2 bSkillHeal,"AM_POTIONPITCHER",10; bonus2 bSkillHeal2,"AM_POTIONPITCHER",10; bonus2 bSkillHeal2,"AL_HEAL",10; bonus bUnbreakableArmor,0; }
-2378:2435:2538,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bAgi,3; bonus bMaxHPrate,12; bonus bCritical,5; bonus bAspdRate,5; autobonus "{ bonus2 bHPRegenRate,300,1000; }",10,10000,BF_WEAPON,"{ specialeffect(EF_HEAL, AREA, playerattached()); }"; }
-2379:2436:2539,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bInt,3; bonus bMaxHPrate,12; bonus2 bResEff,Eff_Stun,2000; autobonus2 "{ bonus bDefEle,Ele_Ghost; }",30,10000,BF_WEAPON,"{ specialeffect(EF_ENERGYCOAT, AREA, playerattached()); }"; }
-2380:2436:2539,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bInt,3; bonus bMaxHPrate,12; bonus2 bCastrate,"AL_HOLYLIGHT",-50; bonus bHealPower,6; autobonus2 "{ bonus bDefEle,Ele_Ghost; }",30,10000,BF_WEAPON,"{ specialeffect(EF_ENERGYCOAT, AREA, playerattached()); }"; }
-2381:2436:2539,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bDex,3; bonus bMaxHPrate,12; bonus bLongAtkDef,10; bonus bDelayrate,-25; }
-2382:2437:2540,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bDex,3; bonus bMaxHPrate,12; bonus bLongAtkDef,10; bonus bDelayrate,-25; }
-2387:2440:2744,{ bonus bMaxHPrate,7; bonus bMaxSPrate,7; bonus bCastrate,-3; bonus bDelayrate,-15; }
-2390:2749,{ bonus bFlee2,5; }
-2394:2444:2549,{ bonus2 bAddRace, RC_All, 5; bonus bMatkRate,5; bonus2 bResEff,Eff_Freeze,10000; bonus2 bSkillHeal2,"AM_POTIONPITCHER",3; bonus2 bSkillHeal2,"AL_HEAL",3; bonus2 bSkillHeal2,"PR_SANCTUARY",3; }
-2399:2553,{ bonus bAgi,5; bonus bFlee,15; }
-2408:2655,{ bonus bBaseAtk,50; bonus2 bAddDefClass,1196,20; bonus2 bAddDefClass,1197,20; }
-2424:2528,{ bonus bHPrecovRate,5; bonus bMaxHPrate,10; }
-2425:2529,{ bonus bFlee,10; }
-2425:2530,{ bonus bFlee,10; }
-2425:2551,{ bonus bFlee,10; }
-2433:2537,{ bonus bMaxHPrate,6; }
-2434:2529,{ bonus bFlee,10; }
-2434:2530,{ bonus bFlee,10; }
-2434:2551,{ bonus bFlee,10; }
-2441:2546,{ bonus bFlee,5; }
-2518:2648:2649:5126,{ bonus bInt,5; bonus bMdef,11; bonus bMaxSPrate,20; bonus bNoCastCancel,0; bonus bCastrate,25; }
-2519:2650:2651:5127,{ bonus bStr,2; bonus bLuk,9; bonus bCritical,13; bonus bBaseAtk,18; bonus bFlee2,13; }
-2527:13001,{ bonus2 bAddRace,RC_Dragon,5; }
-2607:2677,{ bonus2 bSkillAtk,"AL_HEAL",50; bonus2 bSkillAtk,"PR_MAGNUS",30; bonus bSPrecovRate,9; }
-2607:2711,{ bonus2 bSkillAtk,"AL_HEAL",50; bonus2 bSkillAtk,"PR_MAGNUS",30; bonus bSPrecovRate,9; }
-2607:2786,{ bonus2 bSkillAtk,"AL_HEAL",50; bonus2 bSkillAtk,"PR_MAGNUS",30; bonus bSPrecovRate,9; }
-2608:2677,{ bonus2 bSkillAtk,"AL_HEAL",50; bonus2 bSkillAtk,"PR_MAGNUS",30; bonus bSPrecovRate,9; }
-2608:2711,{ bonus2 bSkillAtk,"AL_HEAL",50; bonus2 bSkillAtk,"PR_MAGNUS",30; bonus bSPrecovRate,9; }
-2608:2786,{ bonus2 bSkillAtk,"AL_HEAL",50; bonus2 bSkillAtk,"PR_MAGNUS",30; bonus bSPrecovRate,9; }
-2620:2746,{ bonus2 bAddSize,Size_Medium,8; bonus bAspdRate,getequiprefinerycnt(EQI_HAND_R)/2; }
-2620:2747,{ bonus2 bAddSize,Size_Large,8; bonus bHit,getequiprefinerycnt(EQI_HAND_R)/2; bonus bCastrate,-getequiprefinerycnt(EQI_HAND_R)/2; }
-2626:2677,{ bonus2 bSkillAtk,"AL_HEAL",50; bonus2 bSkillAtk,"PR_MAGNUS",30; bonus bSPrecovRate,9; }
-2626:2711,{ bonus2 bSkillAtk,"AL_HEAL",50; bonus2 bSkillAtk,"PR_MAGNUS",30; bonus bSPrecovRate,9; }
-2626:2786,{ bonus2 bSkillAtk,"AL_HEAL",50; bonus2 bSkillAtk,"PR_MAGNUS",30; bonus bSPrecovRate,9; }
-2678:2679,{ bonus4 bAutoSpell,"MO_EXTREMITYFIST",1,3,1; bonus3 bAutoSpell,"PR_LEXAETERNA",1,20; bonus3 bAutoSpell,"AS_SONICBLOW",5,50; bonus3 bAutoSpell,"MO_INVESTIGATE",5,20; bonus3 bAutoSpell,"ASC_METEORASSAULT",2,50; }
-//2679:2792,{ bonus4 bAutoSpell,"MO_EXTREMITYFIST",1,3,1; bonus3 bAutoSpell,"PR_LEXAETERNA",1,20; bonus3 bAutoSpell,"AS_SONICBLOW",5,50; bonus3 bAutoSpell,"MO_INVESTIGATE",5,20; bonus3 bAutoSpell,"ASC_METEORASSAULT",2,50; }
-2720:2772,{ bonus2 bAddRace, RC_All, 5; bonus bMatkRate,3; bonus bHealPower,5; }
-2721:2772,{ bonus2 bAddRace, RC_All, 5; bonus bMatkRate,3; bonus bHealPower,5; }
-2722:2772,{ bonus2 bAddRace, RC_All, 5; bonus bMatkRate,3; bonus bHealPower,5; }
-2723:2772,{ bonus2 bAddRace, RC_All, 5; bonus bMatkRate,3; bonus bHealPower,5; }
-2724:2772,{ bonus2 bAddRace, RC_All, 5; bonus bMatkRate,3; bonus bHealPower,5; }
-2725:2772,{ bonus2 bAddRace, RC_All, 5; bonus bMatkRate,3; bonus bHealPower,5; }
-2726:2727,{ bonus bUseSPrate,-25; }
-2733:2772,{ bonus2 bAddRace, RC_All, 5; bonus bMatkRate,3; bonus bHealPower,5; }
-2777:2778:5479,{ bonus bMaxHP,300; bonus bMatkRate,5; bonus2 bSubEle,Ele_Neutral,5; }
-2779:2780:5482,{ bonus bMatkRate,10; bonus bInt,5; bonus2 bSubRace,RC_Angel,10; }
-2779:2780:5577,{ bonus bMatkRate,10; bonus bInt,5; bonus2 bSubRace,RC_Angel,10; }
-4001:4197,{ bonus bFlee,18; }
-4006:4266,{ bonus bFlee,18; }
-4009:4179,{ bonus bFlee,18; }
-4014:4306,{ bonus bFlee,18; }
-4021:4211,{ bonus bFlee,18; }
-4025:4222,{ bonus2 bAddEffWhenHit,Eff_Sleep,600; }
-4028:4296,{ bonus bStr,3; }
-4029:4183,{ bonus bFlee,18; }
-4031:4161,{ bonus bDef,3; bonus bVit,3; }
-4036:4186:4233:4281:4343,{ bonus bStr,4; bonus bMaxHPrate,7; bonus bMaxSPrate,7; bonus2 bSkillAtk,"MC_MAMMONITE",20; bonus bSPDrainValue,1; if(BaseJob==Job_Alchemist) { bonus3 bAutoSpell,"BS_ADRENALINE",1,10; bonus2 bAddMonsterDropItem,7139,3; bonus2 bAddMonsterDropItem,905,10; } }
-4039:4210:4230:4257:4348,{ bonus bStr,6; bonus bAgi,4; bonus2 bSkillAtk,"RG_BACKSTAP",10; if(getskilllv("RG_STRIPARMOR")==5) bonus3 bAutoSpell,"RG_STRIPARMOR",5,50; if(BaseJob==Job_Rogue) { bonus bUseSPrate,-20; bonus3 bAutoSpell,"RG_INTIMIDATE",1,-20; } }
-4074:4162,{ bonus2 bAddEffWhenHit,Eff_Blind,600; }
-4090:4212:4328,{ bonus bAllStats,1; }
-4106:4248,{ bonus bPerfectHitAddRate,20; }
-4127:4166,{ bonus2 bAddEffWhenHit,Eff_Curse,600; }
-4153:4247:4273,{ bonus3 bAddMonsterDropItem,544,RC_Fish,3000; bonus2 bAddEle,Ele_Water,30; }
-4168:4169,{ bonus bMaxHPrate,20; bonus bMaxSPrate,20; bonus bCastrate,-10; }
-4172:4210:4230:4257:4272,{ bonus bAgi,5; bonus bStr,5; bonus bAspdRate,5; bonus bSpeedRate,25; bonus2 bSPDrainValue,1,0; if(BaseClass==Job_Thief) bonus bNoGemStone,0; }
-4178:4199:4234:4252:4297,{ bonus bAgi,5; bonus bDex,3; bonus bLongAtkRate,20; bonus bPerfectHitAddRate,20; if(BaseClass==Job_Archer) { bonus2 bExpAddRace,RC_Brute,5; bonus2 bWeaponComaRace,RC_Brute,100; } }
-4178:4234:4252:4297:4381,{ bonus bDex,5; bonus2 bSkillAtk,"CG_ARROWVULCAN",5; bonus2 bSkillAtk,"DC_THROWARROW",10; bonus2 bSkillAtk,"BA_MUSICALSTRIKE",10; if(BaseJob==Job_Bard||BaseJob==Job_Dancer) bonus3 bAutoSpellWhenHit,"CG_TAROTCARD",2,50; }
-4185:4217:4280:4293:4312,{ bonus bVit,10; bonus bCastrate,-10; bonus bUseSPrate,-10; if(BaseClass==Job_Acolyte) { bonus2 bExpAddRace,RC_Undead,5; bonus2 bExpAddRace,RC_Demon,5; bonus2 bSubRace,RC_Undead,30; bonus2 bSubRace,RC_Demon,30; } }
-4185:4293:4312:4332,{ bonus bStr,3; bonus bMaxSP,80; bonus bBaseAtk,25; bonus3 bAutoSpell,"AL_CRUCIS",5,10; bonus2 bSkillAtk,"MO_EXTREMITYFIST",10; if(BaseJob==Job_Monk) { bonus bUseSPrate,-10; bonus bNoCastCancel,0; } }
-4186:4206:4233:4281:4321,{ bonus bLuk,10; bonus2 bSPDrainValue,2,0; bonus2 bSkillAtk,42,20; if(BaseClass==Job_Merchant) { bonus2 bAddMonsterDropItem,617,5; bonus bMagicDamageReturn,20; } }
-4191:4208:4258:4309:4325:4327,{ bonus bMaxHP,500; bonus bDef,5; bonus bMdef,5; bonus2 bSkillAtk,14,10; bonus2 bSkillAtk,19,10; bonus2 bSkillAtk,20,10; if(BaseClass==Job_Mage) { bonus bMatkRate,3; bonus bCastrate,-15; } }
-4193:4294,{ bonus bMaxHP,300; bonus bMaxSP,60; }
-4208:4258:4325:4327:4382,{ bonus bInt,3; bonus2 bSkillAtk,"WZ_HEAVENDRIVE",10; bonus2 bSkillAtk,"MG_THUNDERSTORM",10; if(BaseJob==Job_Sage) { bonus bMagicDamageReturn,20; bonus2 bAddMonsterDropItem,716,100; bonus2 bAddMonsterDropItem,715,100; bonus bCastrate,-20; } }
-4218:4269,{ bonus bHPrecovRate,30; bonus bSPrecovRate,30; bonus bVit,4; bonus bInt,4; }
-4220:4246:4311:4319:4331,{ bonus bStr,10; bonus bMaxHPrate,20; bonus bHPrecovRate,50; bonus3 bAutoSpell,"BS_WEAPONPERFECT",1,3; bonus2 bAddMonsterDropItem,501,500; if(BaseClass==Job_Swordman) { bonus2 bAddItemHealRate,Red_Potion,50; bonus2 bAddItemHealRate,Yellow_Potion,50; bonus2 bAddItemHealRate,Orange_Potion,50; bonus2 bAddItemHealRate,White_Potion,50; } }
-4229:4244:4299:4313,{ bonus bDef,3; bonus bMdef,3; }
-4237:4238,{ bonus3 bAutoSpell,"MG_LIGHTNINGBOLT",5,20; }
-4268:4277,{ bonus bBaseAtk,20; bonus bLuk,3; }
-4311:4319:4331:4371,{ bonus bInt,1; bonus bStr,1; bonus bDef,2; bonus bSPrecovRate,10; bonus2 bSkillAtk,"PA_SHIELDCHAIN",10; bonus2 bSkillAtk,"PA_SACRIFICE",10; bonus bCastrate,-10; if(BaseJob==Job_Crusader) bonus bDefEle,Ele_Holy; }
-4323:4324,{ bonus3 bAutoSpell,"MG_FROSTDIVER",3,250; }
-4435:4436,{ bonus2 bSPGainRace,RC_DemiPlayer,2; }
-5040:5442,{ bonus bAspdRate,3; bonus bCastrate,3; }
-5068:5653,{ bonus bStr,1; bonus bAtkRate,5; }
-5074:5653,{ bonus bStr,1; bonus bAspdRate,2; }
-5086:18656,{ bonus2 bAddMonsterDropItem,12192,1; bonus2 bAddMonsterDropItem,538,1; bonus2 bAddItemHealRate,12192,100; bonus2 bAddItemHealRate,538,100; }
-5176:18656,{ bonus bAspdRate,5; autobonus "{ bonus bAtk,50; }",5,10000,0,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }"; }
-//5184:5657,{ bonus bLongAtkRate,getrefine(); }
-5358:5653,{ bonus bAgi,1; bonus bFlee,3; }
-5401:5653,{ bonus bInt,1; bonus bMatkRate,2; }
-//5470:5653,{ bonus bDex,1; bonus bLongAtkRate,3; }
-5574:5073,{ bonus bDex, 2; bonus bDef, 2; }
-13034:13035,{ bonus bMaxSP,20; bonus bMaxHPrate,5; bonus bHit,10; bonus2 bAddSize,Size_Large,30; autobonus "{ bonus bAspdRate,100; }",1,7000,0,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }"; }
-18507:18539,{ bonus bUseSPrate,-3; }
diff --git a/db/re/item_combo_db.conf b/db/re/item_combo_db.conf
new file mode 100644
index 000000000..66e553c32
--- /dev/null
+++ b/db/re/item_combo_db.conf
@@ -0,0 +1,3224 @@
+//================= Hercules Database =====================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2019 Hercules Dev Team
+//=
+//= Hercules is free software: you can redistribute it and/or modify
+//= it under the terms of the GNU General Public License as published by
+//= the Free Software Foundation, either version 3 of the License, or
+//= (at your option) any later version.
+//=
+//= This program is distributed in the hope that it will be useful,
+//= but WITHOUT ANY WARRANTY; without even the implied warranty of
+//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//= GNU General Public License for more details.
+//=
+//= You should have received a copy of the GNU General Public License
+//= along with this program. If not, see <http://www.gnu.org/licenses/>.
+//================= Description ===========================================
+// Configurations file for status effects
+//=========================================================================
+
+combo_db: (
+/**************************************************************************
+ ************* Entry structure ********************************************
+ **************************************************************************
+{
+ // ================ Mandatory fields ===============================
+ Items: ["item_list"] (string, array) list of items
+ Script: <"
+ Script
+ (it can be multi-line)
+ ">
+}
+**************************************************************************/
+{
+ Items: ["Dragon_Slayer", "Dragon_Breath"]
+ Script: <"
+ bonus2 bAddRace, RC_Dragon, 5;
+ ">
+},
+{
+ Items: ["Gladius", "Hoplite_Helmet"]
+ Script: <"
+ bonus bAtkRate, 3;
+ ">
+},
+{
+ Items: ["Gladius_", "Hoplite_Helmet"]
+ Script: <"
+ bonus bAtkRate, 3;
+ ">
+},
+{
+ Items: ["Gladius__", "Hoplite_Helmet"]
+ Script: <"
+ bonus bAtkRate, 3;
+ ">
+},
+{
+ Items: ["Krishna", "Assassin_Handcuffs"]
+ Script: <"
+ bonus bBaseAtk, 50;
+ bonus2 bSkillAtk, AS_SONICBLOW, 50;
+ bonus bFlee, -30;
+ ">
+},
+{
+ Items: ["Cakram", "Assassin_Handcuffs"]
+ Script: <"
+ bonus bCritAtkRate, 40;
+ bonus bCritical, 4;
+ bonus bMaxHPrate, -10;
+ ">
+},
+{
+ Items: ["Durga", "Whikebain_Suit"]
+ Script: <"
+ if (getequiprefinerycnt(EQI_HAND_R) > 6) {
+ autobonus2 "{ bonus bIgnoreDefRace,RC_NonBoss; }", 20, 3000, BF_WEAPON, "{}";
+ }
+ ">
+},
+{
+ Items: ["Shiver_Katar", "Mobster_Card"]
+ Script: <"
+ bonus bCritAtkRate, 5;
+ ">
+},
+{
+ Items: ["Shiver_Katar", "Sedora_Card"]
+ Script: <"
+ bonus bCritAtkRate, 5;
+ ">
+},
+{
+ Items: ["Giant_Axe", "Gigant_Helm"]
+ Script: <"
+ bonus2 bSkillAtk, WS_CARTTERMINATION, 15 + (getequiprefinerycnt(EQI_HAND_R) * 5);
+ ">
+},
+{
+ Items: ["Pike", "Hoplite_Helmet"]
+ Script: <"
+ bonus bAtkRate, 3;
+ ">
+},
+{
+ Items: ["Pike_", "Hoplite_Helmet"]
+ Script: <"
+ bonus bAtkRate, 3;
+ ">
+},
+{
+ Items: ["Pike__", "Hoplite_Helmet"]
+ Script: <"
+ bonus bAtkRate, 3;
+ ">
+},
+{
+ Items: ["Long_Horn", "Valkyrjas_Shield"]
+ Script: <"
+ bonus3 bAutoSpellWhenHit, HP_ASSUMPTIO, 2, 5;
+ ">
+},
+{
+ Items: ["Long_Horn", "Tournament_Shield"]
+ Script: <"
+ bonus2 bAddRace, RC_All, 4;
+ bonus bDef, 2;
+ ">
+},
+{
+ Items: ["Battle_Hook", "Tournament_Shield"]
+ Script: <"
+ bonus2 bAddRace, RC_All, 4;
+ bonus bDef, 2;
+ ">
+},
+{
+ Items: ["Hunting_Spear", "Tournament_Shield"]
+ Script: <"
+ bonus2 bAddRace, RC_All, 4;
+ bonus bDef, 2;
+ ">
+},
+{
+ Items: ["Long_Horn_M", "Valkyrjas_Shield"]
+ Script: <"
+ bonus3 bAutoSpellWhenHit, HP_ASSUMPTIO, 2, 5;
+ ">
+},
+{
+ Items: ["Imperial_Spear", "Imperial_Guard"]
+ Script: <"
+ bonus2 bSkillAtk, CR_GRANDCROSS, 10;
+ bonus2 bSkillAtk, LG_RAYOFGENESIS, 10;
+ ">
+},
+{
+ Items: ["Imperial_Spear", "Imperial_Guard", "Imperial_Feather", "Imperial_Ring"]
+ Script: <"
+ bonus2 bSkillUseSP, CR_GRANDCROSS, 30;
+ bonus2 bSkillUseSP, LG_SHIELDPRESS, 5;
+ bonus2 bSkillUseSP, LG_BANISHINGPOINT, 15;
+ bonus2 bSkillUseSP, LG_CANNONSPEAR, 10;
+ ">
+},
+{
+ Items: ["Imperial_Spear", "Imperial_Ring"]
+ Script: <"
+ bonus2 bSkillAtk, LG_CANNONSPEAR, 7 * (getequiprefinerycnt(EQI_HAND_L) / 2);
+ ">
+},
+{
+ Items: ["Staff_Of_Soul", "Spiritual_Ring"]
+ Script: <"
+ bonus bMatkRate, 6;
+ bonus bDex, 2;
+ bonus bVariableCastrate, -getequiprefinerycnt(EQI_HAND_R);
+ ">
+},
+{
+ Items: ["Staff_Of_Soul", "Spiritual_Ring_C"]
+ Script: <"
+ bonus bMatkRate, 6;
+ bonus bDex, 2;
+ bonus bVariableCastrate, -getequiprefinerycnt(EQI_HAND_R);
+ ">
+},
+{
+ Items: ["Wizardy_Staff", "Spiritual_Ring"]
+ Script: <"
+ bonus bMatkRate, 6;
+ bonus bDex, 2;
+ bonus bVariableCastrate, -getequiprefinerycnt(EQI_HAND_R);
+ ">
+},
+{
+ Items: ["Wizardy_Staff", "Spiritual_Ring_C"]
+ Script: <"
+ bonus bMatkRate, 6;
+ bonus bDex, 2;
+ bonus bVariableCastrate, -getequiprefinerycnt(EQI_HAND_R);
+ ">
+},
+{
+ Items: ["Gae_Bolg", "Dragon_Breath"]
+ Script: <"
+ bonus2 bAddRace, RC_Dragon, 5;
+ ">
+},
+{
+ Items: ["Spectral_Spear", "Red_Silk_Seal"]
+ Script: <"
+ bonus2 bResEff, Eff_Confusion, 9500;
+ ">
+},
+{
+ Items: ["Spectral_Spear_", "Red_Silk_Seal"]
+ Script: <"
+ bonus2 bResEff, Eff_Confusion, 9500;
+ ">
+},
+{
+ Items: ["Encyclopedia", "Encyclopedia_Revision"]
+ Script: <"
+ bonus bAspdRate, getequiprefinerycnt(EQI_HAND_R);
+ ">
+},
+{
+ Items: ["Hollgrehenn_Hammer", "B_Harword_Card"]
+ Script: <"
+ bonus bBreakArmorRate, 900;
+ bonus bBreakWeaponRate, 900;
+ ">
+},
+{
+ Items: ["Principles_Of_Magic", "Librarian_Glove", "Pocket_Watch_"]
+ Script: <"
+ bonus bInt, 5;
+ bonus bMaxHP, 700;
+ bonus bAspdRate, 5;
+ ">
+},
+{
+ Items: ["Ancient_Magic", "Mage_Coat"]
+ Script: <"
+ bonus bMdef, 8;
+ bonus bMaxSPrate, 10;
+ bonus bInt, 4;
+ ">
+},
+{
+ Items: ["Ancient_Magic", "Mage_Coat_"]
+ Script: <"
+ bonus bMdef, 8;
+ bonus bMaxSPrate, 10;
+ bonus bInt, 4;
+ ">
+},
+{
+ Items: ["Ancient_Magic", "Librarian_Glove", "Pocket_Watch_"]
+ Script: <"
+ bonus bInt, 5;
+ bonus bMaxHP, 700;
+ bonus bAspdRate, 5;
+ ">
+},
+{
+ Items: ["Snake_Encyclopedia", "Snake_Card"]
+ Script: <"
+ bonus bAspdRate, 5;
+ ">
+},
+{
+ Items: ["Snake_Encyclopedia", "Side_Winder_Card"]
+ Script: <"
+ bonus bAspdRate, 5;
+ ">
+},
+{
+ Items: ["Snake_Encyclopedia", "Snake_Card", "Side_Winder_Card"]
+ Script: <"
+ bonus bAspd, 1;
+ ">
+},
+{
+ Items: ["Snake_Encyclopedia_", "Snake_Card"]
+ Script: <"
+ bonus bAspdRate, 5;
+ ">
+},
+{
+ Items: ["Snake_Encyclopedia_", "Side_Winder_Card"]
+ Script: <"
+ bonus bAspdRate, 5;
+ ">
+},
+{
+ Items: ["Snake_Encyclopedia_", "Snake_Card", "Side_Winder_Card"]
+ Script: <"
+ bonus bAspd, 1;
+ ">
+},
+{
+ Items: ["Bone_Wand", "Skull_Cap"]
+ Script: <"
+ bonus bMatk, 10 * getequiprefinerycnt(EQI_HAND_R);
+ bonus bVariableCastrate, -10;
+ ">
+},
+{
+ Items: ["Staff_Of_Wing", "Wing_Of_Eagle"]
+ Script: <"
+ bonus bSpeedRate, 25;
+ ">
+},
+{
+ Items: ["Survival_Rod_", "Clack_Of_Servival"]
+ Script: <"
+ bonus bMaxHP, 300;
+ bonus bMatkRate, getequiprefinerycnt(EQI_HAND_R) - 5;
+ if (getequiprefinerycnt(EQI_GARMENT) > 10) {
+ bonus2 bSubEle, Ele_Neutral, 30;
+ } else {
+ bonus2 bSubEle, Ele_Neutral, getequiprefinerycnt(EQI_GARMENT) * 3;
+ }
+ ">
+},
+{
+ Items: ["Survival_Rod_", "Cloak_Of_Survival_C"]
+ Script: <"
+ bonus bMatkRate, 5;
+ bonus2 bSubEle, Ele_Neutral, 25;
+ ">
+},
+{
+ Items: ["Survival_Rod_", "Survive_Circlet"]
+ Script: <"
+ bonus bMatk, getequiprefinerycnt(EQI_HAND_R) * 10;
+ if (getequiprefinerycnt(EQI_HAND_R) >= 10)
+ autobonus "{ bonus bVariableCastrate,-50; }", 50, 5000, BF_MAGIC, "{ specialeffect(EF_SUFFRAGIUM, AREA, playerattached()); }";
+ ">
+},
+{
+ Items: ["Survival_Rod2_", "Clack_Of_Servival"]
+ Script: <"
+ bonus bMaxHP, 300;
+ bonus bMatkRate, getequiprefinerycnt(EQI_HAND_R) - 5;
+ if (getequiprefinerycnt(EQI_GARMENT) > 10) {
+ bonus2 bSubEle, Ele_Neutral, 30;
+ } else {
+ bonus2 bSubEle, Ele_Neutral, getequiprefinerycnt(EQI_GARMENT) * 3;
+ }
+ ">
+},
+{
+ Items: ["Survival_Rod2_", "Cloak_Of_Survival_C"]
+ Script: <"
+ bonus bMatkRate, 5;
+ bonus2 bSubEle, Ele_Neutral, 25;
+ ">
+},
+{
+ Items: ["Healing_Staff", "All_Love_Guard"]
+ Script: <"
+ bonus bHealPower, getequiprefinerycnt(EQI_HAND_R);
+ ">
+},
+{
+ Items: ["Walking_Stick", "Magician_Hat"]
+ Script: <"
+ bonus bDex, 2;
+ bonus bInt, 2;
+ bonus bSPrecovRate, 5;
+ bonus bMatkRate, getequiprefinerycnt(EQI_HAND_R);
+ ">
+},
+{
+ Items: ["Holy_Stick", "Exorcism_Bible"]
+ Script: <"
+ bonus2 bSkillAtk, PR_MAGNUS, 20;
+ bonus3 bAutoSpellWhenHit, PR_TURNUNDEAD, 1, 20;
+ ">
+},
+{
+ Items: ["Holy_Stick", "All_Love_Guard"]
+ Script: <"
+ bonus bHealPower, getequiprefinerycnt(EQI_HAND_R) * 3;
+ ">
+},
+{
+ Items: ["Thorn_Staff", "Skull_Cap"]
+ Script: <"
+ bonus bMatk, 10 * getequiprefinerycnt(EQI_HAND_R);
+ bonus bVariableCastrate, -10;
+ ">
+},
+{
+ Items: ["Thorn_Staff", "Thornwood_Band"]
+ Script: <"
+ bonus bMatk, getequiprefinerycnt(EQI_HAND_R) * 10;
+ ">
+},
+{
+ Items: ["Rafini_Staff", "Lapine_Shield"]
+ Script: <"
+ if (getequiprefinerycnt(EQI_HAND_L) > 8) {
+ bonus bMatk, getequiprefinerycnt(EQI_HAND_R) * 15;
+ }
+ if (getequiprefinerycnt(EQI_HAND_R) > 9) {
+ bonus bMatk, 50;
+ bonus bVariableCastrate, -10;
+ }
+ ">
+},
+{
+ Items: ["Wand_Of_Affection", "Shoes_Of_Affection", "Shawl_Of_Affection", "Robe_Of_Affection"]
+ Script: <"
+ bonus bHealPower, 25;
+ ">
+},
+{
+ Items: ["Wand_Of_Affection2", "Shoes_Of_Affection", "Shawl_Of_Affection", "Robe_Of_Affection"]
+ Script: <"
+ bonus bHealPower, 45;
+ bonus3 bAutoSpellWhenHit, AB_SILENTIUM, 1, 10;
+ ">
+},
+{
+ Items: ["Bone_Wand_", "Skull_Cap"]
+ Script: <"
+ bonus bMatk, 10 * getequiprefinerycnt(EQI_HAND_R);
+ bonus bVariableCastrate, -10;
+ ">
+},
+{
+ Items: ["Hunter_Bow", "Hunting_Arrow"]
+ Script: <"
+ bonus bLongAtkRate, 50;
+ ">
+},
+{
+ Items: ["Luna_Bow", "Lunatic_Brooch"]
+ Script: <"
+ bonus bDex, 1;
+ bonus bMaxSP, 50;
+ bonus bSPrecovRate, 10;
+ ">
+},
+{
+ Items: ["Hunter_Bow_", "Hunting_Arrow"]
+ Script: <"
+ bonus bLongAtkRate, 50;
+ ">
+},
+{
+ Items: ["Burning_Bow", "Fire_Arrow"]
+ Script: <"
+ bonus bLongAtkRate, 25;
+ ">
+},
+{
+ Items: ["Frozen_Bow", "Crystal_Arrow"]
+ Script: <"
+ bonus bLongAtkRate, 25;
+ ">
+},
+{
+ Items: ["Earth_Bow", "Stone_Arrow"]
+ Script: <"
+ bonus bLongAtkRate, 25;
+ bonus2 bAddEff, Eff_Stone, 1000;
+ ">
+},
+{
+ Items: ["Gust_Bow", "Arrow_Of_Wind"]
+ Script: <"
+ bonus bLongAtkRate, 25;
+ bonus3 bAutoSpell, NJ_HUUJIN, 5, 100;
+ if (readparam(bInt) > 39)
+ bonus3 bAutoSpell, NJ_HUUJIN, 5, 200;
+ ">
+},
+{
+ Items: ["Orc_Archer_Bow", "Steel_Arrow"]
+ Script: <"
+ bonus bLongAtkRate, 50;
+ ">
+},
+{
+ Items: ["Cursed_Lyre", "Cursed_Star"]
+ Script: <"
+ bonus bAtk, 25;
+ bonus3 bAddEff, Eff_Curse, 200, ATF_WEAPON | ATF_LONG | ATF_TARGET;
+ ">
+},
+{
+ Items: ["Elven_Bow", "Arrow_Of_Elf"]
+ Script: <"
+ bonus bLongAtkRate, 50;
+ ">
+},
+{
+ Items: ["Incisive_Arrow", "Little_Fhat"]
+ Script: <"
+ bonus bCritAtkRate, 5;
+ ">
+},
+{
+ Items: ["Siege_Arrow_S", "Velum_CrossBow"]
+ Script: <"
+ bonus bLongAtkRate, 70;
+ ">
+},
+{
+ Items: ["Siege_Arrow_A", "Velum_CrossBow"]
+ Script: <"
+ bonus bLongAtkRate, 40;
+ ">
+},
+{
+ Items: ["Ukulele_Of_Newoz", "Winged_Ring_Of_Newoz"]
+ Script: <"
+ bonus2 bSkillAtk, CG_ARROWVULCAN, 200;
+ bonus2 bSkillUseSP, CG_ARROWVULCAN, 20;
+ ">
+},
+{
+ Items: ["Floral_Mic_Of_Igu", "Floral_Bracelet_Of_Igu"]
+ Script: <"
+ bonus2 bSkillAtk, CG_ARROWVULCAN, 200;
+ ">
+},
+{
+ Items: ["Divine_Cross", "Spiritual_Ring"]
+ Script: <"
+ bonus bMatkRate, 10;
+ bonus bDex, 2;
+ bonus2 bSubRace, RC_Demon, 10;
+ bonus2 bSubRace, RC_Undead, 10;
+ ">
+},
+{
+ Items: ["Divine_Cross", "Spiritual_Ring_C"]
+ Script: <"
+ bonus bMatkRate, 10;
+ bonus bDex, 2;
+ bonus2 bSubRace, RC_Demon, 10;
+ bonus2 bSubRace, RC_Undead, 10;
+ ">
+},
+{
+ Items: ["Golden_Rod_Staff", "Golden_Rod_Shoes", "Golden_Rod_Orb", "Golden_Rod_Robe"]
+ Script: <"
+ bonus2 bMagicAtkEle, Ele_Wind, 40;
+ bonus2 bMagicAtkEle, Ele_Earth, -30;
+ bonus2 bSubEle, Ele_Earth, -50;
+ ">
+},
+{
+ Items: ["Aqua_Staff", "Aqua_Shoes", "Aqua_Orb", "Aqua_Robe"]
+ Script: <"
+ bonus2 bMagicAtkEle, Ele_Water, 40;
+ bonus2 bMagicAtkEle, Ele_Wind, -30;
+ bonus2 bSubEle, Ele_Wind, -50;
+ ">
+},
+{
+ Items: ["Crimson_Staff", "Crimson_Shoes", "Crimson_Orb", "Crimson_Robe"]
+ Script: <"
+ bonus2 bMagicAtkEle, Ele_Fire, 40;
+ bonus2 bMagicAtkEle, Ele_Water, -30;
+ bonus2 bSubEle, Ele_Water, -50;
+ ">
+},
+{
+ Items: ["Forest_Staff", "Forest_Shoes", "Forest_Orb", "Forest_Robe"]
+ Script: <"
+ bonus2 bMagicAtkEle, Ele_Earth, 40;
+ bonus2 bMagicAtkEle, Ele_Fire, -30;
+ bonus2 bSubEle, Ele_Fire, -50;
+ ">
+},
+{
+ Items: ["Golden_Rod_Staff2", "Golden_Rod_Shoes", "Golden_Rod_Orb", "Golden_Rod_Robe"]
+ Script: <"
+ bonus2 bMagicAtkEle, Ele_Wind, 60;
+ bonus2 bMagicAtkEle, Ele_Earth, -60;
+ bonus2 bSubEle, Ele_Earth, -50;
+ ">
+},
+{
+ Items: ["Aqua_Staff2", "Aqua_Shoes", "Aqua_Orb", "Aqua_Robe"]
+ Script: <"
+ bonus2 bMagicAtkEle, Ele_Water, 60;
+ bonus2 bMagicAtkEle, Ele_Wind, -60;
+ bonus2 bSubEle, Ele_Wind, -50;
+ ">
+},
+{
+ Items: ["Crimson_Staff2", "Crimson_Shoes", "Crimson_Orb", "Crimson_Robe"]
+ Script: <"
+ bonus2 bMagicAtkEle, Ele_Fire, 60;
+ bonus2 bMagicAtkEle, Ele_Water, -60;
+ bonus2 bSubEle, Ele_Water, -50;
+ ">
+},
+{
+ Items: ["Forest_Staff2", "Forest_Shoes", "Forest_Orb", "Forest_Robe"]
+ Script: <"
+ bonus2 bMagicAtkEle, Ele_Earth, 60;
+ bonus2 bMagicAtkEle, Ele_Fire, -60;
+ bonus2 bSubEle, Ele_Fire, -50;
+ ">
+},
+{
+ Items: ["Memorize_Book", "Pocket_Watch_", "One_Eyed_Glass"]
+ Script: <"
+ bonus bHPrecovRate, 15;
+ bonus bSPrecovRate, 15;
+ bonus bMatkRate, 7;
+ ">
+},
+{
+ Items: ["Stone_Buckler", "Odins_Blessing", "Magni_Cap"]
+ Script: <"
+ bonus bStr, 2;
+ bonus bDef, 5;
+ bonus bMdef, 5;
+ if (BaseClass == Job_Swordman) bonus bDef, 6;
+ ">
+},
+{
+ Items: ["Valkyrjas_Shield", "Odins_Blessing", "Fricca_Circlet"]
+ Script: <"
+ bonus bDef, 2 - getequiprefinerycnt(EQI_HAND_L, EQI_HEAD_TOP);
+ bonus bMdef, 5 + getequiprefinerycnt(EQI_HAND_L, EQI_HEAD_TOP);
+ ">
+},
+{
+ Items: ["Angels_Safeguard", "Angels_Protection", "Angels_Arrival", "Angels_Warmth", "Kiss_Of_Angel"]
+ Script: <"
+ bonus bMaxHP, 900;
+ bonus bMaxSP, 100;
+ bonus3 bAutoSpellWhenHit, HP_ASSUMPTIO, 1, 30;
+ ">
+},
+{
+ Items: ["Memorize_Book_", "Pocket_Watch_", "One_Eyed_Glass"]
+ Script: <"
+ bonus bHPrecovRate, 15;
+ bonus bSPrecovRate, 15;
+ bonus bMatkRate, 7;
+ ">
+},
+{
+ Items: ["Orleans_Server", "Orleans_Glove"]
+ Script: <"
+ bonus bVariableCastrate, -10;
+ ">
+},
+{
+ Items: ["Orleans_Server", "Orleans_Necklace"]
+ Script: <"
+ bonus bMatk, getrefine() * 2;
+ ">
+},
+{
+ Items: ["Thorny_Buckler", "Bison_Horn"]
+ Script: <"
+ bonus bAspdRate, 10;
+ bonus bShortWeaponDamageReturn, 5;
+ ">
+},
+{
+ Items: ["Strong_Shield", "Hoplite_Helmet"]
+ Script: <"
+ bonus bDef, 2;
+ ">
+},
+{
+ Items: ["Shadow_Guard", "Shadow_Walk"]
+ Script: <"
+ bonus2 bAddEff, Eff_Blind, 500;
+ autobonus "{ bonus bFlee,20; }", 200, 10000, BF_WEAPON, "{ specialeffect(EF_INCAGILITY, AREA, playerattached()); }";
+ ">
+},
+{
+ Items: ["Valkyrjas_Shield_C", "Odins_Blessing", "Fricca_Circlet"]
+ Script: <"
+ bonus bDef, 2 - getequiprefinerycnt(EQI_HAND_L, EQI_HEAD_TOP);
+ bonus bMdef, 5 + getequiprefinerycnt(EQI_HAND_L, EQI_HEAD_TOP);
+ ">
+},
+{
+ Items: ["Imperial_Guard", "Imperial_Ring"]
+ Script: <"
+ if (getequiprefinerycnt(EQI_HAND_L) > 5) {
+ bonus2 bSkillAtk, LG_SHIELDPRESS, (getequiprefinerycnt(EQI_HAND_L) * 8) - 40;
+ }
+ ">
+},
+{
+ Items: ["Insecticide", "Super_Ora_Ora"]
+ Script: <"
+ bonus2 bAddRaceTolerance, RC_Insect, 10;
+ if (getequiprefinerycnt(EQI_HAND_L) > 7) {
+ bonus2 bMagicAddRace, RC_Insect, 4;
+ bonus2 bAddRaceTolerance, RC_Insect, 20;
+ }
+ ">
+},
+{
+ Items: ["Giant_Shield", "Gigant_Helm"]
+ Script: <"
+ bonus2 bSkillAtk, WS_CARTTERMINATION, 15 + (getequiprefinerycnt(EQI_HAND_R) * 5);
+ ">
+},
+{
+ Items: ["Kalasak", "Bangungot_Boots", "Buwaya_Cloth", "Bakonawa_Armor"]
+ Script: <"
+ bonus bMaxHPrate, 20;
+ bonus bMaxSPrate, 10;
+ ">
+},
+{
+ Items: ["Fox_Armguard", "Special_Ninja_Suit"]
+ Script: <"
+ bonus bAgi, 2;
+ ">
+},
+{
+ Items: ["Fox_Armguard", "Special_Ninja_Suit_"]
+ Script: <"
+ bonus bAgi, 2;
+ ">
+},
+{
+ Items: ["Crescent_Armguard", "Tenebris_Latitantes"]
+ Script: <"
+ bonus bFlee, 10;
+ bonus bFlee2, 10;
+ ">
+},
+{
+ Items: ["Impr_Angels_Safeguard", "Im_Angels_Protection", "Improved_Kiss_Of_Angel", "Impr_Angels_Warmth", "Impr_Angels_Arrival"]
+ Script: <"
+ bonus(bMaxHP, 900);
+ bonus(bMaxSP, 100);
+ bonus3(bAutoSpellWhenHit, HP_ASSUMPTIO, 1, 30);
+ ">
+},
+{
+ Items: ["Lapine_Shield", "KarduiEar"]
+ Script: <"
+ if (!isequipped(Fallen_Bishop_Card)) {
+ if (getequiprefinerycnt(EQI_HAND_L) > 6) {
+ bonus2 bSkillCooldown, WL_COMET, -20000;
+ }
+ if (getequiprefinerycnt(EQI_HAND_L) > 9) {
+ bonus2 bSkillCooldown, WL_COMET, -20000;
+ }
+ }
+ ">
+},
+{
+ Items: ["Angelic_Chain", "Bell_Pigeon"]
+ Script: <"
+ bonus2 bExpAddRace, RC_All, 5;
+ ">
+},
+{
+ Items: ["Centimental_Flower", "Persika"]
+ Script: <"
+ bonus bMaxSP, 30;
+ bonus bInt, 1;
+ ">
+},
+{
+ Items: ["Centimental_Flower", "Ancient_Elven_Ear"]
+ Script: <"
+ bonus bMatkRate, 1;
+ ">
+},
+{
+ Items: ["Centimental_Flower", "Black_Cat_Hat"]
+ Script: <"
+ bonus bAllStats, 1;
+ ">
+},
+{
+ Items: ["Centimental_Leaf", "Persika"]
+ Script: <"
+ bonus bLuk, 1;
+ bonus bFlee, 2;
+ ">
+},
+{
+ Items: ["Centimental_Leaf", "Ancient_Elven_Ear"]
+ Script: <"
+ bonus bAtkRate, 1;
+ ">
+},
+{
+ Items: ["Centimental_Leaf", "Black_Cat_Hat"]
+ Script: <"
+ bonus bAllStats, 1;
+ ">
+},
+{
+ Items: ["Mr_Smile", "Gloomy_Pumpkin_Hat"]
+ Script: <"
+ bonus2 bAddMonsterDropItem, 12192, 20;
+ ">
+},
+{
+ Items: ["Phantom_Of_Opera", "Gloomy_Pumpkin_Hat"]
+ Script: <"
+ bonus bFlee, 10;
+ ">
+},
+{
+ Items: ["Impr_Angels_Safeguard", "Im_Angels_Protection"]
+ Script: <"
+ bonus bAllStats, 2;
+ ">
+},
+{
+ Items: ["Elven_Ears", "Skull_Cap"]
+ Script: <"
+ bonus bUseSPrate, -3;
+ ">
+},
+{
+ Items: ["Padded_Armor", "Hyper_Changer"]
+ Script: <"
+ bonus bDef, 5;
+ bonus bMaxHP, 150;
+ ">
+},
+{
+ Items: ["Padded_Armor_", "Hyper_Changer"]
+ Script: <"
+ bonus bDef, 5;
+ bonus bMaxHP, 150;
+ ">
+},
+{
+ Items: ["Ninja_Suit", "Shinobis_Sash"]
+ Script: <"
+ bonus bUseSPrate, -20;
+ bonus bMaxHP, 300;
+ ">
+},
+{
+ Items: ["G_Strings", "Undershirt"]
+ Script: <"
+ bonus bAgi, 5;
+ bonus bFlee, 10;
+ ">
+},
+{
+ Items: ["G_Strings", "Undershirt_"]
+ Script: <"
+ bonus bAgi, 5;
+ bonus bFlee, 10;
+ ">
+},
+{
+ Items: ["Odins_Blessing", "Fricco_Shoes", "Falcon_Robe"]
+ Script: <"
+ bonus bAgi, 3;
+ bonus bMaxHPrate, 5;
+ bonus bMaxSPrate, 5;
+ ">
+},
+{
+ Items: ["Odins_Blessing", "Vidars_Boots", "Valis_Manteau"]
+ Script: <"
+ bonus bVit, 5;
+ bonus bHPrecovRate, 10;
+ bonus bSPrecovRate, 10;
+ ">
+},
+{
+ Items: ["Odins_Blessing", "Ulle_Cap"]
+ Script: <"
+ if (readparam(bDex) > 69)
+ bonus bUseSPrate, -10;
+ ">
+},
+{
+ Items: ["Odins_Blessing", "Ulle_Cap_I"]
+ Script: <"
+ if (readparam(bDex) > 69)
+ bonus bUseSPrate, -10;
+ ">
+},
+{
+ Items: ["Odins_Blessing", "Priest_Sword"]
+ Script: <"
+ bonus bMaxSP, 50;
+ bonus2 bSkillAtk, KN_BOWLINGBASH, 5;
+ ">
+},
+{
+ Items: ["Goibnes_Armor", "Goibnes_Combat_Boots", "Goibnes_Shoulder_Arms", "Goibnes_Helmet"]
+ Script: <"
+ bonus bVit, 5;
+ bonus bMaxHPrate, 15;
+ bonus bMaxSPrate, 5;
+ bonus bDef, 5;
+ bonus bMdef, 15;
+ bonus2 bSubEle, Ele_Water, 10;
+ bonus2 bSubEle, Ele_Earth, 10;
+ bonus2 bSubEle, Ele_Fire, 10;
+ bonus2 bSubEle, Ele_Wind, 10;
+ ">
+},
+{
+ Items: ["Goibnes_Armor", "Goibnes_Combat_Boots_", "Goibnes_Shoulder_Arms_", "Goibnes_Helmet_"]
+ Script: <"
+ bonus bVit, 5;
+ bonus bMaxHPrate, 15;
+ bonus bMaxSPrate, 5;
+ bonus bDef, 5;
+ bonus bMdef, 15;
+ bonus2 bSubEle, Ele_Water, 10;
+ bonus2 bSubEle, Ele_Earth, 10;
+ bonus2 bSubEle, Ele_Fire, 10;
+ bonus2 bSubEle, Ele_Wind, 10;
+ ">
+},
+{
+ Items: ["Valkyrie_Armor", "Valkyrie_Shoes", "Valkyrie_Manteau", "Valkyrie_Helm"]
+ Script: <"
+ bonus bAllStats, 1;
+ ">
+},
+{
+ Items: ["Dress_Of_Angel", "Angeling_Hairpin"]
+ Script: <"
+ bonus bLuk, 6;
+ bonus bFlee, 5;
+ bonus bInt, 2;
+ ">
+},
+{
+ Items: ["Ninja_Suit_", "Shinobis_Sash"]
+ Script: <"
+ bonus bUseSPrate, -20;
+ bonus bMaxHP, 300;
+ ">
+},
+{
+ Items: ["Orleans_Gown", "Orleans_Necklace"]
+ Script: <"
+ bonus bVariableCastrate, 15;
+ ">
+},
+{
+ Items: ["Freyja_Overcoat", "Freyja_Boots", "Freyja_Cape", "Freyja_Crown"]
+ Script: <"
+ bonus2 bSubRace, RC_DemiPlayer, 10;
+ bonus bMaxHPrate, 20;
+ bonus2 bResEff, Eff_Freeze, 10000;
+ skill WZ_FIREPILLAR, 10;
+ ">
+},
+{
+ Items: ["G_Strings_", "Undershirt"]
+ Script: <"
+ bonus bAgi, 5;
+ bonus bFlee, 10;
+ ">
+},
+{
+ Items: ["G_Strings_", "Undershirt_"]
+ Script: <"
+ bonus bAgi, 5;
+ bonus bFlee, 10;
+ ">
+},
+{
+ Items: ["Diabolus_Robe", "Diabolus_Ring"]
+ Script: <"
+ bonus2 bAddRace, RC_All, 3;
+ bonus bMatkRate, 3;
+ ">
+},
+{
+ Items: ["Diabolus_Armor", "Diabolus_Ring"]
+ Script: <"
+ bonus2 bAddRace, RC_All, 3;
+ bonus bMatkRate, 3;
+ ">
+},
+{
+ Items: ["Assaulter_Plate", "Battle_Greave", "Commander_Manteau"]
+ Script: <"
+ bonus2 bSubRace, RC_NonDemiPlayer, -300;
+ bonus bVit, 3;
+ bonus bMaxHPrate, 12;
+ bonus bHealPower2, 10;
+ bonus bAddItemHealRate, 10;
+ autobonus2 "{ bonus2 bHPRegenRate,600,1000; }", 5, 10000, BF_WEAPON, "{ specialeffect(EF_HEAL, AREA, playerattached()); }";
+ ">
+},
+{
+ Items: ["Elite_Engineer_Armor", "Battle_Greave", "Commander_Manteau"]
+ Script: <"
+ bonus2 bSubRace, RC_NonDemiPlayer, -300;
+ bonus bStr, 3;
+ bonus bMaxHPrate, 12;
+ bonus2 bSkillAtk, MC_MAMMONITE, 20;
+ bonus2 bSkillHeal, AM_POTIONPITCHER, 10;
+ bonus2 bSkillHeal2, AM_POTIONPITCHER, 10;
+ bonus2 bSkillHeal2, AL_HEAL, 10;
+ bonus bUnbreakableArmor, 0;
+ ">
+},
+{
+ Items: ["Assassin_Robe", "Battle_Greave", "Commander_Manteau"]
+ Script: <"
+ bonus2 bSubRace, RC_NonDemiPlayer, -300;
+ bonus bAgi, 3;
+ bonus bMaxHPrate, 12;
+ bonus bCritical, 5;
+ bonus bAspdRate, 5;
+ autobonus "{ bonus2 bHPRegenRate,300,1000; }", 10, 10000, BF_WEAPON, "{ specialeffect(EF_HEAL, AREA, playerattached()); }";
+ ">
+},
+{
+ Items: ["Warlock_Battle_Robe", "Combat_Boots", "Commander_Manteau_"]
+ Script: <"
+ bonus2 bSubRace, RC_NonDemiPlayer, -300;
+ bonus bInt, 3;
+ bonus bMaxHPrate, 12;
+ bonus2 bResEff, Eff_Stun, 2000;
+ autobonus2 "{ bonus bDefEle,Ele_Ghost; }", 30, 10000, BF_WEAPON, "{ specialeffect(EF_ENERGYCOAT, AREA, playerattached()); }";
+ ">
+},
+{
+ Items: ["Medic_Robe", "Combat_Boots", "Commander_Manteau_"]
+ Script: <"
+ bonus2 bSubRace, RC_NonDemiPlayer, -300;
+ bonus bInt, 3;
+ bonus bMaxHPrate, 12;
+ bonus2 bVariableCastrate, AL_HOLYLIGHT, -50;
+ bonus bHealPower, 6;
+ autobonus2 "{ bonus bDefEle,Ele_Ghost; }", 30, 10000, BF_WEAPON, "{ specialeffect(EF_ENERGYCOAT, AREA, playerattached()); }";
+ ">
+},
+{
+ Items: ["Elite_Archer_Suit", "Combat_Boots", "Commander_Manteau_"]
+ Script: <"
+ bonus2 bSubRace, RC_NonDemiPlayer, -300;
+ bonus bDex, 3;
+ bonus bMaxHPrate, 12;
+ bonus bLongAtkDef, 10;
+ bonus bDelayrate, -25;
+ ">
+},
+{
+ Items: ["Elite_Shooter_Suit", "Battle_Boots", "Sheriff_Manteau"]
+ Script: <"
+ bonus2 bSubRace, RC_NonDemiPlayer, -300;
+ bonus bDex, 3;
+ bonus bMaxHPrate, 12;
+ bonus bLongAtkDef, 10;
+ bonus bDelayrate, -25;
+ ">
+},
+{
+ Items: ["Sprint_Mail", "Sprint_Shoes", "Sprint_Ring"]
+ Script: <"
+ bonus bMaxHPrate, 7;
+ bonus bMaxSPrate, 7;
+ bonus bVariableCastrate, -3;
+ bonus bDelayrate, -15;
+ ">
+},
+{
+ Items: ["Improved_Tights", "Linen_Glove"]
+ Script: <"
+ bonus bFlee2, 5;
+ ">
+},
+{
+ Items: ["Krieger_Suit1", "Krieger_Shoes1", "Krieger_Muffler1"]
+ Script: <"
+ bonus2 bAddRace, RC_All, 5;
+ bonus bMatkRate, 5;
+ bonus2 bResEff, Eff_Freeze, 10000;
+ bonus2 bSkillHeal2, AM_POTIONPITCHER, 3;
+ bonus2 bSkillHeal2, AL_HEAL, 3;
+ bonus2 bSkillHeal2, PR_SANCTUARY, 3;
+ ">
+},
+{
+ Items: ["Dragon_Vest", "Dragon_Manteau"]
+ Script: <"
+ bonus bAgi, 5;
+ bonus bFlee, 15;
+ ">
+},
+{
+ Items: ["Cuffs", "Bloody_Iron_Ball"]
+ Script: <"
+ bonus bBaseAtk, 50;
+ bonus2 bAddDefClass, 1196, 20;
+ bonus2 bAddDefClass, 1197, 20;
+ ">
+},
+{
+ Items: ["Tidal_Shoes", "Wool_Scarf"]
+ Script: <"
+ bonus bHPrecovRate, 5;
+ bonus bMaxHPrate, 10;
+ ">
+},
+{
+ Items: ["Black_Leather_Boots", "Rider_Insignia"]
+ Script: <"
+ bonus bFlee, 10;
+ ">
+},
+{
+ Items: ["Black_Leather_Boots", "Rider_Insignia_"]
+ Script: <"
+ bonus bFlee, 10;
+ ">
+},
+{
+ Items: ["Black_Leather_Boots", "Rider_Insignia_M"]
+ Script: <"
+ bonus bFlee, 10;
+ ">
+},
+{
+ Items: ["Diabolus_Boots", "Diabolus_Manteau"]
+ Script: <"
+ bonus bMaxHPrate, 6;
+ ">
+},
+{
+ Items: ["Black_Leather_Boots_", "Rider_Insignia"]
+ Script: <"
+ bonus bFlee, 10;
+ ">
+},
+{
+ Items: ["Black_Leather_Boots_", "Rider_Insignia_"]
+ Script: <"
+ bonus bFlee, 10;
+ ">
+},
+{
+ Items: ["Black_Leather_Boots_", "Rider_Insignia_M"]
+ Script: <"
+ bonus bFlee, 10;
+ ">
+},
+{
+ Items: ["Beach_Sandal", "Beach_Manteau"]
+ Script: <"
+ bonus bFlee, 5;
+ ">
+},
+{
+ Items: ["Shoes_Of_Judgement", "Shawl_Of_Judgement", "Robe_Of_Judgement", "Mace_Of_Judgement"]
+ Script: <"
+ bonus2 bAddRace, RC_Undead, 15;
+ bonus2 bMagicAddRace, RC_Undead, 15;
+ bonus2 bSkillAtk, AB_ADORAMUS, 100;
+ ">
+},
+{
+ Items: ["Shoes_Of_Judgement", "Shawl_Of_Judgement", "Robe_Of_Judgement", "Mace_Of_Judgement2"]
+ Script: <"
+ bonus2 bAddRace, RC_Undead, 30;
+ bonus2 bMagicAddRace, RC_Undead, 30;
+ bonus2 bSkillAtk, AB_ADORAMUS, 200;
+ bonus bVariableCastrate, -50;
+ ">
+},
+{
+ Items: ["Ur_Greave", "Ur_Manteau", "Ur_Seal", "Ur_Plate"]
+ Script: <"
+ bonus bMaxHPrate, 14;
+ bonus2 bSkillAtk, RK_HUNDREDSPEAR, 50;
+ skill CR_AUTOGUARD, 1;
+ bonus bUseSPrate, 10;
+ bonus2 bSubEle, Ele_Neutral, 10;
+ ">
+},
+{
+ Items: ["Peuz_Greave", "Peuz_Manteau", "Peuz_Seal", "Peuz_Plate"]
+ Script: <"
+ bonus2 bAddRace, RC_All, 10;
+ bonus2 bSkillAtk, RK_SONICWAVE, 100;
+ bonus2 bSkillAtk, RK_WINDCUTTER, 100;
+ bonus3 bAutoSpell, RK_STORMBLAST, 1, 20;
+ autobonus3 "{ bonus bAspd,2; }", 1000, 10000, LK_CONCENTRATION, "{ specialeffect(EF_ENHANCE, AREA, playerattached()); }";
+ ">
+},
+{
+ Items: ["Sabah_Shoes", "Sabah_Hood", "Sabah_Ring", "Sabah_Cloth"]
+ Script: <"
+ bonus bCritical, 15;
+ bonus bFlee, 10;
+ bonus bCritAtkRate, 40;
+ bonus2 bSkillAtk, GC_CROSSIMPACT, 20;
+ bonus bUseSPrate, 10;
+ ">
+},
+{
+ Items: ["Nab_Shoes", "Nab_Hood", "Nab_Ring", "Nab_Cloth"]
+ Script: <"
+ bonus2 bAddRace, RC_All, 10;
+ bonus bMatkRate, 10;
+ if (readparam(bStr) > 119) {
+ bonus bBaseAtk, 30;
+ }
+ bonus3 bAutoSpell, ASC_BREAKER, getskilllv(ASC_BREAKER), 10;
+ bonus bCritical, -20;
+ ">
+},
+{
+ Items: ["White_Wing_Boots", "White_Wing_Manteau", "White_Wing_Brooch", "White_Wing_Suits"]
+ Script: <"
+ bonus bAspd, 2;
+ bonus bLongAtkRate, 30;
+ bonus3 bAutoSpell, AC_DOUBLE, 3, 10;
+ bonus2 bSkillAtk, RA_ARROWSTORM, 50;
+ ">
+},
+{
+ Items: ["Black_Wing_Boots", "Black_Wing_Manteau", "Black_wing_Brooch", "Black_Wing_Suits"]
+ Script: <"
+ bonus bMaxHPrate, 15;
+ bonus2 bSkillAtk, RA_CLUSTERBOMB, 20;
+ bonus bFlee2, 20;
+ bonus bLongAtkRate, -30;
+ bonus bAspd, -7;
+ ">
+},
+{
+ Items: ["Siege_Greave", "Siege_Manteau", "Siege_Plate"]
+ Script: <"
+ bonus bVit, 5;
+ bonus2 bSubRace, RC_DemiPlayer, 15;
+ ">
+},
+{
+ Items: ["Siege_Boots", "Siege_Manteau", "Siege_Suits"]
+ Script: <"
+ bonus bDex, 5;
+ bonus2 bSubRace, RC_DemiPlayer, 15;
+ ">
+},
+{
+ Items: ["Siege_Shoes", "Siege_Muffler", "Siege_Robe"]
+ Script: <"
+ bonus bInt, 5;
+ bonus bMdef, 10;
+ bonus2 bSubRace, RC_DemiPlayer, 15;
+ ">
+},
+{
+ Items: ["Morpheuss_Shawl", "Morpheuss_Ring", "Morpheuss_Armlet", "Morpheuss_Hood"]
+ Script: <"
+ bonus bInt, 5;
+ bonus bMdef, 11;
+ bonus bMaxSPrate, 20;
+ bonus bNoCastCancel, 0;
+ bonus bVariableCastrate, 25;
+ ">
+},
+{
+ Items: ["Morriganes_Manteau", "Morriganes_Belt", "Morriganes_Pendant", "Morriganes_Helm"]
+ Script: <"
+ bonus bStr, 2;
+ bonus bLuk, 9;
+ bonus bCritical, 13;
+ bonus bBaseAtk, 18;
+ bonus bFlee2, 13;
+ ">
+},
+{
+ Items: ["Morriganes_Manteau", "Morriganes_Belt_", "Morriganes_Pendant_", "Morriganes_Helm_"]
+ Script: <"
+ bonus bStr, 2;
+ bonus bLuk, 9;
+ bonus bCritical, 13;
+ bonus bBaseAtk, 18;
+ bonus bFlee2, 13;
+ ">
+},
+{
+ Items: ["Dragon_Breath", "Dragon_Killer"]
+ Script: <"
+ bonus2 bAddRace, RC_Dragon, 5;
+ ">
+},
+{
+ Items: ["Scarlet_Poncho", "Critical_Ring"]
+ Script: <"
+ bonus bCritAtkRate, 5;
+ bonus bCritical, 10;
+ if (getequiprefinerycnt(EQI_GARMENT) >= 5) {
+ bonus bCritAtkRate, 3;
+ }
+ if (getequiprefinerycnt(EQI_GARMENT) >= 7) {
+ bonus bCritAtkRate, 4;
+ }
+ ">
+},
+{
+ Items: ["Scarlet_Poncho", "Rose_Cascade"]
+ Script: <"
+ bonus bUseSPrate, -5;
+ ">
+},
+{
+ Items: ["Clip", "Spiritual_Ring"]
+ Script: <"
+ bonus2 bSkillAtk, AL_HEAL, 50;
+ bonus2 bSkillAtk, PR_MAGNUS, 30;
+ bonus bSPrecovRate, 9;
+ ">
+},
+{
+ Items: ["Clip", "Spiritual_Ring_C"]
+ Script: <"
+ bonus2 bSkillAtk, AL_HEAL, 50;
+ bonus2 bSkillAtk, PR_MAGNUS, 30;
+ bonus bSPrecovRate, 9;
+ ">
+},
+{
+ Items: ["Clip", "Spiritual_Ring_M"]
+ Script: <"
+ bonus2 bSkillAtk, AL_HEAL, 50;
+ bonus2 bSkillAtk, PR_MAGNUS, 30;
+ bonus bSPrecovRate, 9;
+ ">
+},
+{
+ Items: ["Rosary", "Spiritual_Ring"]
+ Script: <"
+ bonus2 bSkillAtk, AL_HEAL, 50;
+ bonus2 bSkillAtk, PR_MAGNUS, 30;
+ bonus bSPrecovRate, 9;
+ ">
+},
+{
+ Items: ["Rosary", "Spiritual_Ring_C"]
+ Script: <"
+ bonus2 bSkillAtk, AL_HEAL, 50;
+ bonus2 bSkillAtk, PR_MAGNUS, 30;
+ bonus bSPrecovRate, 9;
+ ">
+},
+{
+ Items: ["Rosary", "Spiritual_Ring_M"]
+ Script: <"
+ bonus2 bSkillAtk, AL_HEAL, 50;
+ bonus2 bSkillAtk, PR_MAGNUS, 30;
+ bonus bSPrecovRate, 9;
+ ">
+},
+{
+ Items: ["Safety_Ring", "Angel_Earing"]
+ Script: <"
+ bonus bMdef, 7;
+ bonus bDef, 7;
+ ">
+},
+{
+ Items: ["Critical_Ring", "Angel_Earing"]
+ Script: <"
+ bonus bCritical, 7;
+ ">
+},
+{
+ Items: ["Ring_Of_Rogue", "Cold_Heart"]
+ Script: <"
+ bonus2 bAddSize, Size_Medium, 8;
+ bonus bAspdRate, 3;
+ ">
+},
+{
+ Items: ["Ring_Of_Rogue", "Black_Cat"]
+ Script: <"
+ bonus2 bAddSize, Size_Large, 8;
+ bonus bHit, 3;
+ bonus bVariableCastrate, -3;
+ ">
+},
+{
+ Items: ["Rosary_", "Spiritual_Ring"]
+ Script: <"
+ bonus2 bSkillAtk, AL_HEAL, 50;
+ bonus2 bSkillAtk, PR_MAGNUS, 30;
+ bonus bSPrecovRate, 9;
+ ">
+},
+{
+ Items: ["Rosary_", "Spiritual_Ring_C"]
+ Script: <"
+ bonus2 bSkillAtk, AL_HEAL, 50;
+ bonus2 bSkillAtk, PR_MAGNUS, 30;
+ bonus bSPrecovRate, 9;
+ ">
+},
+{
+ Items: ["Rosary_", "Spiritual_Ring_M"]
+ Script: <"
+ bonus2 bSkillAtk, AL_HEAL, 50;
+ bonus2 bSkillAtk, PR_MAGNUS, 30;
+ bonus bSPrecovRate, 9;
+ ">
+},
+{
+ Items: ["Ring_Of_Flame_Lord", "Ring_Of_Resonance"]
+ Script: <"
+ bonus4 bAutoSpell, MO_EXTREMITYFIST, 1, 3, 1;
+ bonus3 bAutoSpell, PR_LEXAETERNA, 1, 20;
+ bonus3 bAutoSpell, AS_SONICBLOW, 5, 50;
+ bonus3 bAutoSpell, MO_INVESTIGATE, 5, 20;
+ bonus3 bAutoSpell, ASC_METEORASSAULT, 2, 50;
+ ">
+},
+{
+ Items: ["Ring_Of_Resonance", "Ring_Of_Flame_Lord_I"]
+ Script: <"
+ bonus4 bAutoSpell, MO_EXTREMITYFIST, 1, 3, 1;
+ bonus3 bAutoSpell, PR_LEXAETERNA, 1, 20;
+ bonus3 bAutoSpell, AS_SONICBLOW, 5, 50;
+ bonus3 bAutoSpell, MO_INVESTIGATE, 5, 20;
+ bonus3 bAutoSpell, ASC_METEORASSAULT, 2, 50;
+ ">
+},
+{
+ Items: ["Orleans_Glove", "Orleans_Necklace"]
+ Script: <"
+ bonus bMatk, 20;
+ ">
+},
+{
+ Items: ["Medal_Swordman", "Krieger_Ring1"]
+ Script: <"
+ bonus2 bAddRace, RC_All, 5;
+ bonus bMatkRate, 3;
+ bonus bHealPower, 5;
+ ">
+},
+{
+ Items: ["Medal_Thief", "Krieger_Ring1"]
+ Script: <"
+ bonus2 bAddRace, RC_All, 5;
+ bonus bMatkRate, 3;
+ bonus bHealPower, 5;
+ ">
+},
+{
+ Items: ["Medal_Acolyte", "Krieger_Ring1"]
+ Script: <"
+ bonus2 bAddRace, RC_All, 5;
+ bonus bMatkRate, 3;
+ bonus bHealPower, 5;
+ ">
+},
+{
+ Items: ["Medal_Mage", "Krieger_Ring1"]
+ Script: <"
+ bonus2 bAddRace, RC_All, 5;
+ bonus bMatkRate, 3;
+ bonus bHealPower, 5;
+ ">
+},
+{
+ Items: ["Medal_Archer", "Krieger_Ring1"]
+ Script: <"
+ bonus2 bAddRace, RC_All, 5;
+ bonus bMatkRate, 3;
+ bonus bHealPower, 5;
+ ">
+},
+{
+ Items: ["Medal_Merchant", "Krieger_Ring1"]
+ Script: <"
+ bonus2 bAddRace, RC_All, 5;
+ bonus bMatkRate, 3;
+ bonus bHealPower, 5;
+ ">
+},
+{
+ Items: ["Icarus_Wing", "Bowman_Scarf"]
+ Script: <"
+ bonus bUseSPrate, -25;
+ ">
+},
+{
+ Items: ["Medal_Gunner", "Krieger_Ring1"]
+ Script: <"
+ bonus2 bAddRace, RC_All, 5;
+ bonus bMatkRate, 3;
+ bonus bHealPower, 5;
+ ">
+},
+{
+ Items: ["Black_Cat", "Black_Wing"]
+ Script: <"
+ bonus bHit, 5;
+ bonus bMatk, 5;
+ bonus2 bSkillUseSP, SC_ENERVATION, 20;
+ bonus2 bSkillUseSP, SC_GROOMY, 20;
+ ">
+},
+{
+ Items: ["Shaman_Ring", "Shaman_Earing", "Shamans_Hair_Ornament"]
+ Script: <"
+ bonus bMaxHP, 300;
+ bonus bMatkRate, 5;
+ bonus2 bSubEle, Ele_Neutral, 5;
+ ">
+},
+{
+ Items: ["Dark_Knight_Belt", "Dark_Knight_Glove", "Dark_Knight_Mask"]
+ Script: <"
+ bonus bMatkRate, 10;
+ bonus bInt, 5;
+ bonus2 bSubRace, RC_Angel, 10;
+ ">
+},
+{
+ Items: ["Dark_Knight_Belt", "Dark_Knight_Glove", "Dark_Knight_MaskB"]
+ Script: <"
+ bonus bMatkRate, 10;
+ bonus bInt, 5;
+ bonus2 bSubRace, RC_Angel, 10;
+ ">
+},
+{
+ Items: ["Rune_Ring", "Rune_Suit", "Mana_Manteau", "Mana_Boots"]
+ Script: <"
+ bonus2 bExpAddRace, RC_All, 10;
+ ">
+},
+{
+ Items: ["Body_Power_Up_Ring", "Anti_Magic_Suit"]
+ Script: <"
+ bonus bAspdRate, 5;
+ ">
+},
+{
+ Items: ["Body_Power_Up_Ring", "Geffen_Mage_Robe"]
+ Script: <"
+ bonus bDelayrate, -5;
+ bonus2 bAddRaceTolerance, RC_DemiPlayer, 5;
+ ">
+},
+{
+ Items: ["Ring_Of_Spell_Explosion", "Anti_Magic_Suit"]
+ Script: <"
+ bonus bDelayrate, -5;
+ bonus2 bAddRaceTolerance, RC_DemiPlayer, 5;
+ ">
+},
+{
+ Items: ["Ring_Of_Spell_Explosion", "Geffen_Mage_Robe"]
+ Script: <"
+ bonus bVariableCastrate, -5;
+ ">
+},
+{
+ Items: ["RWC_Gold_Brooch", "RWC_Silver_Brooch"]
+ Script: <"
+ bonus bMatkRate, 10;
+ bonus bAtkRate, 10;
+ ">
+},
+{
+ Items: ["Poring_Card", "Mastering_Card"]
+ Script: <"
+ bonus bFlee, 18;
+ ">
+},
+{
+ Items: ["Lunatic_Card", "Eclipse_Card"]
+ Script: <"
+ bonus bFlee, 18;
+ ">
+},
+{
+ Items: ["Chonchon_Card", "Dragon_Fly_Card"]
+ Script: <"
+ bonus bFlee, 18;
+ ">
+},
+{
+ Items: ["Roda_Frog_Card", "Toad_Card"]
+ Script: <"
+ bonus bFlee, 18;
+ ">
+},
+{
+ Items: ["Condor_Card", "FlyingGalapago"]
+ Script: <"
+ bonus2 bSubEle, Ele_All, 5;
+ ">
+},
+{
+ Items: ["Rocker_Card", "Vocal_Card"]
+ Script: <"
+ bonus bFlee, 18;
+ ">
+},
+{
+ Items: ["Skeleton_Card", "Skel_Prisoner_Card"]
+ Script: <"
+ bonus2 bAddEffWhenHit, Eff_Sleep, 600;
+ ">
+},
+{
+ Items: ["Tarou_Card", "Cramp_Card"]
+ Script: <"
+ bonus bStr, 3;
+ ">
+},
+{
+ Items: ["Wolf_Card", "Vagabond_Wolf_Card"]
+ Script: <"
+ bonus bFlee, 18;
+ ">
+},
+{
+ Items: ["Pecopeco_Card", "Grand_Peco_Card"]
+ Script: <"
+ bonus bDef, 3;
+ bonus bVit, 3;
+ ">
+},
+{
+ Items: ["Muka_Card", "Raggler_Card", "Baby_Leopard_Card", "Zipper_Bear_Card", "Mole_Card"]
+ Script: <"
+ bonus bStr, 4;
+ bonus bMaxHPrate, 7;
+ bonus bMaxSPrate, 7;
+ bonus2 bSkillAtk, MC_MAMMONITE, 20;
+ bonus bSPDrainValue, 1;
+ if (BaseJob == Job_Alchemist) {
+ bonus3 bAutoSpell, BS_ADRENALINE, 1, 10;
+ bonus2 bAddMonsterDropItem, 7139, 3;
+ bonus2 bAddMonsterDropItem, 905, 10;
+ }
+ ">
+},
+{
+ Items: ["Stainer_Card", "Wander_Man_Card", "Shinobi_Card", "Wild_Rose_Card", "Whikebain_Card"]
+ Script: <"
+ bonus bStr, 6;
+ bonus bAgi, 4;
+ bonus2 bSkillAtk, RG_BACKSTAP, 10;
+ if (getskilllv(RG_STRIPARMOR) == 5)
+ bonus3 bAutoSpell, RG_STRIPARMOR, 5, 50;
+ if (BaseJob == Job_Rogue) {
+ bonus bUseSPrate, -20;
+ bonus3 bAutoSpell, RG_INTIMIDATE, 1, -20;
+ }
+ ">
+},
+{
+ Items: ["Golem_Card", "Companion_Cavalry_Sword"]
+ Script: <"
+ bonus2 bSubSize, Size_Large, 15;
+ bonus2 bSubSize, Size_Small, 15;
+ ">
+},
+{
+ Items: ["BigFoot_Card", "Grizzly_Card"]
+ Script: <"
+ bonus2 bAddEffWhenHit, Eff_Blind, 600;
+ ">
+},
+{
+ Items: ["Munak_Card", "Bon_Gun_Card", "Hyegun_Card"]
+ Script: <"
+ bonus bAllStats, 1;
+ ">
+},
+{
+ Items: ["Mummy_Card", "Ancient_Mummy_Card"]
+ Script: <"
+ bonus bPerfectHitAddRate, 20;
+ ">
+},
+{
+ Items: ["Nightmare_Card", "Nightmare_Terror_Card"]
+ Script: <"
+ bonus2 bAddEffWhenHit, Eff_Curse, 600;
+ ">
+},
+{
+ Items: ["Knight_Of_Abyss_Card", "Lord_of_Death"]
+ Script: <"
+ bonus2 bAddRace, RC_Boss, 5;
+ if (getequiprefinerycnt(EQI_HEAD_TOP) >= 11)
+ bonus2 bSubRace, RC_NonBoss, 5;
+ ">
+},
+{
+ Items: ["Galapago_Card", "FlyingGalapago"]
+ Script: <"
+ bonus2 bAddItemHealRate, Apple_Juice, 1000;
+ bonus2 bAddItemHealRate, Banana_Juice, 1000;
+ bonus2 bAddItemHealRate, Carrot_Juice, 1000;
+ ">
+},
+{
+ Items: ["Crab_Card", "Aster_Card", "Shellfish_Card"]
+ Script: <"
+ bonus3 bAddMonsterDropItem, 544, RC_Fish, 3000;
+ bonus2 bAddEle, Ele_Water, 30;
+ ">
+},
+{
+ Items: ["Grand_Peco_Card", "Heaven_Cage"]
+ Script: <"
+ bonus4 bAutoSpell, PR_GLORIA, 5, 10, 0;
+ ">
+},
+{
+ Items: ["Gryphon_Card", "FlyingGalapago"]
+ Script: <"
+ bonus bAspdRate, 3;
+ bonus bAspd, 1;
+ bonus bAtkRate, -5;
+ if (getiteminfo(getequipid(EQI_HAND_R), ITEMINFO_SUBTYPE) == W_BOW) {
+ if (getequiprefinerycnt(EQI_HAND_R) > 8)
+ bonus bAspd, 1;
+ }
+ ">
+},
+{
+ Items: ["Dark_Lord_Card", "Dark_Illusion_Card"]
+ Script: <"
+ bonus bMaxHPrate, 20;
+ bonus bMaxSPrate, 20;
+ bonus bVariableCastrate, -10;
+ ">
+},
+{
+ Items: ["The_Paper_Card", "Wander_Man_Card", "Shinobi_Card", "Wild_Rose_Card", "Dancing_Dragon_Card"]
+ Script: <"
+ bonus bAgi, 5;
+ bonus bStr, 5;
+ bonus bAspdRate, 5;
+ bonus bSpeedRate, 25;
+ bonus2 bSPDrainValue, 1, 0;
+ if (BaseClass == Job_Thief)
+ bonus bNoGemStone, 0;
+ ">
+},
+{
+ Items: ["Dragon_Tail_Card", "Merman_Card", "Anolian_Card", "Alligator_Card", "Cruiser_Card"]
+ Script: <"
+ bonus bAgi, 5;
+ bonus bDex, 3;
+ bonus bLongAtkRate, 20;
+ bonus bPerfectHitAddRate, 20;
+ if (BaseClass == Job_Archer) {
+ bonus2 bExpAddRace, RC_Brute, 5;
+ bonus2 bWeaponComaRace, RC_Brute, 100;
+ }
+ ">
+},
+{
+ Items: ["Dragon_Tail_Card", "Anolian_Card", "Alligator_Card", "Cruiser_Card", "Ferus__Card"]
+ Script: <"
+ bonus bDex, 5;
+ bonus2 bSkillAtk, CG_ARROWVULCAN, 5;
+ bonus2 bSkillAtk, DC_THROWARROW, 10;
+ bonus2 bSkillAtk, BA_MUSICALSTRIKE, 10;
+ if (BaseJob == Job_Bard || BaseJob == Job_Dancer)
+ bonus3 bAutoSpellWhenHit, CG_TAROTCARD, 2, 50;
+ ">
+},
+{
+ Items: ["Rideword_Card", "Live_Peach_Tree_Card", "Geographer_Card", "Cookie_Card", "Fur_Seal_Card"]
+ Script: <"
+ bonus bVit, 10;
+ bonus bVariableCastrate, -10;
+ bonus bUseSPrate, -10;
+ if (BaseClass == Job_Acolyte) {
+ bonus2 bExpAddRace, RC_Undead, 5;
+ bonus2 bExpAddRace, RC_Demon, 5;
+ bonus2 bSubRace, RC_Undead, 30;
+ bonus2 bSubRace, RC_Demon, 30;
+ }
+ ">
+},
+{
+ Items: ["Rideword_Card", "Cookie_Card", "Fur_Seal_Card", "Waste_Stove_Card"]
+ Script: <"
+ bonus bStr, 3;
+ bonus bMaxSP, 80;
+ bonus bBaseAtk, 25;
+ bonus3 bAutoSpell, AL_CRUCIS, 5, 10;
+ bonus2 bSkillAtk, MO_EXTREMITYFIST, 10;
+ if (BaseJob == Job_Monk) {
+ bonus bUseSPrate, -10;
+ bonus bNoCastCancel, 0;
+ }
+ ">
+},
+{
+ Items: ["Raggler_Card", "Mystcase_Card", "Baby_Leopard_Card", "Zipper_Bear_Card", "Hylozoist_Card"]
+ Script: <"
+ bonus bLuk, 10;
+ bonus2 bSPDrainValue, 2, 0;
+ bonus2 bSkillAtk, 42, 20;
+ if (BaseClass == Job_Merchant) {
+ bonus2 bAddMonsterDropItem, 617, 5;
+ bonus bMagicDamageReturn, 20;
+ }
+ ">
+},
+{
+ Items: ["Loli_Ruri_Card", "Miyabi_Ningyo_Card", "Wicked_Nymph_Card", "Parasite_Card", "Harpy_Card", "Blood_Butterfly_Card"]
+ Script: <"
+ bonus bMaxHP, 500;
+ bonus bDef, 5;
+ bonus bMdef, 5;
+ bonus2 bSkillAtk, 14, 10;
+ bonus2 bSkillAtk, 19, 10;
+ bonus2 bSkillAtk, 20, 10;
+ if (BaseClass == Job_Mage) {
+ bonus bMatkRate, 3;
+ bonus bVariableCastrate, -15;
+ }
+ ">
+},
+{
+ Items: ["Lude_Card", "Quve_Card"]
+ Script: <"
+ bonus bMaxHP, 300;
+ bonus bMaxSP, 60;
+ ">
+},
+{
+ Items: ["Miyabi_Ningyo_Card", "Wicked_Nymph_Card", "Harpy_Card", "Blood_Butterfly_Card", "Novus__Card"]
+ Script: <"
+ bonus bInt, 3;
+ bonus2 bSkillAtk, WZ_HEAVENDRIVE, 10;
+ bonus2 bSkillAtk, MG_THUNDERSTORM, 10;
+ if (BaseJob == Job_Sage) {
+ bonus bMagicDamageReturn, 20;
+ bonus2 bAddMonsterDropItem, 716, 100;
+ bonus2 bAddMonsterDropItem, 715, 100;
+ bonus bVariableCastrate, -20;
+ }
+ ">
+},
+{
+ Items: ["Succubus_Card", "Incubus_Card"]
+ Script: <"
+ bonus bHPrecovRate, 30;
+ bonus bSPrecovRate, 30;
+ bonus bVit, 4;
+ bonus bInt, 4;
+ ">
+},
+{
+ Items: ["Solider_Card", "Assulter_Card", "Permeter_Card", "Freezer_Card", "Heater_Card"]
+ Script: <"
+ bonus bStr, 10;
+ bonus bMaxHPrate, 20;
+ bonus bHPrecovRate, 50;
+ bonus3 bAutoSpell, BS_WEAPONPERFECT, 1, 3;
+ bonus2 bAddMonsterDropItem, 501, 500;
+ if (BaseClass == Job_Swordman) {
+ bonus2 bAddItemHealRate, Red_Potion, 50;
+ bonus2 bAddItemHealRate, Yellow_Potion, 50;
+ bonus2 bAddItemHealRate, Orange_Potion, 50;
+ bonus2 bAddItemHealRate, White_Potion, 50;
+ }
+ ">
+},
+{
+ Items: ["C_Tower_Manager_Card", "Alarm_Card", "Clock_Card", "Punk_Card"]
+ Script: <"
+ bonus bDef, 3;
+ bonus bMdef, 3;
+ ">
+},
+{
+ Items: ["Owl_Duke_Card", "Owl_Baron_Card"]
+ Script: <"
+ bonus3 bAutoSpell, MG_LIGHTNINGBOLT, 5, 20;
+ ">
+},
+{
+ Items: ["Injustice_Card", "Zherlthsh_Card"]
+ Script: <"
+ bonus bBaseAtk, 20;
+ bonus bLuk, 3;
+ ">
+},
+{
+ Items: ["Permeter_Card", "Freezer_Card", "Heater_Card", "Archdam_Card"]
+ Script: <"
+ bonus bInt, 1;
+ bonus bStr, 1;
+ bonus bDef, 2;
+ bonus bSPrecovRate, 10;
+ bonus2 bSkillAtk, PA_SHIELDCHAIN, 10;
+ bonus2 bSkillAtk, PA_SACRIFICE, 10;
+ bonus bVariableCastrate, -10;
+ if (BaseJob == Job_Crusader)
+ bonus bDefEle, Ele_Holy;
+ ">
+},
+{
+ Items: ["Garm_Baby_Card", "Garm_Card"]
+ Script: <"
+ bonus3 bAutoSpell, MG_FROSTDIVER, 3, 250;
+ ">
+},
+{
+ Items: ["Pitman_Card", "Mashirubeken"]
+ Script: <"
+ bonus3 bAutoSpell, WZ_EARTHSPIKE, 5, 20 + (getequiprefinerycnt(EQI_HAND_R));
+ ">
+},
+{
+ Items: ["Hill_Wind_Card", "Mashirubeken"]
+ Script: <"
+ bonus3 bAutoSpell, MG_LIGHTNINGBOLT, 5, 20 + (getequiprefinerycnt(EQI_HAND_R));
+ ">
+},
+{
+ Items: ["Rawrel_Card", "Mashirubeken"]
+ Script: <"
+ bonus3 bAutoSpell, MG_COLDBOLT, 5, 20 + (getequiprefinerycnt(EQI_HAND_R));
+ ">
+},
+{
+ Items: ["Ferus_Card", "Mashirubeken"]
+ Script: <"
+ bonus3 bAutoSpell, MG_FIREBOLT, 5, 20 + (getequiprefinerycnt(EQI_HAND_R));
+ ">
+},
+{
+ Items: ["Deathword_Card", "Mashirubeken"]
+ Script: <"
+ bonus3 bAutoSpell, MG_SOULSTRIKE, 5, 20 + (getequiprefinerycnt(EQI_HAND_R));
+ ">
+},
+{
+ Items: ["Zombie_Slaughter_Card", "Ragged_Zombie_Card"]
+ Script: <"
+ bonus2 bSPGainRace, RC_DemiPlayer, 2;
+ ">
+},
+{
+ Items: ["Tendrilion_Card", "KarduiEar"]
+ Script: <"
+ if (getiteminfo(getequipid(EQI_HAND_R), ITEMINFO_SUBTYPE) == W_2HSPEAR
+ || getiteminfo(getequipid(EQI_HAND_R), ITEMINFO_SUBTYPE) == W_2HSTAFF
+ || getiteminfo(getequipid(EQI_HAND_R), ITEMINFO_SUBTYPE) == W_STAFF) {
+ bonus2 bMagicAddRace, RC_DemiPlayer, getequipid(EQI_HAND_R) * 2;
+ bonus2 bMagicAddRace, RC_Player, getequipid(EQI_HAND_R) * 2;
+ }
+ ">
+},
+{
+ Items: ["Scaraba_Card", "Gold_Scaraba_Card"]
+ Script: <"
+ bonus3 bAutoSpell, NPC_DRAGONFEAR, 2, 100 + (getrefine() * 10);
+ ">
+},
+{
+ Items: ["Q_Scaraba_Card", "Queen_Scaraba_Crown"]
+ Script: <"
+ bonus2 bAddRace2, 7, 30;
+ ">
+},
+{
+ Items: ["Gold_Q_Scaraba_Card", "Queen_Scaraba_Crown"]
+ Script: <"
+ bonus2 bSubRace, RC_Insect, 10;
+ bonus2 bResEff, Eff_Confusion, 10000;
+ ">
+},
+{
+ Items: ["Cendrawasih_Card", "FlyingGalapago"]
+ Script: <"
+ bonus bInt, 1;
+ bonus bCritAtkRate, 5;
+ if (BaseClass == Job_Archer) {
+ bonus bCritAtkRate, 10;
+ }
+ ">
+},
+{
+ Items: ["UndeadKnightF_Card", "Crimson_Stole"]
+ Script: <"
+ bonus bMaxSPrate, 44;
+ bonus bSPGainValue, -(20 + (getequiprefinerycnt(EQI_GARMENT) / 2));
+ ">
+},
+{
+ Items: ["White_Knightage_Card", "Khali_Knightage_Card"]
+ Script: <"
+ bonus2 bAddSize, Size_Medium, 15;
+ bonus2 bAddSize, Size_Large, 15;
+ bonus2 bSubSize, Size_Medium, 5;
+ bonus2 bSubSize, Size_Large, 5;
+ ">
+},
+{
+ Items: ["P_Amdarais_Card", "Bijou_Card"]
+ Script: <"
+ bonus2 bResEff, Eff_Burning, 10000;
+ ">
+},
+{
+ Items: ["Min_Toad_Card", "Min_Chimera_Card"]
+ Script: <"
+ bonus bAtkRate, 10;
+ bonus bMatkRate, 10;
+ ">
+},
+{
+ Items: ["Min_Vagabond_Wolf_Card", "Min_Chimera_Card"]
+ Script: <"
+ bonus bAtkRate, 10;
+ bonus bMatkRate, 10;
+ ">
+},
+{
+ Items: ["Min_Vocal_Card", "Min_Chimera_Card"]
+ Script: <"
+ bonus bAtkRate, 10;
+ bonus bMatkRate, 10;
+ ">
+},
+{
+ Items: ["Min_Eclipse_Card", "Min_Chimera_Card"]
+ Script: <"
+ bonus bAtkRate, 10;
+ bonus bMatkRate, 10;
+ ">
+},
+{
+ Items: ["N_Arclouse_Card", "N_Mimic_Card"]
+ Script: <"
+ bonus2 bSubRace, RC_Brute, 5;
+ bonus2 bSubRace, RC_Undead, 5;
+ bonus2 bIgnoreMdefRate, 50, RC_Brute;
+ bonus2 bIgnoreMdefRate, 50, RC_Undead;
+ ">
+},
+{
+ Items: ["N_Arclouse_Card", "N_Minorous_Card"]
+ Script: <"
+ bonus2 bSubRace, RC_Brute, 5;
+ bonus2 bSubRace, RC_Undead, 5;
+ bonus2 bIgnoreDefRate, 50, RC_Brute;
+ bonus2 bIgnoreDefRate, 50, RC_Undead;
+ ">
+},
+{
+ Items: ["Loard_Circlet", "Gossip_Raven"]
+ Script: <"
+ bonus2 bExpAddRace, RC_All, 5;
+ ">
+},
+{
+ Items: ["Bankruptcy_Of_Heart", "Mask_Of_Bankrupt"]
+ Script: <"
+ bonus bMaxHP, 100;
+ bonus2 bSubEle, Ele_Neutral, getequiprefinerycnt(EQI_HEAD_TOP);
+ ">
+},
+{
+ Items: ["Blush", "Necktie"]
+ Script: <"
+ bonus bAspdRate, 3;
+ bonus bVariableCastrate, 3;
+ ">
+},
+{
+ Items: ["Blush", "Tare_Pope"]
+ Script: <"
+ bonus bSPrecovRate, 3;
+ ">
+},
+{
+ Items: ["Blush", "Tare_Pope_"]
+ Script: <"
+ bonus bHealPower, 10;
+ ">
+},
+{
+ Items: ["Ear_Of_Devils_Wing", "Darkness_Helm_J"]
+ Script: <"
+ bonus bStr, 1;
+ bonus bAtkRate, 5;
+ ">
+},
+{
+ Items: ["Ear_Of_Angels_Wing", "Darkness_Helm_J"]
+ Script: <"
+ bonus bStr, 1;
+ bonus bAspdRate, 2;
+ ">
+},
+{
+ Items: ["Alarm_Mask", "Gloomy_Pumpkin_Hat"]
+ Script: <"
+ bonus2 bAddItemHealRate, 12192, 200;
+ ">
+},
+{
+ Items: ["Feather_Beret", "Protect_Feathers"]
+ Script: <"
+ bonus bAspdRate, 5;
+ if (getequiprefinerycnt(EQI_HEAD_TOP) > 6)
+ bonus bAspdRate, 5;
+ if (getequiprefinerycnt(EQI_HEAD_TOP) > 8)
+ bonus bMaxHPrate, 5;
+ ">
+},
+{
+ Items: ["Hahoe_Mask", "Gloomy_Pumpkin_Hat"]
+ Script: <"
+ bonus bAspdRate, 5;
+ ">
+},
+{
+ Items: ["Captain_Hat", "Antique_Pipe_J"]
+ Script: <"
+ bonus bLongAtkRate, getequiprefinerycnt(EQI_HEAD_TOP);
+ ">
+},
+{
+ Items: ["Pecopeco_Wing_Ears", "Darkness_Helm_J"]
+ Script: <"
+ bonus bAgi, 1;
+ bonus bFlee, 3;
+ ">
+},
+{
+ Items: ["Pencil_In_Mouth", "Cap_Of_Concentration"]
+ Script: <"
+ bonus bDex, 2;
+ bonus bDef, 2;
+ ">
+},
+{
+ Items: ["Black_Glasses", "Darkness_Helm_J"]
+ Script: <"
+ bonus bInt, 1;
+ bonus bMatkRate, 2;
+ ">
+},
+{
+ Items: ["Eyes_Of_Darkness", "Darkness_Helm_J"]
+ Script: <"
+ bonus bDex, 1;
+ bonus bLongAtkRate, 3;
+ ">
+},
+{
+ Items: ["Red_Wing_Hat", "Priest_Sword"]
+ Script: <"
+ bonus2 bAddRace, RC_DemiPlayer, 10;
+ bonus bHit, 10;
+ ">
+},
+{
+ Items: ["Angel_Earing", "Bless_Of_Moon"]
+ Script: <"
+ bonus2 bAddRace, RC_All, 3;
+ ">
+},
+{
+ Items: ["Heaven_Cage", "Ixion_Wing"]
+ Script: <"
+ if (Class == Job_Ranger || Class == Job_Ranger_T)
+ skill HT_BLITZBEAT, 5 * getequiprefinerycnt(EQI_HAND_R);
+ ">
+},
+{
+ Items: ["Scalpel", "Green_Operation_Coat"]
+ Script: <"
+ bonus3 bAddMonsterDropItem, 929, RC_Brute, 100 + (getequiprefinerycnt(EQI_HAND_R) * 10);
+ bonus3 bAddMonsterDropItem, 929, RC_DemiPlayer, 100 + (getequiprefinerycnt(EQI_HAND_R) * 10);
+ bonus3 bAddMonsterDropItem, 970, RC_Brute, 20 + (getequiprefinerycnt(EQI_HAND_R) * 2);
+ bonus3 bAddMonsterDropItem, 970, RC_DemiPlayer, 20 + (getequiprefinerycnt(EQI_HAND_R) * 2);
+ ">
+},
+{
+ Items: ["Twilight_Desert", "Sandstorm"]
+ Script: <"
+ bonus bMaxSP, 20;
+ bonus bMaxHPrate, 5;
+ bonus bHit, 10;
+ bonus2 bAddSize, Size_Large, 30;
+ autobonus "{ bonus bAspdRate,100; }", 1, 7000, BF_WEAPON, "{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }";
+ ">
+},
+{
+ Items: ["Sandstorm", "Twilight_Desert_"]
+ Script: <"
+ bonus bMaxSP, 20;
+ bonus bMaxHPrate, 5;
+ bonus bHit, 10;
+ bonus2 bAddSize, Size_Large, 30;
+ autobonus "{ bonus bAspdRate,100; }", 1, 7000, BF_WEAPON, "{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }";
+ ">
+},
+{
+ Items: ["Boitata_Armor", "Boitata_Hat"]
+ Script: <"
+ bonus2 bAddEle, Ele_Earth, 10;
+ bonus bDefEle, Ele_Fire;
+ ">
+},
+{
+ Items: ["Egir_Armor", "Aegir_Helm"]
+ Script: <"
+ bonus2 bAddRaceTolerance, RC_Fish, 10 + getequiprefinerycnt(EQI_ARMOR);
+ ">
+},
+{
+ Items: ["Im_Angels_Protection", "Impr_Angels_Warmth"]
+ Script: <"
+ bonus(bAgi, 5);
+ bonus(bFlee, 10);
+ ">
+},
+{
+ Items: ["Female_Poring_Egg", "Excellion_Wing"]
+ Script: <"
+ bonus bDelayrate, -10;
+ bonus bFlee2, 6;
+ if (BaseLevel > 130) {
+ bonus bDelayrate, -10;
+ }
+ ">
+},
+{
+ Items: ["Elven_Ears_", "Skull_Cap"]
+ Script: <"
+ bonus bUseSPrate, -3;
+ ">
+},
+{
+ Items: ["Blush_", "Tare_Pope"]
+ Script: <"
+ bonus bSPrecovRate, 3;
+ ">
+},
+{
+ Items: ["Blush_", "Tare_Pope_"]
+ Script: <"
+ bonus bHealPower, 10;
+ ">
+},
+{
+ Items: ["Imperial_Feather", "Imperial_Ring"]
+ Script: <"
+ bonus2 bSkillVariableCast, CR_GRANDCROSS, -2000;
+ bonus2 bSkillUseSP, LG_RAYOFGENESIS, 10;
+ bonus2 bSkillAtk, CR_GRANDCROSS, BaseLevel;
+ bonus2 bSkillAtk, LG_RAYOFGENESIS, BaseLevel / 30;
+ ">
+},
+{
+ Items: ["Imperial_Feather", "Imperial_Guard", "Imperial_Spear"]
+ Script: <"
+ bonus2 bSkillAtk, LG_CANNONSPEAR, 20;
+ bonus2 bSkillAtk, LG_BANISHINGPOINT, 20;
+ bonus2 bSkillAtk, LG_SHIELDPRESS, 20;
+ ">
+},
+{
+ Items: ["Armor_Of_Gray", "Gray_Helmet", "Cloak_Of_Gray", "Boots_Of_Gray"]
+ Script: <"
+ bonus2 bSubEle, Ele_Neutral, 15;
+ bonus3 bAutoSpellWhenHit, WL_DRAINLIFE, 3, 100;
+ ">
+},
+{
+ Items: ["Gray_Robe", "Gray_Helmet", "Cloak_Of_Gray", "Boots_Of_Gray"]
+ Script: <"
+ bonus2 bSubEle, Ele_Neutral, 15;
+ bonus bMaxHPrate, 25;
+ bonus bMaxSPrate, 25;
+ bonus bMatkRate, 10;
+ ">
+},
+{
+ Items: ["Felock_Armor", "Felock_Cape", "Felock_Boots"]
+ Script: <"
+ bonus bMaxHP, 25;
+ bonus bMaxSP, 25;
+ bonus bSpeedRate, 25;
+ if (getequiprefinerycnt(EQI_GARMENT, EQI_SHOES, EQI_ARMOR) >= 30) {
+ bonus bMaxHP, 5;
+ bonus bMaxSP, 5;
+ }
+ ">
+},
+{
+ Items: ["Blood_Angel_Hair_Band", "Blood_Angel_Wing_Ear"]
+ Script: <"
+ bonus2 bAddRace, RC_Angel, 3;
+ ">
+},
+{
+ Items: ["Egir_Helm", "Egir_Armor", "Egir_Shoes", "Egir_Manteau"]
+ Script: <"
+ bonus bAllStats, 1;
+ bonus2 bSubEle, Ele_Water, 50;
+ ">
+},
+{
+ Items: ["Improved_Kiss_Of_Angel", "Impr_Angels_Warmth"]
+ Script: <"
+ bonus(bBaseAtk, 10);
+ ">
+},
+{
+ Items: ["Improved_Kiss_Of_Angel", "Impr_Angels_Arrival"]
+ Script: <"
+ bonus(bMatk, 20);
+ ">
+},
+{
+ Items: ["Mask_Of_Bankrupt", "Bankruptcy_Of_Heart_"]
+ Script: <"
+ bonus bMaxHP, 100;
+ bonus2 bSubEle, Ele_Neutral, getequiprefinerycnt(EQI_HEAD_TOP);
+ ">
+},
+{
+ Items: ["One_Eyed_Glass_", "Memorize_Book", "Pocket_Watch__"]
+ Script: <"
+ bonus bHPrecovRate, 15;
+ bonus bSPrecovRate, 15;
+ bonus bMatkRate, 7;
+ ">
+},
+{
+ Items: ["Riot_Chip", "Broken_Chip_1", "Broken_Chip_2"]
+ Script: <"
+ bonus bSpeedRate, 10;
+ bonus bBaseAtk, 50;
+ bonus bMatk, 50;
+ if (getequiprefinerycnt(EQI_HEAD_TOP) >= 9) {
+ bonus bMaxHPrate, 10;
+ bonus bMaxSPrate, 50;
+ }
+ ">
+},
+{
+ Items: ["Aegir_Helm", "Aegir_Armor"]
+ Script: <"
+ bonus2 bAddRaceTolerance, RC_Fish, 10 + getequiprefinerycnt(EQI_ARMOR);
+ ">
+},
+{
+ Items: ["Aegir_Helm", "Aegir_Cloak"]
+ Script: <"
+ .@r = getequiprefinerycnt(EQI_GARMENT);
+ bonus2 bSPGainRace, RC_Fish, 10;
+ bonus3 bAddMonsterDropItem, Shusi, RC_Fish, (5 + .@r);
+ bonus3 bAddMonsterDropItem, Fish_Slice, RC_Fish, (5 + .@r);
+ bonus2 bAddItemHealRate, Shusi, 5;
+ bonus2 bAddItemHealRate, Fish_Slice, 5;
+ bonus bHPrecovRate, (5 + .@r);
+ ">
+},
+{
+ Items: ["Aegir_Helm", "Aegir_Shoes"]
+ Script: <"
+ bonus2 bCriticalAddRace, RC_Fish, 10 + getequiprefinerycnt(EQI_SHOES);
+ ">
+},
+{
+ Items: ["Aegir_Helm", "Aegir_Armor", "Aegir_Shoes", "Aegir_Cloak"]
+ Script: <"
+ bonus bMaxHP, 1000;
+ bonus bMaxSP, 100;
+ bonus2 bExpAddRace, RC_Fish, 20;
+ bonus2 bAddRace, RC_Fish, 50;
+ bonus2 bMagicAddRace, RC_Fish, 50;
+ bonus2 bSubEle, Ele_Water, 50;
+ ">
+},
+{
+ Items: ["C_Amistr_Cap", "C_Amistr_Bag"]
+ Script: <"
+ bonus2 bAddRaceTolerance, RC_Player, 4;
+ ">
+},
+{
+ Items: ["FaceWorm_Skin", "Temporal_Str_Boots"]
+ Script: <"
+ bonus bMaxHPrate, 15;
+ bonus bMaxSPrate, 5;
+ ">
+},
+{
+ Items: ["FaceWorm_Skin", "Temporal_Int_Boots"]
+ Script: <"
+ bonus bMaxHPrate, 15;
+ bonus bMaxSPrate, 5;
+ ">
+},
+{
+ Items: ["FaceWorm_Skin", "Temporal_Agi_Boots"]
+ Script: <"
+ bonus bMaxHPrate, 15;
+ bonus bMaxSPrate, 5;
+ ">
+},
+{
+ Items: ["FaceWorm_Skin", "Temporal_Vit_Boots"]
+ Script: <"
+ bonus bMaxHPrate, 15;
+ bonus bMaxSPrate, 5;
+ ">
+},
+{
+ Items: ["FaceWorm_Skin", "Temporal_Dex_Boots"]
+ Script: <"
+ bonus bMaxHPrate, 15;
+ bonus bMaxSPrate, 5;
+ ">
+},
+{
+ Items: ["FaceWorm_Skin", "Temporal_Luk_Boots"]
+ Script: <"
+ bonus bMaxHPrate, 15;
+ bonus bMaxSPrate, 5;
+ ">
+},
+{
+ Items: ["FaceWorm_Skin", "Temporal_Str_Boots_"]
+ Script: <"
+ bonus bMaxHPrate, 15;
+ bonus bMaxSPrate, 5;
+ ">
+},
+{
+ Items: ["FaceWorm_Skin", "Temporal_Vit_Boots_"]
+ Script: <"
+ bonus bMaxHPrate, 15;
+ bonus bMaxSPrate, 5;
+ ">
+},
+{
+ Items: ["FaceWorm_Skin", "Temporal_Dex_Boots_"]
+ Script: <"
+ bonus bMaxHPrate, 15;
+ bonus bMaxSPrate, 5;
+ ">
+},
+{
+ Items: ["FaceWorm_Skin", "Temporal_Int_Boots_"]
+ Script: <"
+ bonus bMaxHPrate, 15;
+ bonus bMaxSPrate, 5;
+ ">
+},
+{
+ Items: ["FaceWorm_Skin", "Temporal_Agi_Boots_"]
+ Script: <"
+ bonus bMaxHPrate, 15;
+ bonus bMaxSPrate, 5;
+ ">
+},
+{
+ Items: ["FaceWorm_Skin", "Temporal_Luk_Boots_"]
+ Script: <"
+ bonus bMaxHPrate, 15;
+ bonus bMaxSPrate, 5;
+ ">
+},
+{
+ Items: ["FaceWorm_Skin_", "Temporal_Str_Boots"]
+ Script: <"
+ bonus bMaxHPrate, 15;
+ bonus bMaxSPrate, 5;
+ ">
+},
+{
+ Items: ["FaceWorm_Skin_", "Temporal_Int_Boots"]
+ Script: <"
+ bonus bMaxHPrate, 15;
+ bonus bMaxSPrate, 5;
+ ">
+},
+{
+ Items: ["FaceWorm_Skin_", "Temporal_Agi_Boots"]
+ Script: <"
+ bonus bMaxHPrate, 15;
+ bonus bMaxSPrate, 5;
+ ">
+},
+{
+ Items: ["FaceWorm_Skin_", "Temporal_Vit_Boots"]
+ Script: <"
+ bonus bMaxHPrate, 15;
+ bonus bMaxSPrate, 5;
+ ">
+},
+{
+ Items: ["FaceWorm_Skin_", "Temporal_Dex_Boots"]
+ Script: <"
+ bonus bMaxHPrate, 15;
+ bonus bMaxSPrate, 5;
+ ">
+},
+{
+ Items: ["FaceWorm_Skin_", "Temporal_Luk_Boots"]
+ Script: <"
+ bonus bMaxHPrate, 15;
+ bonus bMaxSPrate, 5;
+ ">
+},
+{
+ Items: ["FaceWorm_Skin_", "Temporal_Str_Boots_"]
+ Script: <"
+ bonus bMaxHPrate, 15;
+ bonus bMaxSPrate, 5;
+ ">
+},
+{
+ Items: ["FaceWorm_Skin_", "Temporal_Vit_Boots_"]
+ Script: <"
+ bonus bMaxHPrate, 15;
+ bonus bMaxSPrate, 5;
+ ">
+},
+{
+ Items: ["FaceWorm_Skin_", "Temporal_Dex_Boots_"]
+ Script: <"
+ bonus bMaxHPrate, 15;
+ bonus bMaxSPrate, 5;
+ ">
+},
+{
+ Items: ["FaceWorm_Skin_", "Temporal_Int_Boots_"]
+ Script: <"
+ bonus bMaxHPrate, 15;
+ bonus bMaxSPrate, 5;
+ ">
+},
+{
+ Items: ["FaceWorm_Skin_", "Temporal_Agi_Boots_"]
+ Script: <"
+ bonus bMaxHPrate, 15;
+ bonus bMaxSPrate, 5;
+ ">
+},
+{
+ Items: ["FaceWorm_Skin_", "Temporal_Luk_Boots_"]
+ Script: <"
+ bonus bMaxHPrate, 15;
+ bonus bMaxSPrate, 5;
+ ">
+},
+{
+ Items: ["Supplement_Part_Con", "Tornado_Axe"]
+ Script: <"
+ bonus2 bAddRace, RC_All, 25;
+ ">
+},
+{
+ Items: ["Assassin_Shoes", "Desperation_of_Assassin"]
+ Script: <"
+ bonus2 bAddRace, RC_DemiPlayer, getequiprefinerycnt(EQI_SHOES);
+ bonus2 bAddRace, RC_Player, getequiprefinerycnt(EQI_SHOES);
+ ">
+},
+{
+ Items: ["Broken_Chip_1", "Broken_Chip_2"]
+ Script: <"
+ bonus bInt, 8;
+ bonus bStr, 8;
+ ">
+},
+{
+ Items: ["S_Promotion_Weapon", "S_Promotion_Armor", "S_Promotion_Shoes", "S_Promotion_Shield", "S_Promotion_Earring", "S_Promotion_Pendant"]
+ Script: <"
+ bonus bAllStats, 9;
+ ">
+},
+{
+ Items: ["S_Physical_Earring", "S_Physical_Weapon", "S_Physical_Pendant"]
+ Script: <"
+ if (getequiprefinerycnt(EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L, EQI_SHADOW_WEAPON) >= 23) {
+ bonus bAtkRate, 1;
+ }
+ ">
+},
+{
+ Items: ["S_Magical_Earring", "S_Magical_Weapon", "S_Magical_Pendant"]
+ Script: <"
+ if (getequiprefinerycnt(EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L, EQI_SHADOW_WEAPON) >= 23) {
+ bonus bMatkRate, 1;
+ }
+ ">
+},
+{
+ Items: ["S_Champion_Shoes", "S_Hard_Armor"]
+ Script: <"
+ .@r = getequiprefinerycnt(EQI_SHADOW_ARMOR, EQI_SHADOW_SHOES);
+ bonus bMaxHP, .@r;
+ bonus bMaxSP, .@r;
+ if (.@r >= 15) {
+ bonus bMaxHPrate, 1;
+ }
+ ">
+},
+{
+ Items: ["S_Athena_Shield", "S_Immune_Armor"]
+ Script: <"
+ .@r = getequiprefinerycnt(EQI_SHADOW_ARMOR, EQI_SHADOW_SHIELD);
+ bonus bDef, .@r;
+ if (.@r >= 15) {
+ bonus2 bSubEle, 0, 1;
+ }
+ ">
+},
+{
+ Items: ["S_Ancient_Armor", "S_Kingbird_Weapon"]
+ Script: <"
+ .@r = getequiprefinerycnt(EQI_SHADOW_ARMOR, EQI_SHADOW_WEAPON);
+ bonus bBaseAtk, .@r;
+ if (.@r >= 15) {
+ bonus bLongAtkRate, 1;
+ }
+ ">
+},
+{
+ Items: ["S_Critical_Armor", "S_Cri_Hit_Weapon"]
+ Script: <"
+ .@r = getequiprefinerycnt(EQI_SHADOW_ARMOR, EQI_SHADOW_WEAPON);
+ bonus bCritical, .@r;
+ bonus bBaseAtk, .@r;
+ if (.@r >= 15) {
+ bonus bCritAtkRate, 1;
+ }
+ ">
+},
+{
+ Items: ["S_Lucky_Weapon", "S_Lucky_Armor"]
+ Script: <"
+ bonus bLuk, 1;
+ ">
+},
+{
+ Items: ["S_Power_Earring", "S_Power_Pendant"]
+ Script: <"
+ bonus bStr, 1;
+ ">
+},
+{
+ Items: ["S_Int_Pendant", "S_Int_Earring"]
+ Script: <"
+ bonus bInt, 1;
+ ">
+},
+{
+ Items: ["S_Dexterous_Armor", "S_Dexterous_Weapon"]
+ Script: <"
+ bonus bDex, 1;
+ ">
+},
+{
+ Items: ["S_Vital_Shoes", "S_Vital_Shield"]
+ Script: <"
+ bonus bVit, 1;
+ ">
+},
+{
+ Items: ["S_Athletic_Shield", "S_Athletic_Shoes"]
+ Script: <"
+ bonus bAgi, 1;
+ ">
+},
+{
+ Items: ["S_Resist_Spell_Pendant", "S_Athena_Earring"]
+ Script: <"
+ bonus2 bSubEle, Ele_Neutral, 1;
+ if (getequiprefinerycnt(EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L) >= 15) {
+ bonus2 bSubEle, Ele_Neutral, 1;
+ }
+ ">
+},
+{
+ Items: ["S_Cranial_Shield", "S_Bloody_Shoes"]
+ Script: <"
+ bonus2 bExpAddRace, RC_DemiPlayer, 3;
+ ">
+},
+{
+ Items: ["S_Safeguard_Shield", "S_Liberation_Shoes"]
+ Script: <"
+ bonus2 bAddRace, RC_Boss, 5;
+ bonus2 bMagicAddRace, RC_Boss, 5;
+ ">
+},
+{
+ Items: ["S_Brutal_Shield", "S_Clamorous_Shoes"]
+ Script: <"
+ bonus2 bExpAddRace, RC_Brute, 3;
+ ">
+},
+{
+ Items: ["S_Gargantua_Shield", "S_Insecticide_Shoes"]
+ Script: <"
+ bonus2 bExpAddRace, RC_Insect, 3;
+ ">
+},
+{
+ Items: ["S_Homers_Shield", "S_Fisher_Shoes"]
+ Script: <"
+ bonus2 bExpAddRace, RC_Fish, 3;
+ ">
+},
+{
+ Items: ["S_Dragoon_Shield", "S_Dragoon_Shoes"]
+ Script: <"
+ bonus2 bExpAddRace, RC_Dragon, 3;
+ ">
+},
+{
+ Items: ["S_Satanic_Shield", "S_Seraphim_Shoes"]
+ Script: <"
+ bonus2 bExpAddRace, RC_Angel, 3;
+ ">
+},
+{
+ Items: ["S_Flameguard_Shield", "S_Beholder_Shoes"]
+ Script: <"
+ bonus2 bExpAddRace, RC_Formless, 3;
+ ">
+},
+{
+ Items: ["S_Requiem_Shield", "S_Divine_Shoes"]
+ Script: <"
+ bonus2 bExpAddRace, RC_Undead, 3;
+ ">
+},
+{
+ Items: ["S_Cadi_Shield", "S_Chemical_Shoes"]
+ Script: <"
+ bonus2 bExpAddRace, RC_Plant, 3;
+ ">
+},
+{
+ Items: ["S_Big_Armor", "S_Big_Weapon"]
+ Script: <"
+ bonus bMaxHPrate, 1;
+ bonus bMaxSPrate, 1;
+ ">
+},
+{
+ Items: ["S_Medium_Armor", "S_Medium_Weapon"]
+ Script: <"
+ bonus bMaxHPrate, 1;
+ bonus bMaxSPrate, 1;
+ ">
+},
+{
+ Items: ["S_Small_Armor", "S_Small_Weapon"]
+ Script: <"
+ bonus bMaxHPrate, 1;
+ bonus bMaxSPrate, 1;
+ ">
+},
+{
+ Items: ["S_Spiritual_Weapon", "S_Spiritual_Earring", "S_Spiritual_Pendent"]
+ Script: <"
+ bonus3 bSPDrainRate, 10, 1 + (getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L) / 10), 0;
+ ">
+},
+{
+ Items: ["S_Malicious_Armor", "S_Malicious_Shoes", "S_Malicious_Shield"]
+ Script: <"
+ bonus3 bHPDrainRateRace, 11, 40, 2 + (getequiprefinerycnt(EQI_SHADOW_ARMOR, EQI_SHADOW_SHIELD, EQI_SHADOW_SHOES) / 5);
+ ">
+},
+{
+ Items: ["S_Gemstone_Armor", "S_Gemstone_Shoes", "S_Gemstone_Shield", "S_Gemstone_Weapon", "S_Gemstone_Earring", "S_Gemstone_Pendent"]
+ Script: <"
+ bonus bAllStats, 1;
+ .@r = getequiprefinerycnt(EQI_SHADOW_ARMOR, EQI_SHADOW_WEAPON, EQI_SHADOW_SHIELD, EQI_SHADOW_SHOES, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L);
+ if (.@r >= 45) {
+ bonus bNoGemStone, 1;
+ }
+ bonus bUseSPrate, 100 - .@r;
+ ">
+},
+{
+ Items: ["S_Stability_Shield", "S_Plasterers_Armor", "S_Plasterers_Shoes"]
+ Script: <"
+ bonus bDef, 5;
+ if (getequiprefinerycnt(EQI_SHADOW_SHIELD, EQI_SHADOW_ARMOR, EQI_SHADOW_SHOES) >= 20)
+ bonus2 bResEff, Eff_Stone, 100;
+ ">
+},
+{
+ Items: ["S_Stability_Shield", "S_Insomniac_Armor", "S_Insomniac_Shoes"]
+ Script: <"
+ bonus bDef, 5;
+ if (getequiprefinerycnt(EQI_SHADOW_SHIELD, EQI_SHADOW_ARMOR, EQI_SHADOW_SHOES) >= 20)
+ bonus2 bResEff, Eff_Sleep, 100;
+ ">
+},
+{
+ Items: ["S_Stability_Shield", "S_Peerless_Armor", "S_Peerless_Shoes"]
+ Script: <"
+ bonus bDef, 5;
+ if (getequiprefinerycnt(EQI_SHADOW_SHIELD, EQI_SHADOW_ARMOR, EQI_SHADOW_SHOES) >= 20)
+ bonus2 bResEff, Eff_Silence, 100;
+ ">
+},
+{
+ Items: ["S_Stability_Shield", "S_Adurate_Armor", "S_Adurate_Shoes"]
+ Script: <"
+ bonus bDef, 5;
+ if (getequiprefinerycnt(EQI_SHADOW_SHIELD, EQI_SHADOW_ARMOR, EQI_SHADOW_SHOES) >= 20)
+ bonus2 bResEff, Eff_Blind, 100;
+ ">
+},
+{
+ Items: ["S_Stability_Shield", "Unfreez_Weapon_S", "Unfreeze_Earing_S", "Unfreeze_Pendent_S"]
+ Script: <"
+ bonus bDef, 4;
+ if (getequiprefinerycnt(EQI_SHADOW_SHIELD, EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_L, EQI_SHADOW_ACC_R) >= 30)
+ bonus2 bResEff, Eff_Freeze, 100;
+ ">
+},
+{
+ Items: ["S_Stability_Shield", "Vitality_Earing_S", "Vitality_Pendant_S"]
+ Script: <"
+ bonus bDef, 5;
+ if (getequiprefinerycnt(EQI_SHADOW_SHIELD, EQI_SHADOW_ACC_L, EQI_SHADOW_ACC_R) >= 20)
+ bonus2 bResEff, Eff_Bleeding, 100;
+ ">
+},
+{
+ Items: ["S_Stability_Shield", "S_Neutral_Weapon", "S_Neutral_Earring", "S_Neutral_Pendent"]
+ Script: <"
+ bonus bDef, 4;
+ if (getequiprefinerycnt(EQI_SHADOW_SHIELD, EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_L, EQI_SHADOW_ACC_R) >= 30)
+ bonus2 bResEff, Eff_Stun, 100;
+ ">
+},
+{
+ Items: ["S_Stability_Shield", "S_Curse_Lift_Earring", "S_Curse_Lift_Pendent"]
+ Script: <"
+ bonus bDef, 5;
+ if (getequiprefinerycnt(EQI_SHADOW_SHIELD, EQI_SHADOW_ACC_L, EQI_SHADOW_ACC_R) >= 20)
+ bonus2 bResEff, Eff_Curse, 100;
+ ">
+},
+{
+ Items: ["S_Caster_earring", "S_Caster_Weapon", "S_Caster_Pendant"]
+ Script: <"
+ bonus bNoCastCancel, 1;
+ bonus bVariableCastrate, 40 - (getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L));
+ ">
+},
+{
+ Items: ["S_Spell_Flow_Shoes", "S_Spell_Flow_Armor", "S_Spell_Flow_Shield"]
+ Script: <"
+ bonus bNoCastCancel, 1;
+ bonus bUseSPrate, 40 - getequiprefinerycnt(EQI_SHADOW_SHIELD) - getequiprefinerycnt(EQI_SHADOW_ARMOR) - getequiprefinerycnt(EQI_SHADOW_SHOES);
+ ">
+},
+{
+ Items: ["S_Infinity_Earring", "S_Infinity_Pendant"]
+ Script: <"
+ bonus bAtkRate, 1;
+ if (getequiprefinerycnt(EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L) >= 15)
+ bonus bNoSizeFix, 1;
+ ">
+},
+{
+ Items: ["S_Solid_Weapon", "S_Solid_Earring"]
+ Script: <"
+ bonus bAtk, getequiprefinerycnt(EQI_SHADOW_WEAPON);
+ if (getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R) >= 15)
+ bonus bUnbreakableWeapon, 1;
+ ">
+},
+{
+ Items: ["S_Immortal_Armor", "S_Immortal_Pendant"]
+ Script: <"
+ bonus bDef, getequiprefinerycnt(EQI_SHADOW_ARMOR);
+ if (getequiprefinerycnt(EQI_SHADOW_ARMOR, EQI_SHADOW_ACC_L) >= 15)
+ bonus bUnbreakableArmor, 1;
+ ">
+},
+{
+ Items: ["S_Executioner_Weapon", "S_Penetration_Earring", "S_Penetration_Pendent"]
+ Script: <"
+ bonus bBaseAtk, 5;
+ if (getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L) >= 25)
+ bonus bIgnoreDefRace, RC_DemiPlayer;
+ ">
+},
+{
+ Items: ["S_Exorcist_Weapon", "S_Penetration_Earring", "S_Penetration_Pendent"]
+ Script: <"
+ bonus bBaseAtk, 5;
+ if (getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L) >= 25)
+ bonus bIgnoreDefRace, RC_Demon;
+ ">
+},
+{
+ Items: ["S_Hunting_Weapon", "S_Penetration_Earring", "S_Penetration_Pendent"]
+ Script: <"
+ bonus bBaseAtk, 5;
+ if (getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L) >= 25)
+ bonus bIgnoreDefRace, RC_Brute;
+ ">
+},
+{
+ Items: ["S_Insect_Net_Weapon", "S_Penetration_Earring", "S_Penetration_Pendent"]
+ Script: <"
+ bonus bBaseAtk, 5;
+ if (getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L) >= 25)
+ bonus bIgnoreDefRace, RC_Insect;
+ ">
+},
+{
+ Items: ["S_Fishing_Weapon", "S_Penetration_Earring", "S_Penetration_Pendent"]
+ Script: <"
+ bonus bBaseAtk, 5;
+ if (getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L) >= 25)
+ bonus bIgnoreDefRace, RC_Fish;
+ ">
+},
+{
+ Items: ["S_Dragon_Killer_Weapon", "S_Penetration_Earring", "S_Penetration_Pendent"]
+ Script: <"
+ bonus bBaseAtk, 5;
+ if (getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L) >= 25)
+ bonus bIgnoreDefRace, RC_Dragon;
+ ">
+},
+{
+ Items: ["S_Corrupt_Weapon", "S_Penetration_Earring", "S_Penetration_Pendent"]
+ Script: <"
+ bonus bBaseAtk, 5;
+ if (getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L) >= 25)
+ bonus bIgnoreDefRace, RC_Angel;
+ ">
+},
+{
+ Items: ["S_Vibration_Weapon", "S_Penetration_Earring", "S_Penetration_Pendent"]
+ Script: <"
+ bonus bBaseAtk, 5;
+ if (getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L) >= 25)
+ bonus bIgnoreDefRace, RC_Formless;
+ ">
+},
+{
+ Items: ["S_Holy_Water_Weapon", "S_Penetration_Earring", "S_Penetration_Pendent"]
+ Script: <"
+ bonus bBaseAtk, 5;
+ if (getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L) >= 25)
+ bonus bIgnoreDefRace, RC_Undead;
+ ">
+},
+{
+ Items: ["S_Scissors_Weapon", "S_Penetration_Earring", "S_Penetration_Pendent"]
+ Script: <"
+ bonus bBaseAtk, 5;
+ if (getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L) >= 25)
+ bonus bIgnoreDefRace, RC_Plant;
+ ">
+},
+{
+ Items: ["S_Tempest_Earring", "S_Tempest_Pendent", "S_M_Executioner_Weapon"]
+ Script: <"
+ bonus bMatk, 5;
+ if (getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L) >= 25)
+ bonus bIgnoreMdefRace, RC_DemiPlayer;
+ ">
+},
+{
+ Items: ["S_Tempest_Earring", "S_Tempest_Pendent", "S_M_Exorcist_Weapon"]
+ Script: <"
+ bonus bMatk, 5;
+ if (getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L) >= 25)
+ bonus bIgnoreMdefRace, RC_Demon;
+ ">
+},
+{
+ Items: ["S_Tempest_Earring", "S_Tempest_Pendent", "S_M_Hunting_Weapon"]
+ Script: <"
+ bonus bMatk, 5;
+ if (getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L) >= 25)
+ bonus bIgnoreMdefRace, RC_Brute;
+ ">
+},
+{
+ Items: ["S_Tempest_Earring", "S_Tempest_Pendent", "S_M_Insect_Net_Weapon"]
+ Script: <"
+ bonus bMatk, 5;
+ if (getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L) >= 25)
+ bonus bIgnoreMdefRace, RC_Insect;
+ ">
+},
+{
+ Items: ["S_Tempest_Earring", "S_Tempest_Pendent", "S_M_Fishing_Weapon"]
+ Script: <"
+ bonus bMatk, 5;
+ if (getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L) >= 25)
+ bonus bIgnoreMdefRace, RC_Fish;
+ ">
+},
+{
+ Items: ["S_Tempest_Earring", "S_Tempest_Pendent", "S_M_Dragon_K_Weapon"]
+ Script: <"
+ bonus bMatk, 5;
+ if (getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L) >= 25)
+ bonus bIgnoreMdefRace, RC_Dragon;
+ ">
+},
+{
+ Items: ["S_Tempest_Earring", "S_Tempest_Pendent", "S_M_Corrupt_Weapon"]
+ Script: <"
+ bonus bMatk, 5;
+ if (getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L) >= 25)
+ bonus bIgnoreMdefRace, RC_Angel;
+ ">
+},
+{
+ Items: ["S_Tempest_Earring", "S_Tempest_Pendent", "S_M_Vibration_Weapon"]
+ Script: <"
+ bonus bMatk, 5;
+ if (getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L) >= 25)
+ bonus bIgnoreMdefRace, RC_Formless;
+ ">
+},
+{
+ Items: ["S_Tempest_Earring", "S_Tempest_Pendent", "S_M_Holy_Water_Weapon"]
+ Script: <"
+ bonus bMatk, 5;
+ if (getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L) >= 25)
+ bonus bIgnoreMdefRace, RC_Undead;
+ ">
+},
+{
+ Items: ["S_Tempest_Earring", "S_Tempest_Pendent", "S_M_Scissors_Weapon"]
+ Script: <"
+ bonus bMatk, 5;
+ if (getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L) >= 25)
+ bonus bIgnoreMdefRace, RC_Plant;
+ ">
+},
+{
+ Items: ["S_Bearers_Armor", "S_Bearers_Shoes", "S_Bearers_Shield", "S_Bearers_Weapon", "S_Bearers_Earring", "S_Bearers_Pendent"]
+ Script: <"
+ .@refine = getequiprefinerycnt(EQI_SHADOW_ARMOR, EQI_SHADOW_WEAPON, EQI_SHADOW_SHIELD, EQI_SHADOW_SHOES, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L);
+ bonus bAllStats, 1;
+ if (.@refine >= 45) {
+ bonus bMaxHPrate, (.@refine - 60);
+ sc_start4 SC_ENDURE, 1, 10, 0, 0, 1;
+ }
+ ">
+},
+{
+ Items: ["S_Hasty_Shoes", "S_Hasty_Armor"]
+ Script: <"
+ bonus bFlee, 5;
+ if (getequiprefinerycnt(EQI_SHADOW_SHOES, EQI_SHADOW_ARMOR) >= 15)
+ bonus bSpeedAddRate, 3;
+ ">
+},
+{
+ Items: ["S_Expert_Shoes", "S_Expert_Shield"]
+ Script: <"
+ bonus2 bExpAddRace, RC_All, ((getequiprefinerycnt(EQI_SHADOW_SHOES, EQI_SHADOW_SHIELD)) >= 15 ? 10 : 1);
+ ">
+},
+{
+ Items: ["S_Beginner_Shoes", "S_Beginner_Shield"]
+ Script: <"
+ bonus2 bExpAddRace, RC_All, ((getequiprefinerycnt(EQI_SHADOW_SHOES, EQI_SHADOW_SHIELD)) >= 15 ? 20 : 10);
+ ">
+},
+{
+ Items: ["S_Rookie_Shoes", "S_Rookie_Shield"]
+ Script: <"
+ bonus2 bExpAddRace, RC_All, ((getequiprefinerycnt(EQI_SHADOW_SHOES, EQI_SHADOW_SHIELD)) >= 15 ? 10 : 5);
+ ">
+},
+{
+ Items: ["S_Advanced_Shoes", "S_Advanced_Shield"]
+ Script: <"
+ bonus2 bExpAddRace, RC_All, ((getequiprefinerycnt(EQI_SHADOW_SHOES, EQI_SHADOW_SHIELD)) >= 15 ? 4 : 2);
+ ">
+},
+{
+ Items: ["S_Blitz_Earring", "S_Blitz_Pendent"]
+ Script: <"
+ if (getequiprefinerycnt(EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L) >= 15)
+ bonus bAspd, 1;
+ ">
+},
+{
+ Items: ["S_Force_Weapon", "S_Force_Earring", "S_Force_Pendant"]
+ Script: <"
+ .@refine = getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L);
+ if (.@refine >= 25) {
+ bonus bAtkRate, 2;
+ } else if (.@refine >= 20) {
+ bonus bAtkRate, 1;
+ }
+ bonus bAtk2, 10;
+ ">
+},
+{
+ Items: ["S_Spirit_Weapon", "S_Spirit_Earring", "S_Spirit_Pendant"]
+ Script: <"
+ .@refine = getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L);
+ if (.@refine >= 25) {
+ bonus bMatkRate, 2;
+ } else if (.@refine >= 20) {
+ bonus bMatkRate, 1;
+ }
+ bonus bMatk, 10;
+ ">
+},
+{
+ Items: ["S_Blitz_Shoes", "S_Blitz_Shield"]
+ Script: <"
+ bonus bFlee, 5;
+ if (getequiprefinerycnt(EQI_SHADOW_SHOES, EQI_SHADOW_SHIELD) >= 15) {
+ bonus bAspd, 1;
+ }
+ ">
+},
+{
+ Items: ["S_Titan_Earring", "S_Titan_Pendant"]
+ Script: <"
+ bonus bAtk, 5;
+ if (getequiprefinerycnt(EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L) >= 15) {
+ bonus2 bAddSize, Size_Large, 1;
+ }
+ ">
+},
+{
+ Items: ["S_Boned_Earring", "S_Boned_Pendant"]
+ Script: <"
+ bonus bAtk, 5;
+ if (getequiprefinerycnt(EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L) >= 15) {
+ bonus2 bAddSize, Size_Medium, 1;
+ }
+ ">
+},
+{
+ Items: ["S_Gigantic_Earring", "S_Gigantic_Pendant"]
+ Script: <"
+ bonus bAtk, 5;
+ if (getequiprefinerycnt(EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L) >= 15) {
+ bonus2 bAddSize, Size_Small, 1;
+ }
+ ">
+},
+{
+ Items: ["S_Caster_Shoes", "S_Caster_Shield", "S_Caster_Armor"]
+ Script: <"
+ bonus bUseSPrate, -1;
+ .@refine = getequiprefinerycnt(EQI_SHADOW_SHIELD, EQI_SHADOW_ARMOR, EQI_SHADOW_SHOES);
+ bonus bVariableCastrate, (.@refine) / 5;
+ if (.@refine >= 25) {
+ bonus bUseSPrate, -1;
+ }
+ ">
+},
+{
+ Items: ["S_Reload_Shoes", "S_Reload_Shield", "S_Reload_Armor"]
+ Script: <"
+ bonus bDelayrate, -1;
+ if (getequiprefinerycnt(EQI_SHADOW_SHIELD, EQI_SHADOW_ARMOR, EQI_SHADOW_SHOES) >= 25)
+ bonus bDelayrate, -5;
+ ">
+},
+{
+ Items: ["Geffenia_Book_Water", "Lacryma_Stick"]
+ Script: <"
+ .@r = (getequiprefinerycnt(EQI_HAND_L) * 4);
+ bonus2 bVariableCastrate, "WZ_STORMGUST", -.@r;
+ bonus2 bVariableCastrate, "WL_FROSTMISTY", -.@r;
+ bonus2 bVariableCastrate, "WL_JACKFROST", -.@r;
+ ">
+},
+)
diff --git a/db/re/item_combo_db.txt b/db/re/item_combo_db.txt
deleted file mode 100644
index 06730216c..000000000
--- a/db/re/item_combo_db.txt
+++ /dev/null
@@ -1,439 +0,0 @@
-// Item Combos Database
-//
-// Structure of Database:
-// ID:ID:ID:ID,{ Script }
-
-1166:2527,{ bonus2 bAddRace,RC_Dragon,5; }
-1219:5782,{ bonus bAtkRate,3; }
-1220:5782,{ bonus bAtkRate,3; }
-1221:5782,{ bonus bAtkRate,3; }
-1284:2892,{ bonus bBaseAtk,50; bonus2 bSkillAtk,AS_SONICBLOW,50; bonus bFlee,-30; }
-1285:2892,{ bonus bCritAtkRate,40; bonus bCritical,4; bonus bMaxHPrate,-10; }
-1287:15123,{ if(getequiprefinerycnt(EQI_HAND_R)>6) { autobonus2 "{ bonus bIgnoreDefRace,RC_NonBoss; }",20,3000,BF_WEAPON,"{}"; } }
-1298:4317,{ bonus bCritAtkRate,5; }
-1298:4521,{ bonus bCritAtkRate,5; }
-1387:19021,{ bonus2 bSkillAtk,WS_CARTTERMINATION,15+(getequiprefinerycnt(EQI_HAND_R)*5); }
-1407:5782,{ bonus bAtkRate,3; }
-1408:5782,{ bonus bAtkRate,3; }
-1409:5782,{ bonus bAtkRate,3; }
-1420:2115,{ bonus3 bAutoSpellWhenHit,HP_ASSUMPTIO,2,5; }
-1420:2133,{ bonus2 bAddRace, RC_All, 4; bonus bDef,2; }
-1421:2133,{ bonus2 bAddRace, RC_All, 4; bonus bDef,2; }
-1422:2133,{ bonus2 bAddRace, RC_All, 4; bonus bDef,2; }
-1428:2115,{ bonus3 bAutoSpellWhenHit,HP_ASSUMPTIO,2,5; }
-1433:2153,{ bonus2 bSkillAtk,CR_GRANDCROSS,10; bonus2 bSkillAtk,LG_RAYOFGENESIS,10; }
-1433:2153:18823:28372,{ bonus2 bSkillUseSP,CR_GRANDCROSS,30; bonus2 bSkillUseSP,LG_SHIELDPRESS,5; bonus2 bSkillUseSP,LG_BANISHINGPOINT,15; bonus2 bSkillUseSP,LG_CANNONSPEAR,10; }
-1433:28372,{ bonus2 bSkillAtk,LG_CANNONSPEAR,7*(getequiprefinerycnt(EQI_HAND_L)/2); }
-1472:2677,{ bonus bMatkRate,6; bonus bDex,2; bonus bVariableCastrate,-getequiprefinerycnt(EQI_HAND_R); }
-1472:2711,{ bonus bMatkRate,6; bonus bDex,2; bonus bVariableCastrate,-getequiprefinerycnt(EQI_HAND_R); }
-1473:2677,{ bonus bMatkRate,6; bonus bDex,2; bonus bVariableCastrate,-getequiprefinerycnt(EQI_HAND_R); }
-1473:2711,{ bonus bMatkRate,6; bonus bDex,2; bonus bVariableCastrate,-getequiprefinerycnt(EQI_HAND_R); }
-1474:2527,{ bonus2 bAddRace,RC_Dragon,5; }
-1477:2700,{ bonus2 bResEff,Eff_Confusion,9500; }
-1479:2700,{ bonus2 bResEff,Eff_Confusion,9500; }
-1564:2186,{ bonus bAspdRate,getequiprefinerycnt(EQI_HAND_R); }
-1535:4361,{ bonus bBreakArmorRate,900; bonus bBreakWeaponRate,900; }
-1572:2716:2717,{ bonus bInt,5; bonus bMaxHP,700; bonus bAspdRate,5; }
-1573:2334,{ bonus bMdef,8; bonus bMaxSPrate,10; bonus bInt,4; }
-1573:2372,{ bonus bMdef,8; bonus bMaxSPrate,10; bonus bInt,4; }
-1573:2716:2717,{ bonus bInt,5; bonus bMaxHP,700; bonus bAspdRate,5; }
-1590:4037,{ bonus bAspdRate,5; }
-1590:4117,{ bonus bAspdRate,5; }
-1590:4037:4117,{ bonus bAspd,1; }
-1598:4037,{ bonus bAspdRate,5; }
-1598:4117,{ bonus bAspdRate,5; }
-1598:4037:4117,{ bonus bAspd,1; }
-1615:18539,{ bonus bMatk,10*getequiprefinerycnt(EQI_HAND_R); bonus bVariableCastrate,-10; }
-1616:2515,{ bonus bSpeedRate,25; }
-1618:2509,{ bonus bMaxHP,300; bonus bMatkRate,getequiprefinerycnt(EQI_HAND_R)-5; if(getequiprefinerycnt(EQI_GARMENT) > 10) { bonus2 bSubEle,Ele_Neutral,30; } else { bonus2 bSubEle,Ele_Neutral,getequiprefinerycnt(EQI_GARMENT)*3; } }
-1618:2535,{ bonus bMatkRate,5; bonus2 bSubEle,Ele_Neutral,25; }
-1618:19020,{ bonus bMatk,getequiprefinerycnt(EQI_HAND_R)*10; if (getequiprefinerycnt(EQI_HAND_R)>=10) autobonus "{ bonus bVariableCastrate,-50; }",50,5000,BF_MAGIC,"{ specialeffect(EF_SUFFRAGIUM, AREA, playerattached()); }"; }
-1620:2509,{ bonus bMaxHP,300; bonus bMatkRate,getequiprefinerycnt(EQI_HAND_R)-5; if(getequiprefinerycnt(EQI_GARMENT) > 10) { bonus2 bSubEle,Ele_Neutral,30; } else { bonus2 bSubEle,Ele_Neutral,getequiprefinerycnt(EQI_GARMENT)*3; } }
-1620:2535,{ bonus bMatkRate,5; bonus2 bSubEle,Ele_Neutral,25; }
-1625:18542,{ bonus bHealPower,getequiprefinerycnt(EQI_HAND_R); }
-1629:5045,{ bonus bDex,2; bonus bInt,2; bonus bSPrecovRate,5; bonus bMatkRate,getequiprefinerycnt(EQI_HAND_R); }
-1631:2129,{ bonus2 bSkillAtk,PR_MAGNUS,20; bonus3 bAutoSpellWhenHit,PR_TURNUNDEAD,1,20; }
-1631:18542,{ bonus bHealPower,getequiprefinerycnt(EQI_HAND_R)*3; }
-1636:18539,{ bonus bMatk,10*getequiprefinerycnt(EQI_HAND_R); bonus bVariableCastrate,-10; }
-1636:18804,{ bonus bMatk,getequiprefinerycnt(EQI_HAND_R)*10; }
-1649:2198,{ if(getequiprefinerycnt(EQI_HAND_L)>8) { bonus bMatk,getequiprefinerycnt(EQI_HAND_R)*15; } if(getequiprefinerycnt(EQI_HAND_R)>9) { bonus bMatk,50; bonus bVariableCastrate,-10; } }
-1657:2471:2569:15029,{ bonus bHealPower,25; }
-1660:2471:2569:15029,{ bonus bHealPower,45; bonus3 bAutoSpellWhenHit,AB_SILENTIUM,1,10; }
-1662:18539,{ bonus bMatk,10*getequiprefinerycnt(EQI_HAND_R); bonus bVariableCastrate,-10; }
-1718:1774,{ bonus bLongAtkRate,50; }
-1723:2718,{ bonus bDex,1; bonus bMaxSP,50; bonus bSPrecovRate,10; }
-1726:1774,{ bonus bLongAtkRate,50; }
-1730:1752,{ bonus bLongAtkRate,25; }
-1731:1754,{ bonus bLongAtkRate,25; }
-1732:1756,{ bonus bLongAtkRate,25; bonus2 bAddEff,Eff_Stone,1000; }
-1733:1755,{ bonus bLongAtkRate,25; bonus3 bAutoSpell,NJ_HUUJIN,5,100; if(readparam(bInt)>39) bonus3 bAutoSpell,NJ_HUUJIN,5,200; }
-1734:1753,{ bonus bLongAtkRate,50; }
-1741:2748,{ bonus bAtk,25; bonus3 bAddEff,Eff_Curse,200,ATF_WEAPON|ATF_LONG|ATF_TARGET; }
-1746:1773,{ bonus bLongAtkRate,50; }
-1764:18541,{ bonus bCritAtkRate,5; }
-1775:18114,{ bonus bLongAtkRate,70; }
-1776:18114,{ bonus bLongAtkRate,40; }
-1935:2988,{ bonus2 bSkillAtk,CG_ARROWVULCAN,200; bonus2 bSkillUseSP,CG_ARROWVULCAN,20; }
-1990:2989,{ bonus2 bSkillAtk,CG_ARROWVULCAN,200; }
-2001:2677,{ bonus bMatkRate,10; bonus bDex,2; bonus2 bSubRace,RC_Demon,10; bonus2 bSubRace,RC_Undead,10; }
-2001:2711,{ bonus bMatkRate,10; bonus bDex,2; bonus2 bSubRace,RC_Demon,10; bonus2 bSubRace,RC_Undead,10; }
-2007:2467:2859:15025,{ bonus2 bMagicAtkEle,Ele_Wind,40; bonus2 bMagicAtkEle,Ele_Earth,-30; bonus2 bSubEle,Ele_Earth,-50; }
-2008:2468:2860:15026,{ bonus2 bMagicAtkEle,Ele_Water,40; bonus2 bMagicAtkEle,Ele_Wind,-30; bonus2 bSubEle,Ele_Wind,-50; }
-2009:2469:2861:15027,{ bonus2 bMagicAtkEle,Ele_Fire,40; bonus2 bMagicAtkEle,Ele_Water,-30; bonus2 bSubEle,Ele_Water,-50; }
-2010:2470:2862:15028,{ bonus2 bMagicAtkEle,Ele_Earth,40; bonus2 bMagicAtkEle,Ele_Fire,-30; bonus2 bSubEle,Ele_Fire,-50; }
-2011:2467:2859:15025,{ bonus2 bMagicAtkEle,Ele_Wind,60; bonus2 bMagicAtkEle,Ele_Earth,-60; bonus2 bSubEle,Ele_Earth,-50; }
-2012:2468:2860:15026,{ bonus2 bMagicAtkEle,Ele_Water,60; bonus2 bMagicAtkEle,Ele_Wind,-60; bonus2 bSubEle,Ele_Wind,-50; }
-2013:2469:2861:15027,{ bonus2 bMagicAtkEle,Ele_Fire,60; bonus2 bMagicAtkEle,Ele_Water,-60; bonus2 bSubEle,Ele_Water,-50; }
-2014:2470:2862:15028,{ bonus2 bMagicAtkEle,Ele_Earth,60; bonus2 bMagicAtkEle,Ele_Fire,-60; bonus2 bSubEle,Ele_Fire,-50; }
-2109:2717:2239,{ bonus bHPrecovRate,15; bonus bSPrecovRate,15; bonus bMatkRate,7; }
-2114:2353:5122,{ bonus bStr,2; bonus bDef,5; bonus bMdef,5; if(BaseClass==Job_Swordman) bonus bDef,6; }
-2115:2353:5124,{ bonus bDef,2-getequiprefinerycnt(EQI_HAND_L, EQI_HEAD_TOP); bonus bMdef,5+getequiprefinerycnt(EQI_HAND_L, EQI_HEAD_TOP); }
-2116:2355:2420:2521:5125,{ bonus bMaxHP,900; bonus bMaxSP,100; bonus3 bAutoSpellWhenHit,HP_ASSUMPTIO,1,30; }
-2121:2717:2239,{ bonus bHPrecovRate,15; bonus bSPrecovRate,15; bonus bMatkRate,7; }
-2123:2701,{ bonus bVariableCastrate,-10; }
-2123:2881,{ bonus bMatk,getrefine()*2; }
-2124:2702,{ bonus bAspdRate,10; bonus bShortWeaponDamageReturn,5; }
-2125:5782,{ bonus bDef,2; }
-2135:2426,{ bonus2 bAddEff,Eff_Blind,500; autobonus "{ bonus bFlee,20; }",200,10000,BF_WEAPON,"{ specialeffect(EF_INCAGILITY, AREA, playerattached()); }"; }
-2137:2353:5124,{ bonus bDef,2-getequiprefinerycnt(EQI_HAND_L, EQI_HEAD_TOP); bonus bMdef,5+getequiprefinerycnt(EQI_HAND_L, EQI_HEAD_TOP); }
-2153:28372,{ if(getequiprefinerycnt(EQI_HAND_L)>5) { bonus2 bSkillAtk,LG_SHIELDPRESS,(getequiprefinerycnt(EQI_HAND_L)*8)-40; } }
-2157:2905,{ bonus2 bAddRaceTolerance,RC_Insect,10; if (getequiprefinerycnt(EQI_HAND_L)>7) { bonus2 bMagicAddRace,RC_Insect,4; bonus2 bAddRaceTolerance,RC_Insect,20; } }
-2160:19021,{ bonus2 bSkillAtk,WS_CARTTERMINATION,15+(getequiprefinerycnt(EQI_HAND_R)*5); }
-2169:2491:2590:15051,{ bonus bMaxHPrate,20; bonus bMaxSPrate,10; }
-2171:15053,{ bonus bAgi,2; }
-2171:15056,{ bonus bAgi,2; }
-2173:15055,{ bonus bFlee,10; bonus bFlee2,10; }
-2183:15068:18776:20710:22015,{ bonus(bMaxHP, 900); bonus(bMaxSP, 100); bonus3(bAutoSpellWhenHit, HP_ASSUMPTIO, 1, 30); }
-2198:5966,{ if (isequipped(4441)) {} else { if(getequiprefinerycnt(EQI_HAND_L)>6) { bonus2 bSkillCooldown,WL_COMET,-20000; } if(getequiprefinerycnt(EQI_HAND_L)>9) { bonus2 bSkillCooldown,WL_COMET,-20000; } } }
-2254:18912,{ bonus2 bExpAddRace, RC_All, 5; }
-2269:5781,{ bonus bMaxSP,30; bonus bInt,1; }
-2269:5786,{ bonus bMatkRate,1; }
-2269:5891,{ bonus bAllStats,1; }
-2270:5781,{ bonus bLuk,1; bonus bFlee,2; }
-2270:5786,{ bonus bAtkRate,1; }
-2270:5891,{ bonus bAllStats,1; }
-2278:18527,{ bonus2 bAddMonsterDropItem,12192,20; }
-2281:18527,{ bonus bFlee,10; }
-2183:15068,{ bonus bAllStats,2; }
-2286:18539,{ bonus bUseSPrate,-3; }
-2312:2656,{ bonus bDef,5; bonus bMaxHP,150; }
-2313:2656,{ bonus bDef,5; bonus bMaxHP,150; }
-2337:2654,{ bonus bUseSPrate,-20; bonus bMaxHP,300; }
-2339:2522,{ bonus bAgi,5; bonus bFlee,10; }
-2339:2523,{ bonus bAgi,5; bonus bFlee,10; }
-2353:2417:2516,{ bonus bAgi,3; bonus bMaxHPrate,5; bonus bMaxSPrate,5; }
-2353:2418:2517,{ bonus bVit,5; bonus bHPrecovRate,10; bonus bSPrecovRate,10; }
-2353:5123,{ if(readparam(bDex)>69) bonus bUseSPrate,-10; }
-2353:5493,{ if(readparam(bDex)>69) bonus bUseSPrate,-10; }
-2353:13428,{ bonus bMaxSP,50; bonus2 bSkillAtk,KN_BOWLINGBASH,5; }
-2354:2419:2520:5128,{ bonus bVit,5; bonus bMaxHPrate,15; bonus bMaxSPrate,5; bonus bDef,5; bonus bMdef,15; bonus2 bSubEle,Ele_Water,10; bonus2 bSubEle,Ele_Earth,10; bonus2 bSubEle,Ele_Fire,10; bonus2 bSubEle,Ele_Wind,10; }
-2354:2493:2599:19043,{ bonus bVit,5; bonus bMaxHPrate,15; bonus bMaxSPrate,5; bonus bDef,5; bonus bMdef,15; bonus2 bSubEle,Ele_Water,10; bonus2 bSubEle,Ele_Earth,10; bonus2 bSubEle,Ele_Fire,10; bonus2 bSubEle,Ele_Wind,10; }
-2357:2421:2524:5171,{ bonus bAllStats,1; }
-2358:5153,{ bonus bLuk,6; bonus bFlee,5; bonus bInt,2; }
-2359:2654,{ bonus bUseSPrate,-20; bonus bMaxHP,300; }
-2365:2881,{ bonus bVariableCastrate,15; }
-2369:2428:2533:5306,{ bonus2 bSubRace,RC_DemiPlayer,10; bonus bMaxHPrate,20; bonus2 bResEff,Eff_Freeze,10000; skill WZ_FIREPILLAR,10; }
-2371:2522,{ bonus bAgi,5; bonus bFlee,10; }
-2371:2523,{ bonus bAgi,5; bonus bFlee,10; }
-2374:2729,{ bonus2 bAddRace, RC_All, 3; bonus bMatkRate,3; }
-2375:2729,{ bonus2 bAddRace, RC_All, 3; bonus bMatkRate,3; }
-2376:2435:2538,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bVit,3; bonus bMaxHPrate,12; bonus bHealPower2,10; bonus bAddItemHealRate,10; autobonus2 "{ bonus2 bHPRegenRate,600,1000; }",5,10000,BF_WEAPON,"{ specialeffect(EF_HEAL, AREA, playerattached()); }"; }
-2377:2435:2538,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bStr,3; bonus bMaxHPrate,12; bonus2 bSkillAtk,MC_MAMMONITE,20; bonus2 bSkillHeal,AM_POTIONPITCHER,10; bonus2 bSkillHeal2,AM_POTIONPITCHER,10; bonus2 bSkillHeal2,AL_HEAL,10; bonus bUnbreakableArmor,0; }
-2378:2435:2538,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bAgi,3; bonus bMaxHPrate,12; bonus bCritical,5; bonus bAspdRate,5; autobonus "{ bonus2 bHPRegenRate,300,1000; }",10,10000,BF_WEAPON,"{ specialeffect(EF_HEAL, AREA, playerattached()); }"; }
-2379:2436:2539,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bInt,3; bonus bMaxHPrate,12; bonus2 bResEff,Eff_Stun,2000; autobonus2 "{ bonus bDefEle,Ele_Ghost; }",30,10000,BF_WEAPON,"{ specialeffect(EF_ENERGYCOAT, AREA, playerattached()); }"; }
-2380:2436:2539,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bInt,3; bonus bMaxHPrate,12; bonus2 bVariableCastrate,AL_HOLYLIGHT,-50; bonus bHealPower,6; autobonus2 "{ bonus bDefEle,Ele_Ghost; }",30,10000,BF_WEAPON,"{ specialeffect(EF_ENERGYCOAT, AREA, playerattached()); }"; }
-2381:2436:2539,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bDex,3; bonus bMaxHPrate,12; bonus bLongAtkDef,10; bonus bDelayrate,-25; }
-2382:2437:2540,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bDex,3; bonus bMaxHPrate,12; bonus bLongAtkDef,10; bonus bDelayrate,-25; }
-2387:2440:2744,{ bonus bMaxHPrate,7; bonus bMaxSPrate,7; bonus bVariableCastrate,-3; bonus bDelayrate,-15; }
-2390:2749,{ bonus bFlee2,5; }
-2394:2444:2549,{ bonus2 bAddRace, RC_All, 5; bonus bMatkRate,5; bonus2 bResEff,Eff_Freeze,10000; bonus2 bSkillHeal2,AM_POTIONPITCHER,3; bonus2 bSkillHeal2,AL_HEAL,3; bonus2 bSkillHeal2,PR_SANCTUARY,3; }
-2399:2553,{ bonus bAgi,5; bonus bFlee,15; }
-2408:2655,{ bonus bBaseAtk,50; bonus2 bAddDefClass,1196,20; bonus2 bAddDefClass,1197,20; }
-2424:2528,{ bonus bHPrecovRate,5; bonus bMaxHPrate,10; }
-2425:2529,{ bonus bFlee,10; }
-2425:2530,{ bonus bFlee,10; }
-2425:2551,{ bonus bFlee,10; }
-2433:2537,{ bonus bMaxHPrate,6; }
-2434:2529,{ bonus bFlee,10; }
-2434:2530,{ bonus bFlee,10; }
-2434:2551,{ bonus bFlee,10; }
-2441:2546,{ bonus bFlee,5; }
-2472:2570:15030:16013,{ bonus2 bAddRace,RC_Undead,15; bonus2 bMagicAddRace,RC_Undead,15; bonus2 bSkillAtk,AB_ADORAMUS,100; }
-2472:2570:15030:16018,{ bonus2 bAddRace,RC_Undead,30; bonus2 bMagicAddRace,RC_Undead,30; bonus2 bSkillAtk,AB_ADORAMUS,200; bonus bVariableCastrate,-50; }
-2475:2574:2883:15036,{ bonus bMaxHPrate,14; bonus2 bSkillAtk,RK_HUNDREDSPEAR,50; skill CR_AUTOGUARD,1; bonus bUseSPrate,10; bonus2 bSubEle,Ele_Neutral,10; }
-2476:2575:2884:15037,{ bonus2 bAddRace, RC_All, 10; bonus2 bSkillAtk,RK_SONICWAVE,100; bonus2 bSkillAtk,RK_WINDCUTTER,100; bonus3 bAutoSpell,RK_STORMBLAST,1,20; autobonus3 "{ bonus bAspd,2; }",1000,10000,LK_CONCENTRATION,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }"; }
-2477:2577:2886:15038,{ bonus bCritical,15; bonus bFlee,10; bonus bCritAtkRate,40; bonus2 bSkillAtk,GC_CROSSIMPACT,20; bonus bUseSPrate,10; }
-2478:2578:2887:15039,{ bonus2 bAddRace, RC_All, 10; bonus bMatkRate,10; if(readparam(bStr)>119) { bonus bBaseAtk,30; } bonus3 bAutoSpell,ASC_BREAKER,getskilllv(ASC_BREAKER),10; bonus bCritical,-20; }
-2479:2580:2890:15042,{ bonus bAspd,2; bonus bLongAtkRate,30; bonus3 bAutoSpell,AC_DOUBLE,3,10; bonus2 bSkillAtk,RA_ARROWSTORM,50; }
-2480:2581:2891:15043,{ bonus bMaxHPrate,15; bonus2 bSkillAtk,RA_CLUSTERBOMB,20; bonus bFlee2,20; bonus bLongAtkRate,-30; bonus bAspd,-7; }
-2483:2586:15046,{ bonus bVit,5; bonus2 bSubRace,RC_DemiPlayer,15; }
-2484:2586:15047,{ bonus bDex,5; bonus2 bSubRace,RC_DemiPlayer,15; }
-2485:2587:15048,{ bonus bInt,5; bonus bMdef,10; bonus2 bSubRace,RC_DemiPlayer,15; }
-2518:2648:2649:5126,{ bonus bInt,5; bonus bMdef,11; bonus bMaxSPrate,20; bonus bNoCastCancel,0; bonus bVariableCastrate,25; }
-2519:2650:2651:5127,{ bonus bStr,2; bonus bLuk,9; bonus bCritical,13; bonus bBaseAtk,18; bonus bFlee2,13; }
-2519:2900:2901:19044,{ bonus bStr,2; bonus bLuk,9; bonus bCritical,13; bonus bBaseAtk,18; bonus bFlee2,13; }
-2527:13001,{ bonus2 bAddRace,RC_Dragon,5; }
-2597:2616,{ bonus bCritAtkRate,5; bonus bCritical,10; if (getequiprefinerycnt(EQI_GARMENT)>=5) { bonus bCritAtkRate,3; } if (getequiprefinerycnt(EQI_GARMENT)>=7) { bonus bCritAtkRate,4;} }
-2597:18803,{ bonus bUseSPrate,-5; }
-2607:2677,{ bonus2 bSkillAtk,AL_HEAL,50; bonus2 bSkillAtk,PR_MAGNUS,30; bonus bSPrecovRate,9; }
-2607:2711,{ bonus2 bSkillAtk,AL_HEAL,50; bonus2 bSkillAtk,PR_MAGNUS,30; bonus bSPrecovRate,9; }
-2607:2786,{ bonus2 bSkillAtk,AL_HEAL,50; bonus2 bSkillAtk,PR_MAGNUS,30; bonus bSPrecovRate,9; }
-2608:2677,{ bonus2 bSkillAtk,AL_HEAL,50; bonus2 bSkillAtk,PR_MAGNUS,30; bonus bSPrecovRate,9; }
-2608:2711,{ bonus2 bSkillAtk,AL_HEAL,50; bonus2 bSkillAtk,PR_MAGNUS,30; bonus bSPrecovRate,9; }
-2608:2786,{ bonus2 bSkillAtk,AL_HEAL,50; bonus2 bSkillAtk,PR_MAGNUS,30; bonus bSPrecovRate,9; }
-2615:5890,{ bonus bMdef,7; bonus bDef,7; }
-2616:5890,{ bonus bCritical,7; }
-2620:2746,{ bonus2 bAddSize,Size_Medium,8; bonus bAspdRate,3; }
-2620:2747,{ bonus2 bAddSize,Size_Large,8; bonus bHit,3; bonus bVariableCastrate,-3; }
-2626:2677,{ bonus2 bSkillAtk,AL_HEAL,50; bonus2 bSkillAtk,PR_MAGNUS,30; bonus bSPrecovRate,9; }
-2626:2711,{ bonus2 bSkillAtk,AL_HEAL,50; bonus2 bSkillAtk,PR_MAGNUS,30; bonus bSPrecovRate,9; }
-2626:2786,{ bonus2 bSkillAtk,AL_HEAL,50; bonus2 bSkillAtk,PR_MAGNUS,30; bonus bSPrecovRate,9; }
-2678:2679,{ bonus4 bAutoSpell,MO_EXTREMITYFIST,1,3,1; bonus3 bAutoSpell,PR_LEXAETERNA,1,20; bonus3 bAutoSpell,AS_SONICBLOW,5,50; bonus3 bAutoSpell,MO_INVESTIGATE,5,20; bonus3 bAutoSpell,ASC_METEORASSAULT,2,50; }
-2679:2792,{ bonus4 bAutoSpell,MO_EXTREMITYFIST,1,3,1; bonus3 bAutoSpell,PR_LEXAETERNA,1,20; bonus3 bAutoSpell,AS_SONICBLOW,5,50; bonus3 bAutoSpell,MO_INVESTIGATE,5,20; bonus3 bAutoSpell,ASC_METEORASSAULT,2,50; }
-2701:2881,{ bonus bMatk,20; }
-2720:2772,{ bonus2 bAddRace, RC_All, 5; bonus bMatkRate,3; bonus bHealPower,5; }
-2721:2772,{ bonus2 bAddRace, RC_All, 5; bonus bMatkRate,3; bonus bHealPower,5; }
-2722:2772,{ bonus2 bAddRace, RC_All, 5; bonus bMatkRate,3; bonus bHealPower,5; }
-2723:2772,{ bonus2 bAddRace, RC_All, 5; bonus bMatkRate,3; bonus bHealPower,5; }
-2724:2772,{ bonus2 bAddRace, RC_All, 5; bonus bMatkRate,3; bonus bHealPower,5; }
-2725:2772,{ bonus2 bAddRace, RC_All, 5; bonus bMatkRate,3; bonus bHealPower,5; }
-2726:2727,{ bonus bUseSPrate,-25; }
-2733:2772,{ bonus2 bAddRace, RC_All, 5; bonus bMatkRate,3; bonus bHealPower,5; }
-2747:13061,{ bonus bHit,5; bonus bMatk,5; bonus2 bSkillUseSP,SC_ENERVATION,20; bonus2 bSkillUseSP,SC_GROOMY,20;}
-2777:2778:5479,{ bonus bMaxHP,300; bonus bMatkRate,5; bonus2 bSubEle,Ele_Neutral,5; }
-2779:2780:5482,{ bonus bMatkRate,10; bonus bInt,5; bonus2 bSubRace,RC_Angel,10; }
-2779:2780:5577,{ bonus bMatkRate,10; bonus bInt,5; bonus2 bSubRace,RC_Angel,10; }
-2950:15067:20709:22012,{ bonus2 bExpAddRace,RC_All,10; }
-2963:15073,{ bonus bAspdRate,5; }
-2963:15074,{ bonus bDelayrate,-5; bonus2 bAddRaceTolerance,RC_DemiPlayer,5; }
-2964:15073,{ bonus bDelayrate,-5; bonus2 bAddRaceTolerance,RC_DemiPlayer,5; }
-2964:15074,{ bonus bVariableCastrate,-5; }
-2997:2999,{ bonus bMatkRate,10; bonus bAtkRate,10; }
-4001:4197,{ bonus bFlee,18; }
-4006:4266,{ bonus bFlee,18; }
-4009:4179,{ bonus bFlee,18; }
-4014:4306,{ bonus bFlee,18; }
-4015:5967,{ bonus2 bSubEle,Ele_All,5; }
-4021:4211,{ bonus bFlee,18; }
-4025:4222,{ bonus2 bAddEffWhenHit,Eff_Sleep,600; }
-4028:4296,{ bonus bStr,3; }
-4029:4183,{ bonus bFlee,18; }
-4031:4161,{ bonus bDef,3; bonus bVit,3; }
-4036:4186:4233:4281:4343,{ bonus bStr,4; bonus bMaxHPrate,7; bonus bMaxSPrate,7; bonus2 bSkillAtk,MC_MAMMONITE,20; bonus bSPDrainValue,1; if(BaseJob==Job_Alchemist) { bonus3 bAutoSpell,BS_ADRENALINE,1,10; bonus2 bAddMonsterDropItem,7139,3; bonus2 bAddMonsterDropItem,905,10; } }
-4039:4210:4230:4257:4348,{ bonus bStr,6; bonus bAgi,4; bonus2 bSkillAtk,RG_BACKSTAP,10; if(getskilllv(RG_STRIPARMOR)==5) bonus3 bAutoSpell,RG_STRIPARMOR,5,50; if(BaseJob==Job_Rogue) { bonus bUseSPrate,-20; bonus3 bAutoSpell,RG_INTIMIDATE,1,-20; } }
-4072:21013,{ bonus2 bSubSize,Size_Large,15; bonus2 bSubSize,Size_Small,15; }
-4074:4162,{ bonus2 bAddEffWhenHit,Eff_Blind,600; }
-4090:4212:4328,{ bonus bAllStats,1; }
-4106:4248,{ bonus bPerfectHitAddRate,20; }
-4127:4166,{ bonus2 bAddEffWhenHit,Eff_Curse,600; }
-4140:18574,{ bonus2 bAddRace,RC_Boss,5; if (getequiprefinerycnt(EQI_HEAD_TOP)>=11) bonus2 bSubRace,RC_NonBoss,5; }
-4152:5967,{ bonus2 bAddItemHealRate,Apple_Juice,1000; bonus2 bAddItemHealRate,Banana_Juice,1000; bonus2 bAddItemHealRate,Carrot_Juice,1000; }
-4153:4247:4273,{ bonus3 bAddMonsterDropItem,544,RC_Fish,3000; bonus2 bAddEle,Ele_Water,30; }
-4161:5932,{ bonus4 bAutoSpell,PR_GLORIA,5,10,0; }
-4163:5967,{ bonus bAspdRate,3; bonus bAspd,1; bonus bAtkRate,-5; if(getiteminfo(getequipid(EQI_HAND_R),11)==11) { if(getequiprefinerycnt(EQI_HAND_R)>8) bonus bAspd,1; } }
-4168:4169,{ bonus bMaxHPrate,20; bonus bMaxSPrate,20; bonus bVariableCastrate,-10; }
-4172:4210:4230:4257:4272,{ bonus bAgi,5; bonus bStr,5; bonus bAspdRate,5; bonus bSpeedRate,25; bonus2 bSPDrainValue,1,0; if(BaseClass==Job_Thief) bonus bNoGemStone,0; }
-4178:4199:4234:4252:4297,{ bonus bAgi,5; bonus bDex,3; bonus bLongAtkRate,20; bonus bPerfectHitAddRate,20; if(BaseClass==Job_Archer) { bonus2 bExpAddRace,RC_Brute,5; bonus2 bWeaponComaRace,RC_Brute,100; } }
-4178:4234:4252:4297:4381,{ bonus bDex,5; bonus2 bSkillAtk,CG_ARROWVULCAN,5; bonus2 bSkillAtk,DC_THROWARROW,10; bonus2 bSkillAtk,BA_MUSICALSTRIKE,10; if(BaseJob==Job_Bard||BaseJob==Job_Dancer) bonus3 bAutoSpellWhenHit,CG_TAROTCARD,2,50; }
-4185:4217:4280:4293:4312,{ bonus bVit,10; bonus bVariableCastrate,-10; bonus bUseSPrate,-10; if(BaseClass==Job_Acolyte) { bonus2 bExpAddRace,RC_Undead,5; bonus2 bExpAddRace,RC_Demon,5; bonus2 bSubRace,RC_Undead,30; bonus2 bSubRace,RC_Demon,30; } }
-4185:4293:4312:4332,{ bonus bStr,3; bonus bMaxSP,80; bonus bBaseAtk,25; bonus3 bAutoSpell,AL_CRUCIS,5,10; bonus2 bSkillAtk,MO_EXTREMITYFIST,10; if(BaseJob==Job_Monk) { bonus bUseSPrate,-10; bonus bNoCastCancel,0; } }
-4186:4206:4233:4281:4321,{ bonus bLuk,10; bonus2 bSPDrainValue,2,0; bonus2 bSkillAtk,42,20; if(BaseClass==Job_Merchant) { bonus2 bAddMonsterDropItem,617,5; bonus bMagicDamageReturn,20; } }
-4191:4208:4258:4309:4325:4327,{ bonus bMaxHP,500; bonus bDef,5; bonus bMdef,5; bonus2 bSkillAtk,14,10; bonus2 bSkillAtk,19,10; bonus2 bSkillAtk,20,10; if(BaseClass==Job_Mage) { bonus bMatkRate,3; bonus bVariableCastrate,-15; } }
-4193:4294,{ bonus bMaxHP,300; bonus bMaxSP,60; }
-4208:4258:4325:4327:4382,{ bonus bInt,3; bonus2 bSkillAtk,WZ_HEAVENDRIVE,10; bonus2 bSkillAtk,MG_THUNDERSTORM,10; if(BaseJob==Job_Sage) { bonus bMagicDamageReturn,20; bonus2 bAddMonsterDropItem,716,100; bonus2 bAddMonsterDropItem,715,100; bonus bVariableCastrate,-20; } }
-4218:4269,{ bonus bHPrecovRate,30; bonus bSPrecovRate,30; bonus bVit,4; bonus bInt,4; }
-4220:4246:4311:4319:4331,{ bonus bStr,10; bonus bMaxHPrate,20; bonus bHPrecovRate,50; bonus3 bAutoSpell,BS_WEAPONPERFECT,1,3; bonus2 bAddMonsterDropItem,501,500; if(BaseClass==Job_Swordman) { bonus2 bAddItemHealRate,Red_Potion,50; bonus2 bAddItemHealRate,Yellow_Potion,50; bonus2 bAddItemHealRate,Orange_Potion,50; bonus2 bAddItemHealRate,White_Potion,50; } }
-4229:4244:4299:4313,{ bonus bDef,3; bonus bMdef,3; }
-4237:4238,{ bonus3 bAutoSpell,MG_LIGHTNINGBOLT,5,20; }
-4268:4277,{ bonus bBaseAtk,20; bonus bLuk,3; }
-4311:4319:4331:4371,{ bonus bInt,1; bonus bStr,1; bonus bDef,2; bonus bSPrecovRate,10; bonus2 bSkillAtk,PA_SHIELDCHAIN,10; bonus2 bSkillAtk,PA_SACRIFICE,10; bonus bVariableCastrate,-10; if(BaseJob==Job_Crusader) bonus bDefEle,Ele_Holy; }
-4323:4324,{ bonus3 bAutoSpell,MG_FROSTDIVER,3,250; }
-4335:21012,{ bonus3 bAutoSpell,WZ_EARTHSPIKE,5,20+(getequiprefinerycnt(EQI_HAND_R)); }
-4345:21012,{ bonus3 bAutoSpell,MG_LIGHTNINGBOLT,5,20+(getequiprefinerycnt(EQI_HAND_R)); }
-4350:21012,{ bonus3 bAutoSpell,MG_COLDBOLT,5,20+(getequiprefinerycnt(EQI_HAND_R)); }
-4380:21012,{ bonus3 bAutoSpell,MG_FIREBOLT,5,20+(getequiprefinerycnt(EQI_HAND_R)); }
-4388:21012,{ bonus3 bAutoSpell,MG_SOULSTRIKE,5,20+(getequiprefinerycnt(EQI_HAND_R)); }
-4435:4436,{ bonus2 bSPGainRace,RC_DemiPlayer,2; }
-4463:5966,{ if(getiteminfo(getequipid(EQI_HAND_R),11)==5||getiteminfo(getequipid(EQI_HAND_R),11)==23||getiteminfo(getequipid(EQI_HAND_R),11)==10) { bonus2 bMagicAddRace,RC_DemiPlayer,getequipid(EQI_HAND_R)*2; bonus2 bMagicAddRace,RC_Player,getequipid(EQI_HAND_R)*2; } }
-4505:4508,{ bonus3 bAutoSpell,NPC_DRAGONFEAR,2,100+(getrefine()*10); }
-4507:19023,{ bonus2 bAddRace2,7,30; }
-4509:19023,{ bonus2 bSubRace,RC_Insect,10; bonus2 bResEff,Eff_Confusion,10000; }
-4517:5967,{ bonus bInt,1; bonus bCritAtkRate,5; if(BaseClass==Job_Archer) { bonus bCritAtkRate,10; } }
-4606:20778,{ bonus bMaxSPrate,44; bonus bSPGainValue,-(20+(getequiprefinerycnt(EQI_GARMENT)/2)); }
-4608:4609,{ bonus2 bAddSize,Size_Medium,15; bonus2 bAddSize,Size_Large,15; bonus2 bSubSize,Size_Medium,5; bonus2 bSubSize,Size_Large,5; }
-4635:4636,{ bonus2 bResEff,Eff_Burning,10000; }
-4642:4646,{ bonus bAtkRate,10; bonus bMatkRate,10; }
-4643:4646,{ bonus bAtkRate,10; bonus bMatkRate,10; }
-4644:4646,{ bonus bAtkRate,10; bonus bMatkRate,10; }
-4645:4646,{ bonus bAtkRate,10; bonus bMatkRate,10; }
-4653:4654,{ bonus2 bSubRace,RC_Brute,5; bonus2 bSubRace,RC_Undead,5; bonus2 bIgnoreMdefRate,50,RC_Brute; bonus2 bIgnoreMdefRate,50,RC_Undead; }
-4653:4655,{ bonus2 bSubRace,RC_Brute,5; bonus2 bSubRace,RC_Undead,5; bonus2 bIgnoreDefRate,50,RC_Brute; bonus2 bIgnoreDefRate,50,RC_Undead; }
-//4656:4657,{ bonus2 bSubEle,Ele_Neutral,5; /* Increase the probability of causing Sleep to all targets on 11x11 cells. */ }
-5007:18913,{ bonus2 bExpAddRace, RC_All, 5; }
-5021:18824,{ bonus bMaxHP,100; bonus2 bSubEle,Ele_Neutral,getequiprefinerycnt(EQI_HEAD_TOP); }
-5040:5442,{ bonus bAspdRate,3; bonus bVariableCastrate,3; }
-5040:18672,{ bonus bSPrecovRate,3; }
-5040:18673,{ bonus bHealPower,10; }
-5068:5653,{ bonus bStr,1; bonus bAtkRate,5; }
-5074:5653,{ bonus bStr,1; bonus bAspdRate,2; }
-5086:18527,{ bonus2 bAddItemHealRate,12192,200; }
-5170:19024,{ bonus bAspdRate,5; if(getequiprefinerycnt(EQI_HEAD_TOP)>6) bonus bAspdRate,5; if(getequiprefinerycnt(EQI_HEAD_TOP)>8) bonus bMaxHPrate,5; }
-5176:18527,{ bonus bAspdRate,5; }
-5184:5657,{ bonus bLongAtkRate,getequiprefinerycnt(EQI_HEAD_TOP); }
-//5206:5768,{ bonus bDex,1; if(getequiprefinerycnt(EQI_HEAD_TOP) > 4) bonus bDelayrate,4-getequiprefinerycnt(EQI_HEAD_TOP); }
-5358:5653,{ bonus bAgi,1; bonus bFlee,3; }
-//5359:5657,{ bonus bLongAtkRate,getequiprefinerycnt(EQI_HEAD_TOP); }
-5574:5073,{ bonus bDex, 2; bonus bDef, 2; }
-5401:5653,{ bonus bInt,1; bonus bMatkRate,2; }
-5470:5653,{ bonus bDex,1; bonus bLongAtkRate,3; }
-5690:13428,{ bonus2 bAddRace,RC_DemiPlayer,10; bonus bHit,10; }
-5890:28306,{ bonus2 bAddRace, RC_All, 3; }
-5932:1737,{ if (Class == Job_Ranger || Class == Job_Ranger_T) skill HT_BLITZBEAT,5*getequiprefinerycnt(EQI_HAND_R); }
-//5967:28321,{ skill HT_BLITZBEAT,-200; }
-13027:15044,{ bonus3 bAddMonsterDropItem,929,RC_Brute,100+(getequiprefinerycnt(EQI_HAND_R)*10); bonus3 bAddMonsterDropItem,929,RC_DemiPlayer,100+(getequiprefinerycnt(EQI_HAND_R)*10); bonus3 bAddMonsterDropItem,970,RC_Brute,20+(getequiprefinerycnt(EQI_HAND_R)*2); bonus3 bAddMonsterDropItem,970,RC_DemiPlayer,20+(getequiprefinerycnt(EQI_HAND_R)*2); }
-13034:13035,{ bonus bMaxSP,20; bonus bMaxHPrate,5; bonus bHit,10; bonus2 bAddSize,Size_Large,30; autobonus "{ bonus bAspdRate,100; }",1,7000,BF_WEAPON,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }"; }
-13035:28704,{ bonus bMaxSP,20; bonus bMaxHPrate,5; bonus bHit,10; bonus2 bAddSize,Size_Large,30; autobonus "{ bonus bAspdRate,100; }",1,7000,BF_WEAPON,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }"; }
-15041:18659,{ bonus2 bAddEle,Ele_Earth,10; bonus bDefEle,Ele_Fire; }
-15061:19026,{ bonus2 bAddRaceTolerance,RC_Fish,10+getequiprefinerycnt(EQI_ARMOR); }
-15068:20710,{ bonus(bAgi, 5); bonus(bFlee, 10); }
-15128:20773,{ bonus bDelayrate,-10; bonus bFlee2,6; if(BaseLevel>130) { bonus bDelayrate,-10;} }
-18507:18539,{ bonus bUseSPrate,-3; }
-18607:18672,{ bonus bSPrecovRate,3; }
-18607:18673,{ bonus bHealPower,10; }
-18823:28372,{ bonus2 bSkillVariableCast,CR_GRANDCROSS,-2000; bonus2 bSkillUseSP,LG_RAYOFGENESIS,10; bonus2 bSkillAtk,CR_GRANDCROSS,BaseLevel; bonus2 bSkillAtk,LG_RAYOFGENESIS,BaseLevel/30; }
-18823:2153:1433,{ bonus2 bSkillAtk,LG_CANNONSPEAR,20; bonus2 bSkillAtk,LG_BANISHINGPOINT,20; bonus2 bSkillAtk,LG_SHIELDPRESS,20; }
-15090:18820:20721:22033,{ bonus2 bSubEle,Ele_Neutral,15; bonus3 bAutoSpellWhenHit,WL_DRAINLIFE,3,100; }
-15091:18820:20721:22033,{ bonus2 bSubEle,Ele_Neutral,15; bonus bMaxHPrate,25; bonus bMaxSPrate,25; bonus bMatkRate,10; }
-15117:20744:22047,{ bonus bMaxHP,25; bonus bMaxSP,25; bonus bSpeedRate,25; if (getequiprefinerycnt(EQI_GARMENT, EQI_SHOES, EQI_ARMOR) >= 30) { bonus bMaxHP,5; bonus bMaxSP,5; } }
-18510:18511,{ bonus2 bAddRace,RC_Angel,3; }
-18728:15061:2495:20700,{ bonus bAllStats, 1; bonus2 bSubEle, Ele_Water, 50; }
-18776:20710,{ bonus(bBaseAtk, 10); }
-18776:22015,{ bonus(bMatk, 20); }
-18824:18825,{ bonus bMaxHP,100; bonus2 bSubEle,Ele_Neutral,getequiprefinerycnt(EQI_HEAD_TOP); }
-18874:2109:2971,{ bonus bHPrecovRate,15; bonus bSPrecovRate,15; bonus bMatkRate,7; }
-18997:28326:28327,{ bonus bSpeedRate,10; bonus bBaseAtk,50; bonus bMatk,50; if(getequiprefinerycnt(EQI_HEAD_TOP)>=9){ bonus bMaxHPrate,10; bonus bMaxSPrate,50; } }
-19026:15138,{ bonus2 bAddRaceTolerance, RC_Fish, 10 + getequiprefinerycnt(EQI_ARMOR); }
-19026:20756,{ .@r = getequiprefinerycnt(EQI_GARMENT); bonus2 bSPGainRace, RC_Fish, 10; bonus3 bAddMonsterDropItem, Shusi, RC_Fish, (5 + .@r); bonus3 bAddMonsterDropItem, Fish_Slice, RC_Fish, (5 + .@r); bonus2 bAddItemHealRate, Shusi, 5; bonus2 bAddItemHealRate, Fish_Slice, 5; bonus bHPrecovRate, (5 + .@r); }
-19026:22059,{ bonus2 bCriticalAddRace, RC_Fish, 10 + getequiprefinerycnt(EQI_SHOES); }
-19026:15138:22059:20756,{ bonus bMaxHP, 1000; bonus bMaxSP, 100; bonus2 bExpAddRace, RC_Fish, 20; bonus2 bAddRace, RC_Fish, 50; bonus2 bMagicAddRace, RC_Fish, 50; bonus2 bSubEle, Ele_Water, 50; }
-19827:20763,{ bonus2 bAddRaceTolerance,RC_Player,4; }
-20717:22000,{ bonus bMaxHPrate,15; bonus bMaxSPrate,5; }
-20717:22001,{ bonus bMaxHPrate,15; bonus bMaxSPrate,5; }
-20717:22002,{ bonus bMaxHPrate,15; bonus bMaxSPrate,5; }
-20717:22003,{ bonus bMaxHPrate,15; bonus bMaxSPrate,5; }
-20717:22004,{ bonus bMaxHPrate,15; bonus bMaxSPrate,5; }
-20717:22005,{ bonus bMaxHPrate,15; bonus bMaxSPrate,5; }
-20717:22006,{ bonus bMaxHPrate,15; bonus bMaxSPrate,5; }
-20717:22007,{ bonus bMaxHPrate,15; bonus bMaxSPrate,5; }
-20717:22008,{ bonus bMaxHPrate,15; bonus bMaxSPrate,5; }
-20717:22009,{ bonus bMaxHPrate,15; bonus bMaxSPrate,5; }
-20717:22010,{ bonus bMaxHPrate,15; bonus bMaxSPrate,5; }
-20717:22011,{ bonus bMaxHPrate,15; bonus bMaxSPrate,5; }
-20718:22000,{ bonus bMaxHPrate,15; bonus bMaxSPrate,5; }
-20718:22001,{ bonus bMaxHPrate,15; bonus bMaxSPrate,5; }
-20718:22002,{ bonus bMaxHPrate,15; bonus bMaxSPrate,5; }
-20718:22003,{ bonus bMaxHPrate,15; bonus bMaxSPrate,5; }
-20718:22004,{ bonus bMaxHPrate,15; bonus bMaxSPrate,5; }
-20718:22005,{ bonus bMaxHPrate,15; bonus bMaxSPrate,5; }
-20718:22006,{ bonus bMaxHPrate,15; bonus bMaxSPrate,5; }
-20718:22007,{ bonus bMaxHPrate,15; bonus bMaxSPrate,5; }
-20718:22008,{ bonus bMaxHPrate,15; bonus bMaxSPrate,5; }
-20718:22009,{ bonus bMaxHPrate,15; bonus bMaxSPrate,5; }
-20718:22010,{ bonus bMaxHPrate,15; bonus bMaxSPrate,5; }
-20718:22011,{ bonus bMaxHPrate,15; bonus bMaxSPrate,5; }
-20732:28101,{ bonus2 bAddRace, RC_All, 25; }
-22016:28320,{ bonus2 bAddRace,RC_DemiPlayer,getequiprefinerycnt(EQI_SHOES); bonus2 bAddRace,RC_Player,getequiprefinerycnt(EQI_SHOES); }
-28326:28327,{ bonus bInt,8; bonus bStr,8; }
-
-// Shadow Equipment
-24012:24013:24014:24015:24016:24017,{ bonus bAllStats,9; }
-24018:24019:24020,{ if(getequiprefinerycnt(EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L, EQI_SHADOW_WEAPON) >= 23) { bonus bAtkRate,1; } }
-24021:24022:24023,{ if(getequiprefinerycnt(EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L, EQI_SHADOW_WEAPON) >= 23) { bonus bMatkRate,1; } }
-24025:24028,{ .@r = getequiprefinerycnt(EQI_SHADOW_ARMOR, EQI_SHADOW_SHOES); bonus bMaxHP,.@r; bonus bMaxSP,.@r; if(.@r >= 15) { bonus bMaxHPrate,1; } }
-24026:24027,{ .@r = getequiprefinerycnt(EQI_SHADOW_ARMOR, EQI_SHADOW_SHIELD); bonus bDef,.@r; if(.@r >= 15) { bonus2 bSubEle,0,1; } }
-24029:24031,{ .@r = getequiprefinerycnt(EQI_SHADOW_ARMOR, EQI_SHADOW_WEAPON); bonus bBaseAtk,.@r; if(.@r >= 15) { bonus bLongAtkRate,1; } }
-24030:24032,{ .@r = getequiprefinerycnt(EQI_SHADOW_ARMOR, EQI_SHADOW_WEAPON); bonus bCritical,.@r; bonus bBaseAtk,.@r; if(.@r >= 15) { bonus bCritAtkRate,1; } }
-24034:24040,{ bonus bLuk,1; }
-24035:24041,{ bonus bStr,1; }
-24036:24042,{ bonus bInt,1; }
-24037:24043,{ bonus bDex,1; }
-24038:24044,{ bonus bVit,1; }
-24039:24045,{ bonus bAgi,1; }
-24046:24051,{ bonus2 bSubEle,Ele_Neutral,1; if(getequiprefinerycnt(EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L) >= 15) { bonus2 bSubEle,Ele_Neutral,1; } }
-24052:24062,{ bonus2 bExpAddRace,RC_DemiPlayer,3; }
-24053:24063,{ bonus2 bAddRace,RC_Boss,5; bonus2 bMagicAddRace,RC_Boss,5; }
-24054:24065,{ bonus2 bExpAddRace,RC_Brute,3; }
-24055:24066,{ bonus2 bExpAddRace,RC_Insect,3; }
-24056:24067,{ bonus2 bExpAddRace,RC_Fish,3; }
-24057:24071,{ bonus2 bExpAddRace,RC_Dragon,3; }
-24058:24068,{ bonus2 bExpAddRace,RC_Angel,3; }
-24059:24069,{ bonus2 bExpAddRace,RC_Formless,3; }
-24060:24070,{ bonus2 bExpAddRace,RC_Undead,3; }
-24061:24064,{ bonus2 bExpAddRace,RC_Plant,3; }
-24072:24075,{ bonus bMaxHPrate,1; bonus bMaxSPrate,1; }
-24073:24076,{ bonus bMaxHPrate,1; bonus bMaxSPrate,1; }
-24074:24077,{ bonus bMaxHPrate,1; bonus bMaxSPrate,1; }
-24078:24079:24080,{ bonus3 bSPDrainRate,10,1+(getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L)/10),0; }
-24081:24082:24083,{ bonus3 bHPDrainRateRace,11,40,2+(getequiprefinerycnt(EQI_SHADOW_ARMOR, EQI_SHADOW_SHIELD, EQI_SHADOW_SHOES)/5); }
-24084:24085:24086:24087:24088:24089,{ bonus bAllStats,1; .@r = getequiprefinerycnt(EQI_SHADOW_ARMOR, EQI_SHADOW_WEAPON, EQI_SHADOW_SHIELD, EQI_SHADOW_SHOES, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L); if (.@r >= 45) { bonus bNoGemStone,1; } bonus bUseSPrate,100-.@r; }
-24090:24091:24092,{ bonus bDef,5; if (getequiprefinerycnt(EQI_SHADOW_SHIELD, EQI_SHADOW_ARMOR, EQI_SHADOW_SHOES) >= 20) bonus2 bResEff,Eff_Stone,100; }
-24090:24093:24094,{ bonus bDef,5; if (getequiprefinerycnt(EQI_SHADOW_SHIELD, EQI_SHADOW_ARMOR, EQI_SHADOW_SHOES) >= 20) bonus2 bResEff,Eff_Sleep,100; }
-24090:24095:24096,{ bonus bDef,5; if (getequiprefinerycnt(EQI_SHADOW_SHIELD, EQI_SHADOW_ARMOR, EQI_SHADOW_SHOES) >= 20) bonus2 bResEff,Eff_Silence,100; }
-24090:24097:24098,{ bonus bDef,5; if (getequiprefinerycnt(EQI_SHADOW_SHIELD, EQI_SHADOW_ARMOR, EQI_SHADOW_SHOES) >= 20) bonus2 bResEff,Eff_Blind,100; }
-24090:24099:24100:24101,{ bonus bDef,4; if (getequiprefinerycnt(EQI_SHADOW_SHIELD, EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_L, EQI_SHADOW_ACC_R) >= 30) bonus2 bResEff,Eff_Freeze,100; }
-24090:24102:24103,{ bonus bDef,5; if (getequiprefinerycnt(EQI_SHADOW_SHIELD, EQI_SHADOW_ACC_L, EQI_SHADOW_ACC_R) >= 20) bonus2 bResEff,Eff_Bleeding,100; }
-24090:24104:24105:24106,{ bonus bDef,4; if (getequiprefinerycnt(EQI_SHADOW_SHIELD, EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_L, EQI_SHADOW_ACC_R) >= 30) bonus2 bResEff,Eff_Stun,100; }
-24090:24107:24108,{ bonus bDef,5; if (getequiprefinerycnt(EQI_SHADOW_SHIELD, EQI_SHADOW_ACC_L, EQI_SHADOW_ACC_R) >= 20) bonus2 bResEff,Eff_Curse,100; }
-24109:24110:24048,{ bonus bNoCastCancel,1; bonus bVariableCastrate,40-(getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L)); }
-24111:24112:24113,{ bonus bNoCastCancel,1; bonus bUseSPrate,40-getequiprefinerycnt(EQI_SHADOW_SHIELD)-getequiprefinerycnt(EQI_SHADOW_ARMOR)-getequiprefinerycnt(EQI_SHADOW_SHOES); }
-24150:24151,{ bonus bAtkRate,1; if (getequiprefinerycnt(EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L) >= 15) bonus bNoSizeFix,1; }
-24152:24153,{ bonus bAtk,getequiprefinerycnt(EQI_SHADOW_WEAPON); if (getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R) >= 15) bonus bUnbreakableWeapon,1; }
-24154:24155,{ bonus bDef,getequiprefinerycnt(EQI_SHADOW_ARMOR); if (getequiprefinerycnt(EQI_SHADOW_ARMOR, EQI_SHADOW_ACC_L) >= 15) bonus bUnbreakableArmor,1; }
-24156:24166:24167,{ bonus bBaseAtk,5; if(getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L)>=25) bonus bIgnoreDefRace,RC_DemiPlayer; }
-24157:24166:24167,{ bonus bBaseAtk,5; if(getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L)>=25) bonus bIgnoreDefRace,RC_Demon; }
-24158:24166:24167,{ bonus bBaseAtk,5; if(getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L)>=25) bonus bIgnoreDefRace,RC_Brute; }
-24159:24166:24167,{ bonus bBaseAtk,5; if(getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L)>=25) bonus bIgnoreDefRace,RC_Insect; }
-24160:24166:24167,{ bonus bBaseAtk,5; if(getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L)>=25) bonus bIgnoreDefRace,RC_Fish; }
-24161:24166:24167,{ bonus bBaseAtk,5; if(getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L)>=25) bonus bIgnoreDefRace,RC_Dragon; }
-24162:24166:24167,{ bonus bBaseAtk,5; if(getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L)>=25) bonus bIgnoreDefRace,RC_Angel; }
-24163:24166:24167,{ bonus bBaseAtk,5; if(getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L)>=25) bonus bIgnoreDefRace,RC_Formless; }
-24164:24166:24167,{ bonus bBaseAtk,5; if(getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L)>=25) bonus bIgnoreDefRace,RC_Undead; }
-24165:24166:24167,{ bonus bBaseAtk,5; if(getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L)>=25) bonus bIgnoreDefRace,RC_Plant; }
-24168:24169:24170,{ bonus bMatk,5; if(getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L)>=25) bonus bIgnoreMdefRace,RC_DemiPlayer; }
-24168:24169:24171,{ bonus bMatk,5; if(getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L)>=25) bonus bIgnoreMdefRace,RC_Demon; }
-24168:24169:24172,{ bonus bMatk,5; if(getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L)>=25) bonus bIgnoreMdefRace,RC_Brute; }
-24168:24169:24173,{ bonus bMatk,5; if(getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L)>=25) bonus bIgnoreMdefRace,RC_Insect; }
-24168:24169:24174,{ bonus bMatk,5; if(getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L)>=25) bonus bIgnoreMdefRace,RC_Fish; }
-24168:24169:24175,{ bonus bMatk,5; if(getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L)>=25) bonus bIgnoreMdefRace,RC_Dragon; }
-24168:24169:24176,{ bonus bMatk,5; if(getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L)>=25) bonus bIgnoreMdefRace,RC_Angel; }
-24168:24169:24177,{ bonus bMatk,5; if(getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L)>=25) bonus bIgnoreMdefRace,RC_Formless; }
-24168:24169:24178,{ bonus bMatk,5; if(getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L)>=25) bonus bIgnoreMdefRace,RC_Undead; }
-24168:24169:24179,{ bonus bMatk,5; if(getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L)>=25) bonus bIgnoreMdefRace,RC_Plant; }
-24180:24181:24182:24183:24184:24185,{ .@refine = getequiprefinerycnt(EQI_SHADOW_ARMOR, EQI_SHADOW_WEAPON, EQI_SHADOW_SHIELD, EQI_SHADOW_SHOES, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L); bonus bAllStats,1; if(.@refine>=45) { bonus bMaxHPrate,(.@refine-60); sc_start4 SC_ENDURE,1,10,0,0,1;} }
-// 24186:24198,{ /* Reduces physical and magical damage received from Neutral property monsters by 2% */ }
-// 24187:24199,{ /* Reduces physical and magical damage received from Shadow property monsters by 2% */ }
-// 24188:24200,{ /* Reduces physical and magical damage received from Water property monsters by 2% */ }
-// 24189:24201,{ /* Reduces physical and magical damage received from Earth property monsters by 2% */ }
-// 24190:24202,{ /* Reduces physical and magical damage received from Fire property monsters by 2% */ }
-// 24191:24203,{ /* Reduces physical and magical damage received from Wind property monsters by 2% */; }
-// 24192:24204,{ /* Reduces physical and magical damage received from Poison property monsters by 2% */ }
-// 24193:24205,{ /* Reduces physical and magical damage received from Holy property monsters by 2% */ }
-// 24194:24206,{ /* Reduces physical and magical damage received from Ghost property monsters by 2% */ }
-// 24195:24207,{ /* Reduces physical and magical damage received from Undead property monsters by 2% */ }
-24196:24197,{ bonus bFlee,5; if(getequiprefinerycnt(EQI_SHADOW_SHOES, EQI_SHADOW_ARMOR)>=15) bonus bSpeedAddRate,3; }
-24208:24209,{ bonus2 bExpAddRace, RC_All, ((getequiprefinerycnt(EQI_SHADOW_SHOES, EQI_SHADOW_SHIELD))>=15?10:1); }
-24210:24211,{ bonus2 bExpAddRace, RC_All, ((getequiprefinerycnt(EQI_SHADOW_SHOES, EQI_SHADOW_SHIELD))>=15?20:10); }
-24212:24213,{ bonus2 bExpAddRace, RC_All, ((getequiprefinerycnt(EQI_SHADOW_SHOES, EQI_SHADOW_SHIELD))>=15?10:5); }
-24214:24215,{ bonus2 bExpAddRace, RC_All, ((getequiprefinerycnt(EQI_SHADOW_SHOES, EQI_SHADOW_SHIELD))>=15?4:2); }
-24217:24218,{ if(getequiprefinerycnt(EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L)>=15) bonus bAspd,1; }
-//24223:Enhanced Force Shadow Earring:Enhanced Force Shadow Pendant,{ .@refine = getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L); if(.@refine)>=25 {bonus bAtkRate,2;} else if(.@refine)>=20 {bonus bAtkRate,1;} bonus bAtkRate,1; }
-24224:24225:24226,{ .@refine = getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L); if(.@refine)>=25 { bonus bAtkRate,2; } else if(.@refine)>=20 { bonus bAtkRate,1; } bonus bAtk2,10; }
-//24227:Enhanced Soul Earring:Enhanced Soul Pendant,{ .@refine = getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L); if(.@refine)>=25 {bonus bMatkRate,2;} else if(.@refine)>=20 {bonus bMatkRate,1;} bonus bMatkRate,1; }
-24228:24229:24230,{ .@refine = getequiprefinerycnt(EQI_SHADOW_WEAPON, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L); if(.@refine)>=25 { bonus bMatkRate,2; } else if(.@refine)>=20 { bonus bMatkRate,1; } bonus bMatk,10; }
-24231:24232,{ bonus bFlee,5; if(getequiprefinerycnt(EQI_SHADOW_SHOES, EQI_SHADOW_SHIELD) >=15) { bonus bAspd,1; } }
-24234:24235,{ bonus bAtk,5; if(getequiprefinerycnt(EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L) >=15) { bonus2 bAddSize,Size_Large,1; } }
-24236:24237,{ bonus bAtk,5; if(getequiprefinerycnt(EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L) >=15) { bonus2 bAddSize,Size_Medium,1; } }
-24238:24239,{ bonus bAtk,5; if(getequiprefinerycnt(EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L) >=15) { bonus2 bAddSize,Size_Small,1; } }
-24240:24241:24242,{ bonus bUseSPrate,-1; .@refine = getequiprefinerycnt(EQI_SHADOW_SHIELD, EQI_SHADOW_ARMOR, EQI_SHADOW_SHOES); bonus bVariableCastrate,(.@refine)/5; if(.@refine)>=25 { bonus bUseSPrate,-1; } }
-24243:24244:24245,{ bonus bDelayrate,-1; if (getequiprefinerycnt(EQI_SHADOW_SHIELD, EQI_SHADOW_ARMOR, EQI_SHADOW_SHOES) >= 25) bonus bDelayrate,-5; }
-2161:1646,{ .@r = (getequiprefinerycnt(EQI_HAND_L)*4); bonus2 bVariableCastrate,"WZ_STORMGUST",-.@r; bonus2 bVariableCastrate,"WL_FROSTMISTY",-.@r; bonus2 bVariableCastrate,"WL_JACKFROST",-.@r; }
diff --git a/src/map/itemdb.c b/src/map/itemdb.c
index 204d0ead5..3aae2c90c 100644
--- a/src/map/itemdb.c
+++ b/src/map/itemdb.c
@@ -1531,138 +1531,99 @@ static void itemdb_read_chains(void)
ShowStatus("Done reading '"CL_WHITE"%d"CL_RESET"' entries in '"CL_WHITE"%s"CL_RESET"'.\n", count, config_filename);
}
-/**
- * @return: amount of retrieved entries.
- **/
-static int itemdb_combo_split_atoi(char *str, int *val)
+static bool itemdb_read_combodb_libconfig(void)
{
- int i;
-
- nullpo_ret(val);
+ struct config_t combo_conf;
+ char filepath[256];
+ safesnprintf(filepath, sizeof(filepath), "%s/%s/%s", map->db_path, DBPATH, "item_combo_db.conf");
- for (i=0; i<MAX_ITEMS_PER_COMBO; i++) {
- if (!str) break;
+ if (libconfig->load_file(&combo_conf, filepath) == CONFIG_FALSE) {
+ ShowError("itemdb_read_combodb_libconfig: can't read %s\n", filepath);
+ return false;
+ }
- val[i] = atoi(str);
- str = strchr(str,':');
- if (str)
- *str++=0;
+ struct config_setting_t *combo_db = NULL;
+ if ((combo_db = libconfig->setting_get_member(combo_conf.root, "combo_db")) == NULL) {
+ ShowError("itemdb_read_combodb_libconfig: can't read %s\n", filepath);
+ return false;
}
- if( i == 0 ) //No data found.
- return 0;
+ int i = 0;
+ int count = 0;
+ struct config_setting_t *it = NULL;
- return i;
+ while ((it = libconfig->setting_get_elem(combo_db, i++)) != NULL) {
+ if (itemdb->read_combodb_libconfig_sub(it, i - 1, filepath))
+ ++count;
+ }
+
+ libconfig->destroy(&combo_conf);
+ ShowStatus("Done reading '"CL_WHITE"%d"CL_RESET"' entries in '"CL_WHITE"%s"CL_RESET"'.\n", count, filepath);
+ return true;
}
-/**
- * <combo{:combo{:combo:{..}}}>,<{ script }>
- **/
-static void itemdb_read_combos(void)
+
+static bool itemdb_read_combodb_libconfig_sub(struct config_setting_t *it, int idx, const char *source)
{
- uint32 lines = 0, count = 0;
- char line[1024];
- char filepath[256];
- FILE* fp;
+ nullpo_retr(false, it);
+ nullpo_retr(false, source);
- safesnprintf(filepath, 256, "%s/%s", map->db_path, DBPATH"item_combo_db.txt");
+ struct config_setting_t *t = NULL;
- if ((fp = fopen(filepath, "r")) == NULL) {
- ShowError("itemdb_read_combos: File not found \"%s\".\n", filepath);
- return;
+ if ((t = libconfig->setting_get_member(it, "Items")) == NULL) {
+ ShowWarning("itemdb_read_combodb_libconfig_sub: invalid item list for combo (%d), in (%s), skipping..\n", idx, source);
+ return false;
}
- // process rows one by one
- while(fgets(line, sizeof(line), fp)) {
- char *str[2], *p;
-
- lines++;
-
- if (line[0] == '/' && line[1] == '/')
- continue;
-
- memset(str, 0, sizeof(str));
+ if (!config_setting_is_array(t)) {
+ ShowWarning("itemdb_read_combodb_libconfig_sub: the combo (%d) item list must be an array, in (%s), skipping..\n", idx, source);
+ return false;
+ }
- p = line;
- p = trim(p);
- if (*p == '\0')
- continue;// empty line
+ int len = libconfig->setting_length(t);
+ if (len > MAX_ITEMS_PER_COMBO) {
+ ShowWarning("itemdb_read_combodb_libconfig_sub: the size of combo (%d) item list is too big (%d, max = %d), in (%s), skipping..\n", idx, len, MAX_ITEMS_PER_COMBO, source);
+ return false;
+ }
- if (!strchr(p,',')) {
- /* is there even a single column? */
- ShowError("itemdb_read_combos: Insufficient columns in line %u of \"%s\", skipping.\n", lines, filepath);
- continue;
- }
+ struct item_combo *combo = NULL;
+ RECREATE(itemdb->combos, struct item_combo *, ++itemdb->combo_count);
+ CREATE(combo, struct item_combo, 1);
- str[0] = p;
- p = strchr(p,',');
- *p = '\0';
- p++;
+ combo->id = itemdb->combo_count - 1;
+ combo->count = len;
- str[1] = p;
- p = strchr(p,',');
- p++;
+ for (int i = 0; i < len; i++) {
+ struct item_data *item = NULL;
+ const char *name = libconfig->setting_get_string_elem(t, i);
- if (str[1][0] != '{') {
- ShowError("itemdb_read_combos(#1): Invalid format (Script column) in line %u of \"%s\", skipping.\n", lines, filepath);
- continue;
+ if ((item = itemdb->name2id(name)) == NULL) {
+ ShowWarning("itemdb_read_combodb_libconfig_sub: unknown item '%s', in (%s), skipping..\n", name, source);
+ --itemdb->combo_count;
+ aFree(combo);
+ return false;
}
+ combo->nameid[i] = item->nameid;
+ }
- /* no ending key anywhere (missing \}\) */
- if ( str[1][strlen(str[1])-1] != '}' ) {
- ShowError("itemdb_read_combos(#2): Invalid format (Script column) in line %u of \"%s\", skipping.\n", lines, filepath);
- continue;
- } else {
- int items[MAX_ITEMS_PER_COMBO];
- int v = 0, retcount = 0;
- struct item_combo *combo = NULL;
-
- if((retcount = itemdb->combo_split_atoi(str[0], items)) < 2) {
- ShowError("itemdb_read_combos: line %u of \"%s\" doesn't have enough items to make for a combo (min:2), skipping.\n", lines, filepath);
- continue;
- }
-
- /* validate */
- for(v = 0; v < retcount; v++) {
- if( !itemdb->exists(items[v]) ) {
- ShowError("itemdb_read_combos: line %u of \"%s\" contains unknown item ID %d, skipping.\n", lines, filepath, items[v]);
- break;
- }
- }
- /* failed at some item */
- if( v < retcount )
- continue;
-
- RECREATE(itemdb->combos, struct item_combo*, ++itemdb->combo_count);
-
- CREATE(combo, struct item_combo, 1);
-
- combo->count = retcount;
- combo->script = script->parse(str[1], filepath, lines, 0, NULL);
- combo->id = itemdb->combo_count - 1;
- /* populate ->nameid field */
- for( v = 0; v < retcount; v++ ) {
- combo->nameid[v] = items[v];
- }
-
- itemdb->combos[itemdb->combo_count - 1] = combo;
+ const char *str = NULL;
+ if (libconfig->setting_lookup_string(it, "Script", &str) == CONFIG_TRUE) {
+ combo->script = *str ? script->parse(str, source, -idx, SCRIPT_IGNORE_EXTERNAL_BRACKETS, NULL) : NULL;
+ } else {
+ ShowWarning("itemdb_read_combodb_libconfig_sub: invalid script for combo (%d) in (%s), skipping..\n", idx, source);
+ --itemdb->combo_count;
+ aFree(combo);
+ return false;
+ }
- /* populate the items to refer to this combo */
- for( v = 0; v < retcount; v++ ) {
- struct item_data * it;
- int index;
+ itemdb->combos[combo->id] = combo;
- it = itemdb->exists(items[v]);
- index = it->combos_count;
- RECREATE(it->combos, struct item_combo*, ++it->combos_count);
- it->combos[index] = combo;
- }
- }
- count++;
+ /* populate the items to refer to this combo */
+ for (int i = 0; i < len; i++) {
+ struct item_data *item = itemdb->exists(combo->nameid[i]);
+ RECREATE(item->combos, struct item_combo *, ++item->combos_count);
+ item->combos[item->combos_count - 1] = combo;
}
- fclose(fp);
- ShowStatus("Done reading '"CL_WHITE"%"PRIu32""CL_RESET"' entries in '"CL_WHITE"%s"CL_RESET"'.\n", count, DBPATH"item_combo_db.txt");
-
- return;
+ return true;
}
/*======================================
@@ -2492,7 +2453,7 @@ static void itemdb_read(bool minimal)
itemdb->name_constants();
- itemdb->read_combos();
+ itemdb->read_combodb_libconfig();
itemdb->read_groups();
itemdb->read_chains();
itemdb->read_packages();
@@ -2840,8 +2801,8 @@ void itemdb_defaults(void)
itemdb->isrestricted = itemdb_isrestricted;
itemdb->isidentified = itemdb_isidentified;
itemdb->isidentified2 = itemdb_isidentified2;
- itemdb->combo_split_atoi = itemdb_combo_split_atoi;
- itemdb->read_combos = itemdb_read_combos;
+ itemdb->read_combodb_libconfig = itemdb_read_combodb_libconfig;
+ itemdb->read_combodb_libconfig_sub = itemdb_read_combodb_libconfig_sub;
itemdb->gendercheck = itemdb_gendercheck;
itemdb->validate_entry = itemdb_validate_entry;
itemdb->readdb_options_additional_fields = itemdb_readdb_options_additional_fields;
diff --git a/src/map/itemdb.h b/src/map/itemdb.h
index d1e5973e8..16a348797 100644
--- a/src/map/itemdb.h
+++ b/src/map/itemdb.h
@@ -668,8 +668,8 @@ struct itemdb_interface {
int (*isrestricted) (struct item *item, int gmlv, int gmlv2, int(*func)(struct item_data *, int, int));
int (*isidentified) (int nameid);
int (*isidentified2) (struct item_data *data);
- int (*combo_split_atoi) (char *str, int *val);
- void (*read_combos) (void);
+ bool (*read_combodb_libconfig) (void);
+ bool (*read_combodb_libconfig_sub) (struct config_setting_t *it, int idx, const char *source);
int (*gendercheck) (struct item_data *id);
int (*validate_entry) (struct item_data *entry, int n, const char *source);
void (*readdb_options_additional_fields) (struct itemdb_option *ito, struct config_setting_t *t, const char *source);
diff --git a/src/plugins/HPMHooking/HPMHooking.Defs.inc b/src/plugins/HPMHooking/HPMHooking.Defs.inc
index 5fb0c1555..433d9338e 100644
--- a/src/plugins/HPMHooking/HPMHooking.Defs.inc
+++ b/src/plugins/HPMHooking/HPMHooking.Defs.inc
@@ -4056,10 +4056,10 @@ typedef int (*HPMHOOK_pre_itemdb_isidentified) (int *nameid);
typedef int (*HPMHOOK_post_itemdb_isidentified) (int retVal___, int nameid);
typedef int (*HPMHOOK_pre_itemdb_isidentified2) (struct item_data **data);
typedef int (*HPMHOOK_post_itemdb_isidentified2) (int retVal___, struct item_data *data);
-typedef int (*HPMHOOK_pre_itemdb_combo_split_atoi) (char **str, int **val);
-typedef int (*HPMHOOK_post_itemdb_combo_split_atoi) (int retVal___, char *str, int *val);
-typedef void (*HPMHOOK_pre_itemdb_read_combos) (void);
-typedef void (*HPMHOOK_post_itemdb_read_combos) (void);
+typedef bool (*HPMHOOK_pre_itemdb_read_combodb_libconfig) (void);
+typedef bool (*HPMHOOK_post_itemdb_read_combodb_libconfig) (bool retVal___);
+typedef bool (*HPMHOOK_pre_itemdb_read_combodb_libconfig_sub) (struct config_setting_t **it, int *idx, const char **source);
+typedef bool (*HPMHOOK_post_itemdb_read_combodb_libconfig_sub) (bool retVal___, struct config_setting_t *it, int idx, const char *source);
typedef int (*HPMHOOK_pre_itemdb_gendercheck) (struct item_data **id);
typedef int (*HPMHOOK_post_itemdb_gendercheck) (int retVal___, struct item_data *id);
typedef int (*HPMHOOK_pre_itemdb_validate_entry) (struct item_data **entry, int *n, const char **source);
diff --git a/src/plugins/HPMHooking/HPMHooking_map.HPMHooksCore.inc b/src/plugins/HPMHooking/HPMHooking_map.HPMHooksCore.inc
index aa73d8748..37c42d8c2 100644
--- a/src/plugins/HPMHooking/HPMHooking_map.HPMHooksCore.inc
+++ b/src/plugins/HPMHooking/HPMHooking_map.HPMHooksCore.inc
@@ -3232,10 +3232,10 @@ struct {
struct HPMHookPoint *HP_itemdb_isidentified_post;
struct HPMHookPoint *HP_itemdb_isidentified2_pre;
struct HPMHookPoint *HP_itemdb_isidentified2_post;
- struct HPMHookPoint *HP_itemdb_combo_split_atoi_pre;
- struct HPMHookPoint *HP_itemdb_combo_split_atoi_post;
- struct HPMHookPoint *HP_itemdb_read_combos_pre;
- struct HPMHookPoint *HP_itemdb_read_combos_post;
+ struct HPMHookPoint *HP_itemdb_read_combodb_libconfig_pre;
+ struct HPMHookPoint *HP_itemdb_read_combodb_libconfig_post;
+ struct HPMHookPoint *HP_itemdb_read_combodb_libconfig_sub_pre;
+ struct HPMHookPoint *HP_itemdb_read_combodb_libconfig_sub_post;
struct HPMHookPoint *HP_itemdb_gendercheck_pre;
struct HPMHookPoint *HP_itemdb_gendercheck_post;
struct HPMHookPoint *HP_itemdb_validate_entry_pre;
@@ -10029,10 +10029,10 @@ struct {
int HP_itemdb_isidentified_post;
int HP_itemdb_isidentified2_pre;
int HP_itemdb_isidentified2_post;
- int HP_itemdb_combo_split_atoi_pre;
- int HP_itemdb_combo_split_atoi_post;
- int HP_itemdb_read_combos_pre;
- int HP_itemdb_read_combos_post;
+ int HP_itemdb_read_combodb_libconfig_pre;
+ int HP_itemdb_read_combodb_libconfig_post;
+ int HP_itemdb_read_combodb_libconfig_sub_pre;
+ int HP_itemdb_read_combodb_libconfig_sub_post;
int HP_itemdb_gendercheck_pre;
int HP_itemdb_gendercheck_post;
int HP_itemdb_validate_entry_pre;
diff --git a/src/plugins/HPMHooking/HPMHooking_map.HookingPoints.inc b/src/plugins/HPMHooking/HPMHooking_map.HookingPoints.inc
index ddc3e643c..748db6123 100644
--- a/src/plugins/HPMHooking/HPMHooking_map.HookingPoints.inc
+++ b/src/plugins/HPMHooking/HPMHooking_map.HookingPoints.inc
@@ -1655,8 +1655,8 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(itemdb->isrestricted, HP_itemdb_isrestricted) },
{ HP_POP(itemdb->isidentified, HP_itemdb_isidentified) },
{ HP_POP(itemdb->isidentified2, HP_itemdb_isidentified2) },
- { HP_POP(itemdb->combo_split_atoi, HP_itemdb_combo_split_atoi) },
- { HP_POP(itemdb->read_combos, HP_itemdb_read_combos) },
+ { HP_POP(itemdb->read_combodb_libconfig, HP_itemdb_read_combodb_libconfig) },
+ { HP_POP(itemdb->read_combodb_libconfig_sub, HP_itemdb_read_combodb_libconfig_sub) },
{ HP_POP(itemdb->gendercheck, HP_itemdb_gendercheck) },
{ HP_POP(itemdb->validate_entry, HP_itemdb_validate_entry) },
{ HP_POP(itemdb->readdb_options_additional_fields, HP_itemdb_readdb_options_additional_fields) },
diff --git a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
index f62cb4733..c9bdefbd7 100644
--- a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
+++ b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
@@ -42494,15 +42494,15 @@ int HP_itemdb_isidentified2(struct item_data *data) {
}
return retVal___;
}
-int HP_itemdb_combo_split_atoi(char *str, int *val) {
+bool HP_itemdb_read_combodb_libconfig(void) {
int hIndex = 0;
- int retVal___ = 0;
- if (HPMHooks.count.HP_itemdb_combo_split_atoi_pre > 0) {
- int (*preHookFunc) (char **str, int **val);
+ bool retVal___ = false;
+ if (HPMHooks.count.HP_itemdb_read_combodb_libconfig_pre > 0) {
+ bool (*preHookFunc) (void);
*HPMforce_return = false;
- for (hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_combo_split_atoi_pre; hIndex++) {
- preHookFunc = HPMHooks.list.HP_itemdb_combo_split_atoi_pre[hIndex].func;
- retVal___ = preHookFunc(&str, &val);
+ for (hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_read_combodb_libconfig_pre; hIndex++) {
+ preHookFunc = HPMHooks.list.HP_itemdb_read_combodb_libconfig_pre[hIndex].func;
+ retVal___ = preHookFunc();
}
if (*HPMforce_return) {
*HPMforce_return = false;
@@ -42510,42 +42510,43 @@ int HP_itemdb_combo_split_atoi(char *str, int *val) {
}
}
{
- retVal___ = HPMHooks.source.itemdb.combo_split_atoi(str, val);
+ retVal___ = HPMHooks.source.itemdb.read_combodb_libconfig();
}
- if (HPMHooks.count.HP_itemdb_combo_split_atoi_post > 0) {
- int (*postHookFunc) (int retVal___, char *str, int *val);
- for (hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_combo_split_atoi_post; hIndex++) {
- postHookFunc = HPMHooks.list.HP_itemdb_combo_split_atoi_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, str, val);
+ if (HPMHooks.count.HP_itemdb_read_combodb_libconfig_post > 0) {
+ bool (*postHookFunc) (bool retVal___);
+ for (hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_read_combodb_libconfig_post; hIndex++) {
+ postHookFunc = HPMHooks.list.HP_itemdb_read_combodb_libconfig_post[hIndex].func;
+ retVal___ = postHookFunc(retVal___);
}
}
return retVal___;
}
-void HP_itemdb_read_combos(void) {
+bool HP_itemdb_read_combodb_libconfig_sub(struct config_setting_t *it, int idx, const char *source) {
int hIndex = 0;
- if (HPMHooks.count.HP_itemdb_read_combos_pre > 0) {
- void (*preHookFunc) (void);
+ bool retVal___ = false;
+ if (HPMHooks.count.HP_itemdb_read_combodb_libconfig_sub_pre > 0) {
+ bool (*preHookFunc) (struct config_setting_t **it, int *idx, const char **source);
*HPMforce_return = false;
- for (hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_read_combos_pre; hIndex++) {
- preHookFunc = HPMHooks.list.HP_itemdb_read_combos_pre[hIndex].func;
- preHookFunc();
+ for (hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_read_combodb_libconfig_sub_pre; hIndex++) {
+ preHookFunc = HPMHooks.list.HP_itemdb_read_combodb_libconfig_sub_pre[hIndex].func;
+ retVal___ = preHookFunc(&it, &idx, &source);
}
if (*HPMforce_return) {
*HPMforce_return = false;
- return;
+ return retVal___;
}
}
{
- HPMHooks.source.itemdb.read_combos();
+ retVal___ = HPMHooks.source.itemdb.read_combodb_libconfig_sub(it, idx, source);
}
- if (HPMHooks.count.HP_itemdb_read_combos_post > 0) {
- void (*postHookFunc) (void);
- for (hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_read_combos_post; hIndex++) {
- postHookFunc = HPMHooks.list.HP_itemdb_read_combos_post[hIndex].func;
- postHookFunc();
+ if (HPMHooks.count.HP_itemdb_read_combodb_libconfig_sub_post > 0) {
+ bool (*postHookFunc) (bool retVal___, struct config_setting_t *it, int idx, const char *source);
+ for (hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_read_combodb_libconfig_sub_post; hIndex++) {
+ postHookFunc = HPMHooks.list.HP_itemdb_read_combodb_libconfig_sub_post[hIndex].func;
+ retVal___ = postHookFunc(retVal___, it, idx, source);
}
}
- return;
+ return retVal___;
}
int HP_itemdb_gendercheck(struct item_data *id) {
int hIndex = 0;
diff --git a/tools/itemcombodbconverter.py b/tools/itemcombodbconverter.py
new file mode 100644
index 000000000..ae4deeba3
--- /dev/null
+++ b/tools/itemcombodbconverter.py
@@ -0,0 +1,112 @@
+#!/usr/bin/env python3
+# -*- coding: utf8 -*-
+#
+# This file is part of Hercules.
+# http://herc.ws - http://github.com/HerculesWS/Hercules
+#
+# Copyright (C) 2019 Hercules Dev Team
+# Copyright (C) 2019 Asheraf
+#
+# Hercules is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
+import argparse
+import json
+import re
+from utils import libconf
+import utils.common as Tools
+
+
+def ConvertFile(args):
+ print(r'''//================= Hercules Database =====================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2019 Hercules Dev Team
+//=
+//= Hercules is free software: you can redistribute it and/or modify
+//= it under the terms of the GNU General Public License as published by
+//= the Free Software Foundation, either version 3 of the License, or
+//= (at your option) any later version.
+//=
+//= This program is distributed in the hope that it will be useful,
+//= but WITHOUT ANY WARRANTY; without even the implied warranty of
+//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//= GNU General Public License for more details.
+//=
+//= You should have received a copy of the GNU General Public License
+//= along with this program. If not, see <http://www.gnu.org/licenses/>.
+//================= Description ===========================================
+// Configurations file for status effects
+//=========================================================================
+
+combo_db: (
+/**************************************************************************
+ ************* Entry structure ********************************************
+ **************************************************************************
+{
+ // ================ Mandatory fields ===============================
+ Items: ["item_list"] (string, array) list of items
+ Script: <"
+ Script
+ (it can be multi-line)
+ ">
+}
+**************************************************************************/''')
+ ItemDB = Tools.LoadDBConsts('item_db', f'{args.mode}', '../')
+ with open (f'../db/{args.mode}/item_combo_db.txt') as dbfile:
+ line = 0
+ for entry in dbfile:
+ line = line + 1
+ if not entry.strip() or entry.startswith('//'):
+ continue
+ m = re.search(r'(^[0-9:]+),\{(.*)\}$', entry)
+ if not m:
+ print(f'Error: Invalid pattern in entry {entry}, line {line}, aborting..')
+ exit()
+
+ items_list = m.group(1).split(':')
+ script = m.group(2)
+ for item in range(len(items_list)):
+ if int(items_list[item]) not in ItemDB:
+ print(f'Error: invalid item {item} found in line {line}, aborting..')
+ exit()
+ items_list[item] = ItemDB[int(items_list[item])]
+
+ if args.enable_jsbeautifier:
+ import jsbeautifier
+ opts = jsbeautifier.default_options()
+ opts.indent_with_tabs = True
+ opts.indent_level = 2
+ script = jsbeautifier.beautify(script, opts)
+ print(
+f'''{{
+ Items: {json.dumps(items_list)}
+ Script: <"\n{script}\n\t">
+}},''')
+ print(')')
+
+if __name__ == '__main__':
+ parser = argparse.ArgumentParser(description='Convert item combo db to new format')
+ parser.add_argument('--mode', type=str, dest='mode', help='Define usage mode re/pre-re.')
+ parser.add_argument('--enable-jsbeautifier', type=bool, dest='enable_jsbeautifier', help='Use jsbeautifier to auto format script fields.')
+ parsed_args = parser.parse_args()
+ ConvertFile(parsed_args)
diff --git a/tools/utils/common.py b/tools/utils/common.py
index acceb9b30..06695751a 100644
--- a/tools/utils/common.py
+++ b/tools/utils/common.py
@@ -21,7 +21,11 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import io
-import libconf as libconf
+import sys
+if sys.version_info >= (3, 0):
+ from utils import libconf as libconf
+else:
+ import libconf as libconf
import os.path
def LoadDBConsts(DBname, mode, serverpath):