diff options
Diffstat (limited to 'db/re')
-rw-r--r-- | db/re/item_combo_db.txt | 23 | ||||
-rw-r--r-- | db/re/item_db.conf | 460 | ||||
-rw-r--r-- | db/re/refine_db.conf | 350 |
3 files changed, 505 insertions, 328 deletions
diff --git a/db/re/item_combo_db.txt b/db/re/item_combo_db.txt index 20c6e5168..739be9a65 100644 --- a/db/re/item_combo_db.txt +++ b/db/re/item_combo_db.txt @@ -47,7 +47,7 @@ 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,"{ specialeffect2 EF_SUFFRAGIUM; }"; } +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); } @@ -94,7 +94,7 @@ 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,"{ specialeffect2 EF_INCAGILITY; }"; } +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)-getequiprefinerycnt(EQI_HEAD_TOP); bonus bMdef,5+getequiprefinerycnt(EQI_HAND_L)+getequiprefinerycnt(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; } } @@ -103,6 +103,7 @@ 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; } @@ -136,11 +137,11 @@ 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,"{ specialeffect2 EF_HEAL; }"; } +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,"{ specialeffect2 EF_HEAL; }"; } -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,"{ specialeffect2 EF_ENERGYCOAT; }"; } -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,"{ specialeffect2 EF_ENERGYCOAT; }"; } +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; } @@ -160,7 +161,7 @@ 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,"{ specialeffect2 EF_ENHANCE; }"; } +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; } @@ -290,10 +291,11 @@ 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,"{ specialeffect2 EF_POTION_BERSERK; }"; } -13035:28704,{ bonus bMaxSP,20; bonus bMaxHPrate,5; bonus bHit,10; bonus2 bAddSize,Size_Large,30; autobonus "{ bonus bAspdRate,100; }",1,7000,BF_WEAPON,"{ specialeffect2 EF_POTION_BERSERK; }"; } +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; } @@ -305,7 +307,8 @@ 15117:20744:22047,{ bonus bMaxHP,25; bonus bMaxSP,25; bonus bSpeedRate,25; if (getequiprefinerycnt(EQI_GARMENT)+getequiprefinerycnt(EQI_SHOES)+getequiprefinerycnt(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 bAgi,5; bonus bFlee,10; } +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; } } diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 514337801..a082d8aff 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -6232,7 +6232,7 @@ item_db: ( Script: <" bonus bFlee2,10; if((JobLevel >= 70 && Class == Job_Rune_Knight_T) || (JobLevel >= 50 && Class == Job_Rune_Knight)) { - autobonus "{ bonus bBaseAtk,50; }",10,10000,BF_WEAPON,"{ specialeffect2 EF_POTION_BERSERK; }"; + autobonus "{ bonus bBaseAtk,50; }",10,10000,BF_WEAPON,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }"; } if(getrefine()>8) { bonus bUseSPrate,-20; @@ -6262,7 +6262,7 @@ item_db: ( View: 3 Script: <" bonus bAtkEle,Ele_Ghost; - autobonus "{ bonus bCritical,100; bonus bBaseAtk,50; }",1,5000,0,"{ specialeffect2 EF_FIRESPLASHHIT; }"; + autobonus "{ bonus bCritical,100; bonus bBaseAtk,50; }",1,5000,0,"{ specialeffect(EF_FIRESPLASHHIT, AREA, playerattached()); }"; bonus bHPGainValue,100; "> }, @@ -6419,7 +6419,7 @@ item_db: ( bonus2 bIgnoreDefRate,RC_DemiPlayer,25; bonus bUnbreakableWeapon,0; if(getrefine()>5) { - bonus2 bAddRace,RC_DemiPlayer,pow(min(getrefine(), 14)-3,2); + bonus2 bAddRace,RC_DemiPlayer,((min(getrefine(), 14)-3) ** (2)); bonus2 bIgnoreDefRate,RC_DemiPlayer,5; } if(getrefine()>8) { @@ -9130,10 +9130,10 @@ item_db: ( bonus2 bIgnoreDefRate,RC_DemiPlayer,20; bonus bUnbreakableWeapon,0; if(getrefine()>5) { - bonus2 bAddRace,RC_DemiPlayer,pow(min(getrefine(),14)-4,2); + bonus2 bAddRace,RC_DemiPlayer,((min(getrefine(),14)-4) ** (2)); bonus2 bIgnoreDefRate,RC_DemiPlayer,5; } - if(getrefine()>8) autobonus "{ bonus bAspdRate,100; }",70,3000,BF_WEAPON,"{ specialeffect2 EF_POTION_BERSERK; }"; + if(getrefine()>8) autobonus "{ bonus bAspdRate,100; }",70,3000,BF_WEAPON,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }"; "> }, { @@ -9165,10 +9165,10 @@ item_db: ( bonus2 bIgnoreDefRate,RC_DemiPlayer,20; bonus bUnbreakableWeapon,0; if(getrefine()>5) { - bonus2 bAddRace,RC_DemiPlayer,pow(min(getrefine(),14)-4,2); + bonus2 bAddRace,RC_DemiPlayer,((min(getrefine(),14)-4) ** (2)); bonus2 bCriticalAddRace,RC_DemiPlayer,5; } - if(getrefine()>8) autobonus "{ bonus bAspdRate,100; }",70,3000,BF_WEAPON,"{ specialeffect2 EF_POTION_BERSERK; }"; + if(getrefine()>8) autobonus "{ bonus bAspdRate,100; }",70,3000,BF_WEAPON,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }"; "> }, { @@ -9847,7 +9847,7 @@ item_db: ( bonus2 bIgnoreDefRate,RC_DemiPlayer,20; bonus bUnbreakableWeapon,0; if(getrefine()>5) { - bonus2 bAddRace,RC_DemiPlayer,pow(min(getrefine(),14)-4,2); + bonus2 bAddRace,RC_DemiPlayer,((min(getrefine(),14)-4) ** (2)); bonus2 bIgnoreDefRate,RC_DemiPlayer,5; bonus bAspdRate,5; } @@ -10958,7 +10958,7 @@ item_db: ( Script: <" bonus bStr,3; bonus2 bAddRace,RC_DemiPlayer,55; - autobonus "{ bonus bBreakArmorRate,10000; }",20,3000,BF_WEAPON,"{ specialeffect2 EF_POTION_BERSERK; }"; + autobonus "{ bonus bBreakArmorRate,10000; }",20,3000,BF_WEAPON,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }"; bonus bUnbreakableWeapon,0; "> }, @@ -11018,7 +11018,7 @@ item_db: ( bonus2 bIgnoreDefRate,RC_DemiPlayer,25; bonus bUnbreakableWeapon,0; if(getrefine()>5) { - bonus2 bAddRace,RC_DemiPlayer,pow(min(getrefine(),14)-3,2); + bonus2 bAddRace,RC_DemiPlayer,((min(getrefine(),14)-3) ** (2)); bonus2 bIgnoreDefRate,RC_DemiPlayer,5; bonus3 bAutoSpell,NPC_CRITICALWOUND,1,50; } @@ -11558,7 +11558,7 @@ item_db: ( EquipLv: 160 View: 4 Script: <" - bonus bAtk,pow(min(getrefine(),15),2); + bonus bAtk,((min(getrefine(),15)) ** (2)); "> }, { @@ -12177,7 +12177,7 @@ item_db: ( bonus2 bIgnoreDefRate,RC_DemiPlayer,20; bonus bUnbreakableWeapon,0; if(getrefine()>5) { - bonus2 bAddRace,RC_DemiPlayer,pow(min(getrefine(),14)-4,2); + bonus2 bAddRace,RC_DemiPlayer,((min(getrefine(),14)-4) ** (2)); bonus2 bIgnoreDefRate,RC_DemiPlayer,5; bonus bAspdRate,10; } @@ -12580,7 +12580,7 @@ item_db: ( EquipLv: 70 View: 4 Script: <" - bonus bAtk,pow(min(getrefine(),15),2); + bonus bAtk,((min(getrefine(),15)) ** (2)); if(BaseLevel>70) { bonus bAtk,(((BaseLevel-70)/10)*5); } "> }, @@ -12606,7 +12606,7 @@ item_db: ( EquipLv: 160 View: 5 Script: <" - bonus bAtk,pow(min(getrefine(),15),2); + bonus bAtk,((min(getrefine(),15)) ** (2)); "> }, { @@ -13434,7 +13434,7 @@ item_db: ( bonus2 bIgnoreDefRate,RC_DemiPlayer,25; bonus bUnbreakableWeapon,0; if(getrefine()>5) { - bonus2 bAddRace,RC_DemiPlayer,pow(min(getrefine(),14)-4,2); + bonus2 bAddRace,RC_DemiPlayer,((min(getrefine(),14)-4) ** (2)); bonus2 bIgnoreDefRate,RC_DemiPlayer,5; } if(getrefine()>8) { @@ -13620,7 +13620,7 @@ item_db: ( bonus2 bSkillAtk,KN_SPEARBOOMERANG,50; } if(getrefine()>=9) { - autobonus2 "{ bonus bShortWeaponDamageReturn,20; bonus bMagicDamageReturn,20; }",100,2000,BF_WEAPON|BF_MAGIC,"{ specialeffect2 EF_REFLECTSHIELD; }"; + autobonus2 "{ bonus bShortWeaponDamageReturn,20; bonus bMagicDamageReturn,20; }",100,2000,BF_WEAPON|BF_MAGIC,"{ specialeffect(EF_REFLECTSHIELD, AREA, playerattached()); }"; } "> }, @@ -13759,7 +13759,7 @@ item_db: ( EquipLv: 70 View: 5 Script: <" - bonus bAtk,pow(min(getrefine(),15),2); + bonus bAtk,((min(getrefine(),15)) ** (2)); if(BaseLevel>70) { bonus bAtk,(((BaseLevel-70)/10)*5); } "> }, @@ -14524,7 +14524,7 @@ item_db: ( bonus bStr,20; bonus bAspdRate,10; bonus3 bAutoSpell,MG_THUNDERSTORM,10,100; - autobonus "{ bonus bSplashRange,1; }",50,10000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }"; + autobonus "{ bonus bSplashRange,1; }",50,10000,BF_WEAPON,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }"; bonus bUnbreakableWeapon,0; "> }, @@ -14832,7 +14832,7 @@ item_db: ( bonus2 bAddRace,RC_Undead,10; bonus2 bAddRace,RC_Demon,10; bonus3 bAutoSpell,AL_CRUCIS,1+getrefine(),100; - autobonus "{ bonus bBaseAtk,50; }",10,20000,BF_WEAPON,"{ specialeffect2 EF_BLOODDRAIN; }"; + autobonus "{ bonus bBaseAtk,50; }",10,20000,BF_WEAPON,"{ specialeffect(EF_BLOODDRAIN, AREA, playerattached()); }"; "> }, { @@ -14914,7 +14914,7 @@ item_db: ( bonus bDex,1; bonus2 bAddRace,RC_DemiPlayer,75; bonus bUnbreakableWeapon,0; - autobonus "{ bonus2 bAddEff,Eff_Stun,5000; }",10,6000,BF_WEAPON,"{ specialeffect2 EF_POTION_BERSERK; }"; + autobonus "{ bonus2 bAddEff,Eff_Stun,5000; }",10,6000,BF_WEAPON,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }"; "> }, { @@ -15011,7 +15011,7 @@ item_db: ( bonus2 bIgnoreDefRate,RC_DemiPlayer,20; bonus bUnbreakableWeapon,0; if(getrefine()>5) { - bonus2 bAddRace,RC_DemiPlayer,pow(min(getrefine(),14)-4,2); + bonus2 bAddRace,RC_DemiPlayer,((min(getrefine(),14)-4) ** (2)); bonus2 bIgnoreDefRate,RC_DemiPlayer,5; bonus bAspdRate,5; } @@ -15770,10 +15770,10 @@ item_db: ( bonus2 bIgnoreDefRate,RC_DemiPlayer,25; bonus bUnbreakableWeapon,0; if(getrefine()>5) { - bonus2 bAddRace,RC_DemiPlayer,pow(min(getrefine(),14)-4,2); + bonus2 bAddRace,RC_DemiPlayer,((min(getrefine(),14)-4) ** (2)); bonus2 bIgnoreDefRate,RC_DemiPlayer,5; } - if(getrefine()>8) autobonus "{ bonus bBaseAtk,200; }",30,3000,BF_WEAPON,"{ specialeffect2 EF_BASH3D; }"; + if(getrefine()>8) autobonus "{ bonus bBaseAtk,200; }",30,3000,BF_WEAPON,"{ specialeffect(EF_BASH3D, AREA, playerattached()); }"; "> }, { @@ -16096,7 +16096,7 @@ item_db: ( Script: <" bonus2 bAddRace,RC_Player,80+getrefine(); bonus2 bIgnoreDefRate,RC_Player,30; - autobonus "{ bonus bBaseAtk,200; }",10,3000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }"; + autobonus "{ bonus bBaseAtk,200; }",10,3000,BF_WEAPON,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }"; "> }, { @@ -16314,7 +16314,7 @@ item_db: ( View: 10 Script: <" bonus bInt,5; - bonus bMatk,pow(min(getrefine(),15),2); + bonus bMatk,((min(getrefine(),15)) ** (2)); bonus bUnbreakableWeapon,0; "> }, @@ -17134,7 +17134,7 @@ item_db: ( Script: <" bonus bInt,3; bonus bHealPower,5; - autobonus "{ bonus2 bSPRegenRate,100,2000; bonus2 bHPRegenRate,50,2000; }",10,10000,BF_MAGIC,"{ specialeffect2 EF_HEAL; }"; + autobonus "{ bonus2 bSPRegenRate,100,2000; bonus2 bHPRegenRate,50,2000; }",10,10000,BF_MAGIC,"{ specialeffect(EF_HEAL, AREA, playerattached()); }"; "> }, { @@ -18462,7 +18462,7 @@ item_db: ( View: 10 Script: <" bonus bInt,5; - bonus bMatk,pow(min(getrefine(),15),2); + bonus bMatk,((min(getrefine(),15)) ** (2)); if(BaseLevel>70) { bonus bMatk,(((BaseLevel-70)/10)*5); } "> }, @@ -19664,7 +19664,7 @@ item_db: ( EquipLv: 70 View: 11 Script: <" - autobonus "{ bonus bAspdRate,7; }",10+(getrefine()*2),7000,BF_WEAPON,"{ specialeffect2 EF_HASTEUP; }"; + autobonus "{ bonus bAspdRate,7; }",10+(getrefine()*2),7000,BF_WEAPON,"{ specialeffect(EF_HASTEUP, AREA, playerattached()); }"; bonus2 bAddSkillBlow,AC_CHARGEARROW,3; "> }, @@ -19838,7 +19838,7 @@ item_db: ( bonus bCritAtkRate,getrefine() * 2; bonus bUnbreakableWeapon,0; if(getrefine()>5) { - bonus2 bAddRace,RC_DemiPlayer,pow(min(getrefine(),14)-4,2); + bonus2 bAddRace,RC_DemiPlayer,((min(getrefine(),14)-4) ** (2)); bonus2 bIgnoreDefRate,RC_DemiPlayer,5; } if(getrefine()>8) bonus2 bSkillAtk,AC_DOUBLE,20; @@ -20580,7 +20580,7 @@ item_db: ( EquipLv: 160 View: 12 Script: <" - bonus bAtk,pow(min(getrefine(),15),2); + bonus bAtk,((min(getrefine(),15)) ** (2)); "> }, { @@ -21103,7 +21103,7 @@ item_db: ( bonus bInt,1; bonus2 bAddRace,RC_DemiPlayer,95; bonus2 bVariableCastrate,MO_EXTREMITYFIST,-25; - autobonus "{ bonus2 bVariableCastrate,MO_EXTREMITYFIST,-100; }",50,6000,BF_WEAPON,"{ specialeffect2 EF_SUFFRAGIUM; }"; + autobonus "{ bonus2 bVariableCastrate,MO_EXTREMITYFIST,-100; }",50,6000,BF_WEAPON,"{ specialeffect(EF_SUFFRAGIUM, AREA, playerattached()); }"; bonus bUnbreakableWeapon,0; "> }, @@ -21161,7 +21161,7 @@ item_db: ( bonus2 bIgnoreDefRate,RC_DemiPlayer,20; bonus bUnbreakableWeapon,0; if(getrefine()>5) { - bonus2 bAddRace,RC_DemiPlayer,pow(min(getrefine(),14)-4,2); + bonus2 bAddRace,RC_DemiPlayer,((min(getrefine(),14)-4) ** (2)); bonus2 bIgnoreDefRate,RC_DemiPlayer,5; } if(getrefine()>8) { @@ -21200,7 +21200,7 @@ item_db: ( bonus2 bIgnoreDefRate,RC_DemiPlayer,20; bonus bUnbreakableWeapon,0; if(getrefine()>5) { - bonus2 bAddRace,RC_DemiPlayer,pow(min(getrefine(),14)-4,2); + bonus2 bAddRace,RC_DemiPlayer,((min(getrefine(),14)-4) ** (2)); bonus2 bIgnoreDefRate,RC_DemiPlayer,5; } if(getrefine()>8) { @@ -21476,7 +21476,7 @@ item_db: ( EquipLv: 70 View: 12 Script: <" - bonus bAtk,pow(min(getrefine(),15),2); + bonus bAtk,((min(getrefine(),15)) ** (2)); if(BaseLevel>70) { bonus bAtk,(((BaseLevel-70)/10)*5); } "> }, @@ -21502,8 +21502,8 @@ item_db: ( EquipLv: 160 View: 13 Script: <" - bonus bAtk,pow(min(getrefine(),15),2); - bonus bMatk,pow(min(getrefine(),15),2)/2; + bonus bAtk,((min(getrefine(),15)) ** (2)); + bonus bMatk,((min(getrefine(),15)) ** (2))/2; "> }, { @@ -22108,7 +22108,7 @@ item_db: ( bonus2 bIgnoreDefRate,RC_DemiPlayer,20; bonus bUnbreakableWeapon,0; if(getrefine()>5) { - bonus2 bAddRace,RC_DemiPlayer,pow(min(getrefine(),14)-4,2); + bonus2 bAddRace,RC_DemiPlayer,((min(getrefine(),14)-4) ** (2)); bonus2 bIgnoreDefRate,RC_DemiPlayer,5; } if(getrefine()>8) bonus4 bAutoSpellOnSkill,CG_ARROWVULCAN,CG_TAROTCARD,5,100; @@ -22436,7 +22436,7 @@ item_db: ( EquipLv: 70 View: 13 Script: <" - bonus bAtk,pow(min(getrefine(),15),2); + bonus bAtk,((min(getrefine(),15)) ** (2)); if(BaseLevel>70) { bonus bAtk,(((BaseLevel-70)/10)*5); } "> }, @@ -23150,7 +23150,7 @@ item_db: ( bonus2 bIgnoreDefRate,RC_DemiPlayer,20; bonus bUnbreakableWeapon,0; if(getrefine()>5) { - bonus2 bAddRace,RC_DemiPlayer,pow(min(getrefine(),14)-4,2); + bonus2 bAddRace,RC_DemiPlayer,((min(getrefine(),14)-4) ** (2)); bonus2 bIgnoreDefRate,RC_DemiPlayer,5; } if(getrefine()>8) bonus4 bAutoSpellOnSkill,CG_ARROWVULCAN,CG_TAROTCARD,5,100; @@ -23482,7 +23482,7 @@ item_db: ( EquipLv: 70 View: 14 Script: <" - bonus bAtk,pow(min(getrefine(),15),2); + bonus bAtk,((min(getrefine(),15)) ** (2)); if(BaseLevel>70) { bonus bAtk,(((BaseLevel-70)/10)*5); } "> }, @@ -23505,8 +23505,8 @@ item_db: ( EquipLv: 160 View: 14 Script: <" - bonus bAtk,pow(min(getrefine(),15),2); - bonus bMatk,pow(min(getrefine(),15),2)/2; + bonus bAtk,((min(getrefine(),15)) ** (2)); + bonus bMatk,((min(getrefine(),15)) ** (2))/2; "> }, @@ -23671,7 +23671,7 @@ item_db: ( Script: <" bonus bInt,3+(getrefine()/2); bonus bMaxHP,300+(50*getrefine()/2); - autobonus "{ bonus bMatkRate,12; bonus bUseSPrate,20; }",1,5000,BF_MAGIC,"{ specialeffect2 EF_ENHANCE; }"; + autobonus "{ bonus bMatkRate,12; bonus bUseSPrate,20; }",1,5000,BF_MAGIC,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }"; "> }, { @@ -23700,7 +23700,7 @@ item_db: ( bonus bMatkRate,getrefine()/2; bonus bInt,6; bonus bVit,2; - autobonus3 "{ }",20,1000,AL_HEAL,"{ specialeffect2 EF_MAGICALATTHIT; heal 0,200; }"; + autobonus3 "{ }",20,1000,AL_HEAL,"{ specialeffect(EF_MAGICALATTHIT, AREA, playerattached()); heal 0,200; }"; "> }, { @@ -24270,7 +24270,7 @@ item_db: ( Script: <" bonus bUnbreakableWeapon,0; bonus bInt,5; - bonus bMatk,pow(min(getrefine(),15),2); + bonus bMatk,((min(getrefine(),15)) ** (2)); if(BaseLevel>70) { bonus bMatk,(((BaseLevel-70)/10)*5); } "> }, @@ -24297,7 +24297,7 @@ item_db: ( View: 23 Script: <" bonus bInt,6; - bonus bMatk,pow(min(getrefine(),15),2); + bonus bMatk,((min(getrefine(),15)) ** (2)); bonus bUnbreakableWeapon,0; "> }, @@ -24884,7 +24884,7 @@ item_db: ( Script: <" bonus bMdef,2; bonus bMagicDamageReturn,2; - autobonus2 "{ bonus bShortWeaponDamageReturn,5; }",20,1000,BF_WEAPON,"{ specialeffect2 EF_REFLECTSHIELD; }"; + autobonus2 "{ bonus bShortWeaponDamageReturn,5; }",20,1000,BF_WEAPON,"{ specialeffect(EF_REFLECTSHIELD, AREA, playerattached()); }"; "> }, { @@ -25083,7 +25083,7 @@ item_db: ( View: 2 Script: <" bonus bMdef,3; - autobonus2 "{ bonus bShortWeaponDamageReturn,(getrefine()*3); }",10,5000,BF_WEAPON,"{ specialeffect2 EF_GUARD; }"; + autobonus2 "{ bonus bShortWeaponDamageReturn,(getrefine()*3); }",10,5000,BF_WEAPON,"{ specialeffect(EF_GUARD, AREA, playerattached()); }"; "> }, { @@ -25809,7 +25809,7 @@ item_db: ( Loc: 32 EquipLv: 100 View: 1 - Script: <" autobonus "{ bonus bBaseAtk,100; bonus bFlee,-50; }",10,5000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }"; "> + Script: <" autobonus "{ bonus bBaseAtk,100; bonus bFlee,-50; }",10,5000,BF_WEAPON,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }"; "> }, { Id: 2173 @@ -29548,7 +29548,7 @@ item_db: ( Script: <" bonus bMaxHP,(BaseLevel*7); bonus bMaxSP,(BaseLevel/2); - autobonus2 "{ bonus bNoMagicDamage,100; }",10,2000,BF_MAGIC,"{ specialeffect2 EF_ENERGYCOAT; }"; + autobonus2 "{ bonus bNoMagicDamage,100; }",10,2000,BF_MAGIC,"{ specialeffect(EF_ENERGYCOAT, AREA, playerattached()); }"; if( BaseClass==Job_Mage||BaseClass==Job_Archer||BaseClass==Job_Acolyte ) bonus bMdef,5; else if( BaseClass==Job_Swordman||BaseClass==Job_Merchant||BaseClass==Job_Thief ) bonus bDef,3; "> @@ -29633,7 +29633,7 @@ item_db: ( Loc: 16 Script: <" bonus bMdef,2; - autobonus "{ bonus bBaseAtk,20; }",10,10000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }"; + autobonus "{ bonus bBaseAtk,20; }",10,10000,BF_WEAPON,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }"; "> }, { @@ -33922,7 +33922,7 @@ item_db: ( Script: <" bonus bAgi,2; bonus bFlee,10; - autobonus2 "{ bonus bFlee,20; }",10,7000,BF_LONG,"{ specialeffect2 EF_WIND; }"; + autobonus2 "{ bonus bFlee,20; }",10,7000,BF_LONG,"{ specialeffect(EF_WIND, AREA, playerattached()); }"; "> }, { @@ -37898,7 +37898,7 @@ item_db: ( Trade: { nodrop: true } - Script: <" autobonus "{ bonus bAspdRate,2; }",10,10000,0,"{ specialeffect2 EF_POTION_BERSERK; }"; "> + Script: <" autobonus "{ bonus bAspdRate,2; }",10,10000,0,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }"; "> }, { Id: 2781 @@ -38972,7 +38972,7 @@ item_db: ( Trade: { nodrop: true } - Script: <" autobonus "{ bonus bMaxHPrate,10; }",10,10000,0,"{ specialeffect2 EF_POTION_BERSERK; }"; "> + Script: <" autobonus "{ bonus bMaxHPrate,10; }",10,10000,0,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }"; "> }, { Id: 2828 @@ -46163,7 +46163,7 @@ item_db: ( Loc: 769 Script: <" bonus bStr,2; - autobonus "{ bonus bCritical,100; }",5,5000,0,"{ specialeffect2 EF_ENHANCE; }"; + autobonus "{ bonus bCritical,100; }",5,5000,0,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }"; "> }, { @@ -46176,7 +46176,7 @@ item_db: ( Loc: 769 Script: <" bonus bInt,2; - autobonus "{ bonus bVariableCastrate,-50; bonus bFlee,30; }",50,5000,BF_MAGIC,"{ specialeffect2 EF_SUFFRAGIUM; }"; + autobonus "{ bonus bVariableCastrate,-50; bonus bFlee,30; }",50,5000,BF_MAGIC,"{ specialeffect(EF_SUFFRAGIUM, AREA, playerattached()); }"; "> }, { @@ -46191,7 +46191,7 @@ item_db: ( bonus2 bSubSize,Size_Small,15; bonus2 bSubSize,Size_Medium,15; bonus2 bSubSize,Size_Large,15; - autobonus2 "{ bonus bFlee2,30; }",3,10000,BF_WEAPON|BF_MAGIC,"{ specialeffect2 EF_WIND; }"; + autobonus2 "{ bonus bFlee2,30; }",3,10000,BF_WEAPON|BF_MAGIC,"{ specialeffect(EF_WIND, AREA, playerattached()); }"; "> }, { @@ -46244,7 +46244,7 @@ item_db: ( Loc: 64 Script: <" bonus bVit,2; - autobonus2 "{ bonus bDef,10; }",3,10000,BF_WEAPON|BF_MAGIC,"{ specialeffect2 EF_FREEZED; }"; + autobonus2 "{ bonus bDef,10; }",3,10000,BF_WEAPON|BF_MAGIC,"{ specialeffect(EF_FREEZED, AREA, playerattached()); }"; "> }, { @@ -46344,7 +46344,7 @@ item_db: ( Loc: 2 Script: <" bonus bBaseAtk,25; - autobonus "{ bonus bAspdRate,100; }",5,10000,0,"{ specialeffect2 EF_POTION_BERSERK; }"; + autobonus "{ bonus bAspdRate,100; }",5,10000,0,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }"; "> }, { @@ -46797,7 +46797,7 @@ item_db: ( Loc: 769 Script: <" bonus bBaseAtk,10; - autobonus "{ bonus bFlee2,10; }",10,10000,0,"{ specialeffect2 EF_ENHANCE; }"; + autobonus "{ bonus bFlee2,10; }",10,10000,0,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }"; "> }, { @@ -46810,7 +46810,7 @@ item_db: ( Loc: 769 Script: <" bonus bMatk,10; - autobonus "{ bonus bFixedCastrate,-50; }",5,4000,BF_MAGIC,"{ specialeffect2 EF_SUFFRAGIUM; }"; + autobonus "{ bonus bFixedCastrate,-50; }",5,4000,BF_MAGIC,"{ specialeffect(EF_SUFFRAGIUM, AREA, playerattached()); }"; "> }, { @@ -46837,7 +46837,7 @@ item_db: ( Script: <" bonus bDex,1; bonus bAgi,1; - autobonus "{ bonus bCritical,20; }",15,4000,0,"{ specialeffect2 EF_ENHANCE; }"; + autobonus "{ bonus bCritical,20; }",15,4000,0,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }"; "> }, { @@ -47786,7 +47786,7 @@ item_db: ( Loc: 2 Script: <" bonus bBaseAtk,((getrefine()>14)?25:15); - autobonus "{ bonus bAspdRate,((getrefine()>14)?75:50); }",5,10000,0,"{ specialeffect2 EF_POTION_BERSERK; }"; + autobonus "{ bonus bAspdRate,((getrefine()>14)?75:50); }",5,10000,0,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }"; "> }, { @@ -48452,7 +48452,7 @@ item_db: ( Weight: 10 Loc: 64 Script: <" - autobonus "{ sc_start SC_MOVHASTE_HORSE, 3000, 25; bonus bAgi, 44; heal 0, -40; }", 3, 3000, 0, "{ specialeffect2 EF_WIND; }"; + autobonus "{ sc_start SC_MOVHASTE_HORSE, 3000, 25; bonus bAgi, 44; heal 0, -40; }", 3, 3000, 0, "{ specialeffect(EF_WIND, AREA, playerattached()); }"; "> }, { @@ -51556,7 +51556,7 @@ item_db: ( Name: "Strength of Bear" Type: 6 Loc: 1023 - Script: <" autobonus2 "{ bonus bStr, 200; bonus2 bHPLossRate, 500, 1000; montransform BIGFOOT, 5000; }", 20, 5000, BF_WEAPON, "{ specialeffect2 EF_POTION_BERSERK; showscript \"?!!!!\"; }"; "> + Script: <" autobonus2 "{ bonus bStr, 200; bonus2 bHPLossRate, 500, 1000; montransform BIGFOOT, 5000; }", 20, 5000, BF_WEAPON, "{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); showscript \"?!!!!\"; }"; "> OnUnequipScript: <" heal 0, -300; "> }, { @@ -51565,7 +51565,7 @@ item_db: ( Name: "Runaway Magic" Type: 6 Loc: 1023 - Script: <" autobonus "{ bonus bInt, 200; bonus2 bSPLossRate, 200, 1000; }", 15, 10000, BF_MAGIC, "{ specialeffect2 EF_POTION_BERSERK; showscript \"YOooooooo!!!!!\"; }"; "> + Script: <" autobonus "{ bonus bInt, 200; bonus2 bSPLossRate, 200, 1000; }", 15, 10000, BF_MAGIC, "{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); showscript \"YOooooooo!!!!!\"; }"; "> OnUnequipScript: <" heal 0, -2000; "> }, { @@ -51574,7 +51574,7 @@ item_db: ( Name: "Speed Of Light" Type: 6 Loc: 1023 - Script: <" autobonus "{ bonus bAspdRate, 100; bonus bFlee2, 100; bonus2 bHPLossRate, 400, 1000; bonus2 bSPLossRate, 40, 1000; }", 10, 5000, BF_WEAPON, "{ specialeffect2 EF_FLASHER; }"; "> + Script: <" autobonus "{ bonus bAspdRate, 100; bonus bFlee2, 100; bonus2 bHPLossRate, 400, 1000; bonus2 bSPLossRate, 40, 1000; }", 10, 5000, BF_WEAPON, "{ specialeffect(EF_FLASHER, AREA, playerattached()); }"; "> OnUnequipScript: <" heal 0, -300; "> }, { @@ -51583,7 +51583,7 @@ item_db: ( Name: "Muscle Fool" Type: 6 Loc: 1023 - Script: <" autobonus2 "{ bonus bDef, 1000; bonus bMatkRate, -50; bonus bAtkRate, -50; }", 20, 5000, BF_WEAPON, "{ specialeffect2 EF_MAGNUMBREAK; }"; "> + Script: <" autobonus2 "{ bonus bDef, 1000; bonus bMatkRate, -50; bonus bAtkRate, -50; }", 20, 5000, BF_WEAPON, "{ specialeffect(EF_MAGNUMBREAK, AREA, playerattached()); }"; "> OnUnequipScript: <" heal 0, -300; "> }, { @@ -51592,7 +51592,7 @@ item_db: ( Name: "Hawkeye" Type: 6 Loc: 1023 - Script: <" autobonus "{ bonus bDex, 200; bonus2 bSPLossRate, 50, 1000; }", 30, 5000, BF_WEAPON, "{ specialeffect2 EF_FLASHER; }"; "> + Script: <" autobonus "{ bonus bDex, 200; bonus2 bSPLossRate, 50, 1000; }", 30, 5000, BF_WEAPON, "{ specialeffect(EF_FLASHER, AREA, playerattached()); }"; "> OnUnequipScript: <" heal 0, -300; "> }, { @@ -51602,8 +51602,8 @@ item_db: ( Type: 6 Loc: 1023 Script: <" - autobonus "{ bonus2 bAddMonsterDropItem, Treasure_Box, 10; bonus bLuk, 200; }", 15, 5000, BF_WEAPON | BF_MAGIC, "{ specialeffect2 EF_MVP; }"; - autobonus2 "{ bonus2 bAddMonsterDropItem, Treasure_Box, 1; bonus bLuk, 200; }", 1, 5000, BF_WEAPON | BF_MAGIC, "{ specialeffect2 EF_MVP; }"; + autobonus "{ bonus2 bAddMonsterDropItem, Treasure_Box, 10; bonus bLuk, 200; }", 15, 5000, BF_WEAPON | BF_MAGIC, "{ specialeffect(EF_MVP, AREA, playerattached()); }"; + autobonus2 "{ bonus2 bAddMonsterDropItem, Treasure_Box, 1; bonus bLuk, 200; }", 1, 5000, BF_WEAPON | BF_MAGIC, "{ specialeffect(EF_MVP, AREA, playerattached()); }"; "> OnUnequipScript: <" heal 0, -300; "> }, @@ -58617,7 +58617,7 @@ item_db: ( View: 356 Script: <" bonus2 bAddRaceTolerance,RC_DemiPlayer,5; - autobonus "{ bonus bBaseAtk,50; }",20,10000,0,"{ specialeffect2 EF_POTION_BERSERK; }"; + autobonus "{ bonus bBaseAtk,50; }",20,10000,0,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }"; "> }, { @@ -58652,7 +58652,7 @@ item_db: ( View: 358 Script: <" bonus2 bAddRaceTolerance,RC_DemiPlayer,5; - autobonus "{ bonus bAspdRate,5; }",20,30000,0,"{ specialeffect2 EF_HASTEUP; }"; + autobonus "{ bonus bAspdRate,5; }",20,30000,0,"{ specialeffect(EF_HASTEUP, AREA, playerattached()); }"; "> }, { @@ -60608,8 +60608,8 @@ item_db: ( Script: <" bonus bStr,1; bonus bInt,1; - autobonus "{ bonus bCritical,100; }",10,3000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }"; - autobonus "{ bonus bIgnoreMdefRate,100; }",10,3000,BF_MAGIC,"{ specialeffect2 EF_MAGICALATTHIT; }"; + autobonus "{ bonus bCritical,100; }",10,3000,BF_WEAPON,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }"; + autobonus "{ bonus bIgnoreMdefRate,100; }",10,3000,BF_MAGIC,"{ specialeffect(EF_MAGICALATTHIT, AREA, playerattached()); }"; "> }, { @@ -62970,7 +62970,7 @@ item_db: ( if(getrefine()>6) { bonus bFlee,10; bonus bAspdRate,3; - autobonus "{ bonus bSplashRange,1; }",10,10000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }"; + autobonus "{ bonus bSplashRange,1; }",10,10000,BF_WEAPON,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }"; } "> }, @@ -63166,7 +63166,7 @@ item_db: ( bonus bAspdRate,1; if(getrefine()>6) { bonus2 bSubEle,Ele_Earth,5; - autobonus "{ bonus bDex,20; }",10,6000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }"; + autobonus "{ bonus bDex,20; }",10,6000,BF_WEAPON,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }"; } "> }, @@ -64081,7 +64081,7 @@ item_db: ( bonus bInt,2; bonus bAgi,2; bonus bDex,-2; - autobonus "{ bonus bVariableCastrate,-50; bonus bFlee,30; }",50,5000,BF_MAGIC,"{ specialeffect2 EF_SUFFRAGIUM; }"; + autobonus "{ bonus bVariableCastrate,-50; bonus bFlee,30; }",50,5000,BF_MAGIC,"{ specialeffect(EF_SUFFRAGIUM, AREA, playerattached()); }"; "> }, { @@ -64265,7 +64265,7 @@ item_db: ( Script: <" bonus2 bAddRaceTolerance,RC_Demon,10; bonus2 bAddRaceTolerance,RC_Undead,10; - if(getrefine()>=7) autobonus "{ bonus bCritical,30; bonus bHit,10; }",10,10000,0,"{ specialeffect2 EF_ENHANCE; }"; + if(getrefine()>=7) autobonus "{ bonus bCritical,30; bonus bHit,10; }",10,10000,0,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }"; "> }, { @@ -65333,7 +65333,7 @@ item_db: ( if(getrefine()>6) bonus bAspdRate,2; if(getrefine()>7) bonus bAgi,2; if(getrefine()>8) bonus bLongAtkRate,5; - if(getrefine()>9) autobonus2 "{ bonus bDex,10; bonus bAgi,10; }",3,10000,BF_WEAPON,"{ specialeffect2 EF_WIND; }"; + if(getrefine()>9) autobonus2 "{ bonus bDex,10; bonus bAgi,10; }",3,10000,BF_WEAPON,"{ specialeffect(EF_WIND, AREA, playerattached()); }"; "> }, { @@ -66079,7 +66079,7 @@ item_db: ( Slots: 1 Loc: 256 View: 349 - Script: <" autobonus "{ sc_start SC_PROPERTYWIND,180000,1; }",3,180000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }"; "> + Script: <" autobonus "{ sc_start SC_PROPERTYWIND,180000,1; }",3,180000,BF_WEAPON,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }"; "> }, { Id: 5771 @@ -84700,7 +84700,7 @@ item_db: ( showscript "Yeeyuck...!! This is rotten!!"; sc_start SC_POISON, 50000, 0; } else { - specialeffect2 EF_HIT4; + specialeffect(EF_HIT4, AREA, playerattached()); showscript "Arrrrrgggg...!! Bu, Bu, Bugggggg!!!!!"; getitem Rice_weevil_Bug, 1; } @@ -84715,27 +84715,27 @@ item_db: ( Script: <" .@temp = rand(1,6); if (.@temp == 1) { - specialeffect2 EF_POISONHIT; + specialeffect(EF_POISONHIT, AREA, playerattached()); showscript "Errrgg!!! This is so.. bitter....!!"; heal 0,-50; } else if (.@temp == 2) { - specialeffect2 EF_HEAL; + specialeffect(EF_HEAL, AREA, playerattached()); showscript "....Well at least this is good for my health though."; percentheal 15,0; } else if (.@temp == 3) { - specialeffect2 EF_POISONHIT; + specialeffect(EF_POISONHIT, AREA, playerattached()); showscript "Phewphew!! Arg.... Is this poisoned or what?!"; heal 0,-100; } else if (.@temp == 4) { - specialeffect2 EF_POISONHIT; + specialeffect(EF_POISONHIT, AREA, playerattached()); showscript "Whasdfhwkljhrtklwert....!!"; heal 0,-200; } else if (.@temp == 5) { - specialeffect2 EF_HEAL; + specialeffect(EF_HEAL, AREA, playerattached()); showscript "It's ok, no one sew me yet.."; percentheal 10,0; } else { - specialeffect2 EF_HEAL; + specialeffect(EF_HEAL, AREA, playerattached()); showscript "I really need something to eat... ?? Sorry, little buggy."; percentheal 5,0; } @@ -84949,7 +84949,7 @@ item_db: ( Weight: 30 Script: <" itemheal rand(45,65), 0; - specialeffect2 EF_CLOAKING; + specialeffect(EF_CLOAKING, AREA, playerattached()); showscript "Trans-Form-!! Bloody Murderer Fo-rm!!"; montransform BLOODY_MURDERER, 600000, SC_MTF_MHP, 1000; "> @@ -84962,7 +84962,7 @@ item_db: ( Weight: 30 Script: <" itemheal rand(45,65), 0; - specialeffect2 EF_CLOAKING; + specialeffect(EF_CLOAKING, AREA, playerattached()); showscript "Trans-Form-!!! Bathory Fo-rm!!"; montransform BATHORY, 600000, SC_MTF_MSP, 100; "> @@ -84975,7 +84975,7 @@ item_db: ( Weight: 30 Script: <" itemheal rand(45,65),0; - specialeffect2 EF_CLOAKING; + specialeffect(EF_CLOAKING, AREA, playerattached()); showscript "Trans-Form-!! Jack Fo-rm!!"; montransform JAKK, 600000, SC_MTF_PUMPKIN, 2000; "> @@ -84988,7 +84988,7 @@ item_db: ( Weight: 30 Script: <" itemheal rand(45,65),0; - specialeffect2 EF_CLOAKING; + specialeffect(EF_CLOAKING, AREA, playerattached()); showscript "Trans-Form-!! Cube Fo-rm!!"; montransform QUVE, 600000, SC_MTF_HITFLEE, 10, 20; "> @@ -85126,7 +85126,7 @@ item_db: ( Type: 0 Weight: 10 Script: <" - specialeffect2 EF_SPELLBREAKER; + specialeffect(EF_SPELLBREAKER, AREA, playerattached()); sc_start SC_TARGET_ASPD, 180000, 10; "> }, @@ -85137,7 +85137,7 @@ item_db: ( Type: 0 Weight: 10 Script: <" - specialeffect2 EF_LIGHTSPHERE; + specialeffect(EF_LIGHTSPHERE, AREA, playerattached()); sc_start SC_HEALPLUS, 180000, 20; "> }, @@ -85148,7 +85148,7 @@ item_db: ( Type: 0 Weight: 140 Script: <" - specialeffect2 EF_HEAL3; + specialeffect(EF_HEAL3, AREA, playerattached()); sc_start2 SC_ATKER_MOVESPEED, 180000, 5, 10; "> }, @@ -85159,7 +85159,7 @@ item_db: ( Type: 0 Weight: 60 Script: <" - specialeffect2 EF_HEAL3; + specialeffect(EF_HEAL3, AREA, playerattached()); sc_start2 SC_M_LIFEPOTION, 180000, -4, 4; "> }, @@ -88808,7 +88808,7 @@ item_db: ( Type: 2 Weight: 10 Script: <" - specialeffect2 EF_BENEDICTIO; + specialeffect(EF_BENEDICTIO, AREA, playerattached()); sc_start SC_BENEDICTIO,300000,1; "> }, @@ -89081,7 +89081,7 @@ item_db: ( nogstorage: true } Script: <" - specialeffect2 EF_SPELLBREAKER; + specialeffect(EF_SPELLBREAKER, AREA, playerattached()); sc_start SC_ATKER_BLOOD, 3600000, 15; "> }, @@ -89102,7 +89102,7 @@ item_db: ( nogstorage: true } Script: <" - specialeffect2 EF_GUARD; + specialeffect(EF_GUARD, AREA, playerattached()); sc_start SC_TARGET_BLOOD, 3600000, 10; "> }, @@ -89711,7 +89711,7 @@ item_db: ( Weight: 50 BuyingStore: true Script: <" - specialeffect2 EF_POTION_BERSERK; + specialeffect(EF_POTION_BERSERK, AREA, playerattached()); sc_start SC_MANU_ATK,600000,10; "> }, @@ -89723,7 +89723,7 @@ item_db: ( Weight: 50 BuyingStore: true Script: <" - specialeffect2 EF_GUARD; + specialeffect(EF_GUARD, AREA, playerattached()); sc_start SC_MANU_DEF,600000,10; "> }, @@ -89735,7 +89735,7 @@ item_db: ( Weight: 50 BuyingStore: true Script: <" - specialeffect2 EF_POTION_BERSERK; + specialeffect(EF_POTION_BERSERK, AREA, playerattached()); sc_start SC_SPL_ATK,600000,10; "> }, @@ -89747,7 +89747,7 @@ item_db: ( Weight: 50 BuyingStore: true Script: <" - specialeffect2 EF_GUARD; + specialeffect(EF_GUARD, AREA, playerattached()); sc_start SC_SPL_DEF,600000,10; "> }, @@ -89779,7 +89779,7 @@ item_db: ( Weight: 50 BuyingStore: true Script: <" - specialeffect2 EF_POTION_BERSERK; + specialeffect(EF_POTION_BERSERK, AREA, playerattached()); sc_start SC_MANU_MATK,600000,10; "> }, @@ -89791,7 +89791,7 @@ item_db: ( Weight: 50 BuyingStore: true Script: <" - specialeffect2 EF_POTION_BERSERK; + specialeffect(EF_POTION_BERSERK, AREA, playerattached()); sc_start SC_SPL_MATK,600000,10; "> }, @@ -89849,7 +89849,7 @@ item_db: ( Weight: 50 BuyingStore: true Script: <" - specialeffect2 EF_ANGELUS; + specialeffect(EF_ANGELUS, AREA, playerattached()); sc_start4 SC_BUCHEDENOEL, 600000, 3, 3, 3, 7; "> }, @@ -90128,7 +90128,7 @@ item_db: ( Type: 2 Weight: 80 Script: <" - specialeffect2 EF_STEAL; + specialeffect(EF_STEAL, AREA, playerattached()); sc_start2 SC_ACARAJE,120000,5,10; "> }, @@ -90471,9 +90471,9 @@ item_db: ( else if (.@temp == 5) percentheal 50,50; else if (.@temp == 6) getitem Apple,1; else if (.@temp == 7) itemskill ALL_REVERSEORCISH,1; - else if (.@temp == 8) specialeffect2 EF_MAPPILLAR2; - else if (.@temp == 9) specialeffect2 EF_ANGEL2; - else specialeffect2 EF_COIN; + else if (.@temp == 8) specialeffect(EF_MAPPILLAR2, AREA, playerattached()); + else if (.@temp == 9) specialeffect(EF_ANGEL2, AREA, playerattached()); + else specialeffect(EF_COIN, AREA, playerattached()); "> }, { @@ -90495,9 +90495,9 @@ item_db: ( else if (.@temp == 5) percentheal 50,50; else if (.@temp == 6) getitem Jellopy,1; else if (.@temp == 7) itemskill AL_RUWACH,1; - else if (.@temp == 8) specialeffect2 EF_BEGINASURA; - else if (.@temp == 9) specialeffect2 EF_MVP; - else specialeffect2 EF_CURSEATTACK; + else if (.@temp == 8) specialeffect(EF_BEGINASURA, AREA, playerattached()); + else if (.@temp == 9) specialeffect(EF_MVP, AREA, playerattached()); + else specialeffect(EF_CURSEATTACK, AREA, playerattached()); "> }, { @@ -90630,7 +90630,7 @@ item_db: ( nogstorage: true } Script: <" - specialeffect2 EF_ENERGYCOAT; + specialeffect(EF_ENERGYCOAT, AREA, playerattached()); sc_start4 SC_ARMOR_PROPERTY, 10000, 1, Ele_Neutral, 1, 0; "> }, @@ -92508,7 +92508,7 @@ item_db: ( BuyingStore: true Script: <" itemheal 0, rand(50,65); - specialeffect2 EF_GUARD; + specialeffect(EF_GUARD, AREA, playerattached()); sc_start SC_MORA_BUFF, 120000, 50; "> }, @@ -92567,7 +92567,7 @@ item_db: ( nogstorage: true } Script: <" - specialeffect2 EF_HEAL; + specialeffect(EF_HEAL, AREA, playerattached()); sc_start2 SC_G_LIFEPOTION, 600000, -6, 3; "> }, @@ -92785,7 +92785,7 @@ item_db: ( nogstorage: true } Script: <" - specialeffect2 EF_HASTEUP; + specialeffect(EF_HASTEUP, AREA, playerattached()); sc_start2 SC_MAGIC_CANDY, 60000, 30, 70; "> }, @@ -93499,7 +93499,7 @@ item_db: ( nogstorage: true } Script: <" - specialeffect2 EF_CLOAKING; + specialeffect(EF_CLOAKING, AREA, playerattached()); showscript "Trans-Form-!! Deviling Fo-rm!!"; montransform DEVIRUCHI, 1200000, SC_MTF_ASPD, 10, 5; "> @@ -93521,7 +93521,7 @@ item_db: ( nogstorage: true } Script: <" - specialeffect2 EF_CLOAKING; + specialeffect(EF_CLOAKING, AREA, playerattached()); showscript "Trans-Form-!! Raydric Archer Fo-rm!!"; montransform RAYDRIC_ARCHER, 1200000, SC_MTF_RANGEATK, 25; "> @@ -93543,7 +93543,7 @@ item_db: ( nogstorage: true } Script: <" - specialeffect2 EF_CLOAKING; + specialeffect(EF_CLOAKING, AREA, playerattached()); showscript "Trans-Form-!! Mavka Fo-rm!!"; montransform MAVKA, 1200000, SC_MTF_RANGEATK, 25; "> @@ -93565,7 +93565,7 @@ item_db: ( nogstorage: true } Script: <" - specialeffect2 EF_CLOAKING; + specialeffect(EF_CLOAKING, AREA, playerattached()); showscript "Trans-Form-!! Marduk Fo-rm!!"; montransform MARDUK, 1200000, SC_MTF_MATK, 25; "> @@ -93587,7 +93587,7 @@ item_db: ( nogstorage: true } Script: <" - specialeffect2 EF_CLOAKING; + specialeffect(EF_CLOAKING, AREA, playerattached()); showscript "Trans-Form-!! Banshee Fo-rm!!"; montransform BANSHEE, 1200000, SC_MTF_MATK, 25; "> @@ -93609,7 +93609,7 @@ item_db: ( nogstorage: true } Script: <" - specialeffect2 EF_CLOAKING; + specialeffect(EF_CLOAKING, AREA, playerattached()); showscript "Trans-Form-!! Poring Fo-rm!!"; montransform PORING, 1200000, SC_MTF_CRIDAMAGE, 5; "> @@ -93631,7 +93631,7 @@ item_db: ( nogstorage: true } Script: <" - specialeffect2 EF_CLOAKING; + specialeffect(EF_CLOAKING, AREA, playerattached()); showscript "Trans-Form-!! Golem Fo-rm!!"; montransform GOLEM, 1200000, SC_MTF_MLEATKED, 2; "> @@ -94168,7 +94168,7 @@ item_db: ( Upper: 56 BuyingStore: true Script: <" - specialeffect2 EF_ENCHANTPOISON; + specialeffect(EF_ENCHANTPOISON, AREA, playerattached()); sc_start SC_PARALYSE, 300000, 0, 10, SCFLAG_FIXEDTICK; "> }, @@ -94185,7 +94185,7 @@ item_db: ( Upper: 56 BuyingStore: true Script: <" - specialeffect2 EF_ENCHANTPOISON; + specialeffect(EF_ENCHANTPOISON, AREA, playerattached()); sc_start SC_LEECHESEND, 300000, 0, 10, SCFLAG_FIXEDTICK; "> }, @@ -94202,7 +94202,7 @@ item_db: ( Upper: 56 BuyingStore: true Script: <" - specialeffect2 EF_ENCHANTPOISON; + specialeffect(EF_ENCHANTPOISON, AREA, playerattached()); sc_start SC_OBLIVIONCURSE, 300000, 0, 10, SCFLAG_FIXEDTICK; "> }, @@ -94219,7 +94219,7 @@ item_db: ( Upper: 56 BuyingStore: true Script: <" - specialeffect2 EF_ENCHANTPOISON; + specialeffect(EF_ENCHANTPOISON, AREA, playerattached()); sc_start SC_DEATHHURT, 300000, 0, 10, SCFLAG_FIXEDTICK; "> }, @@ -94236,7 +94236,7 @@ item_db: ( Upper: 56 BuyingStore: true Script: <" - specialeffect2 EF_ENCHANTPOISON; + specialeffect(EF_ENCHANTPOISON, AREA, playerattached()); sc_start SC_TOXIN, 300000, 0, 10, SCFLAG_FIXEDTICK; "> }, @@ -94253,7 +94253,7 @@ item_db: ( Upper: 56 BuyingStore: true Script: <" - specialeffect2 EF_ENCHANTPOISON; + specialeffect(EF_ENCHANTPOISON, AREA, playerattached()); sc_start SC_PYREXIA, 300000, 0, 10, SCFLAG_FIXEDTICK; "> }, @@ -94270,7 +94270,7 @@ item_db: ( Upper: 56 BuyingStore: true Script: <" - specialeffect2 EF_ENCHANTPOISON; + specialeffect(EF_ENCHANTPOISON, AREA, playerattached()); sc_start SC_MAGICMUSHROOM, 300000, 0, 10, SCFLAG_FIXEDTICK; "> }, @@ -94287,7 +94287,7 @@ item_db: ( Upper: 56 BuyingStore: true Script: <" - specialeffect2 EF_ENCHANTPOISON; + specialeffect(EF_ENCHANTPOISON, AREA, playerattached()); sc_start SC_VENOMBLEED, 15000, 0, 10, SCFLAG_FIXEDTICK; "> }, @@ -94610,7 +94610,7 @@ item_db: ( nogstorage: true } Script: <" - specialeffect2 EF_POTION_BERSERK; + specialeffect(EF_POTION_BERSERK, AREA, playerattached()); sc_start SC_STR_SCROLL, 60000, 20; "> }, @@ -94631,7 +94631,7 @@ item_db: ( nogstorage: true } Script: <" - specialeffect2 EF_SPELLBREAKER; + specialeffect(EF_SPELLBREAKER, AREA, playerattached()); sc_start SC_INT_SCROLL, 60000, 20; "> }, @@ -94763,7 +94763,7 @@ item_db: ( Buy: 2 Weight: 10 Script: <" - specialeffect2 EF_POK_JAP; + specialeffect(EF_POK_JAP, AREA, playerattached()); itemskill MO_CALLSPIRITS,3; itemskill MO_FINGEROFFENSIVE,5; "> @@ -94925,7 +94925,7 @@ item_db: ( Buy: 20 Weight: 600 Script: <" - specialeffect2 EF_PROVIDENCE; + specialeffect(EF_PROVIDENCE, AREA, playerattached()); sc_start SC_PHI_DEMON, 1200000, 10; "> }, @@ -95073,7 +95073,7 @@ item_db: ( Buy: 20 Weight: 150 Script: <" - specialeffect2 EF_POTION_BERSERK; + specialeffect(EF_POTION_BERSERK, AREA, playerattached()); sc_start2 SC_GM_BATTLE, 600000, 5, 3; "> }, @@ -95085,7 +95085,7 @@ item_db: ( Buy: 20 Weight: 150 Script: <" - specialeffect2 EF_POTION_BERSERK; + specialeffect(EF_POTION_BERSERK, AREA, playerattached()); sc_start2 SC_GM_BATTLE2, 600000, 10, 5; "> }, @@ -95195,7 +95195,7 @@ item_db: ( nogstorage: true } Script: <" - specialeffect2 EF_WIND; + specialeffect(EF_WIND, AREA, playerattached()); sc_start2 SC_MYSTICPOWDER, 300000, 20, 10; "> }, @@ -95510,7 +95510,7 @@ item_db: ( Buy: 20 Weight: 100 Script: <" - specialeffect2 EF_POTION_CON; + specialeffect(EF_POTION_CON, AREA, playerattached()); autobonus "{ heal -3000,0; bonus2 bAddRace,RC_Player,100; bonus2 bMagicAddRace,RC_Player,100; }",10,0,0,SI_GVG_GIANT; "> }, @@ -95522,7 +95522,7 @@ item_db: ( Buy: 20 Weight: 10 Script: <" - specialeffect2 EF_POTION_CON; + specialeffect(EF_POTION_CON, AREA, playerattached()); autobonus "{ heal 0,-300; bonus2 bSubRace,RC_Player,15; }",10,0,0,SI_GVG_GOLEM; "> }, @@ -95599,7 +95599,7 @@ item_db: ( } Script: <" sc_start SC_ATTHASTE_POTION1,1800000,4; - specialeffect2 EF_POTION_CON; /* NOTE: No special effect when used. */ + specialeffect(EF_POTION_CON, AREA, playerattached()); /* NOTE: No special effect when used. */ "> }, { @@ -95649,7 +95649,7 @@ item_db: ( } Script: <" sc_start SC_ATTHASTE_POTION2,1800000,6; - specialeffect2 EF_POTION_; /* NOTE: No special effect when used. */ + specialeffect(EF_POTION_, AREA, playerattached()); /* NOTE: No special effect when used. */ "> }, { @@ -95685,7 +95685,7 @@ item_db: ( } Script: <" sc_start SC_ATTHASTE_POTION3,1800000,9; - specialeffect2 EF_POTION_BERSERK; /* NOTE: No special effect when used. */ + specialeffect(EF_POTION_BERSERK, AREA, playerattached()); /* NOTE: No special effect when used. */ "> }, { @@ -98713,7 +98713,7 @@ item_db: ( bonus bAgi,1; bonus2 bAddRace,RC_DemiPlayer,75; bonus bUnbreakableWeapon,0; - autobonus "{ bonus bDefRatioAtkRace, RC_All; }",10,6000,BF_WEAPON,"{ specialeffect2 EF_HASTEUP; }"; + autobonus "{ bonus bDefRatioAtkRace, RC_All; }",10,6000,BF_WEAPON,"{ specialeffect(EF_HASTEUP, AREA, playerattached()); }"; if(BaseClass==Job_Ninja||BaseClass==Job_Rogue) bonus bMatk,90; "> }, @@ -98898,7 +98898,7 @@ item_db: ( bonus3 bAutoSpell,PR_LEXDIVINA,1,20; bonus bUnbreakableWeapon,0; if(getrefine()>5) { - bonus2 bAddRace,RC_DemiPlayer,pow(min(getrefine(),14)-4,2); + bonus2 bAddRace,RC_DemiPlayer,((min(getrefine(),14)-4) ** (2)); bonus2 bIgnoreDefRate,RC_DemiPlayer,5; } if(getrefine()>8) bonus4 bAutoSpellOnSkill,RG_RAID,NPC_WIDEBLEEDING,1,250; @@ -99063,7 +99063,7 @@ item_db: ( View: 1 Script: <" bonus3 bAddEffOnSkill,RG_RAID,Eff_Poison,1000; - autobonus "{ bonus2 bAddRace, RC_All, 10; }",5,5000,BF_WEAPON|BF_SHORT,"{ specialeffect2 EF_POTION_BERSERK; }"; + autobonus "{ bonus2 bAddRace, RC_All, 10; }",5,5000,BF_WEAPON|BF_SHORT,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }"; "> }, { @@ -99157,7 +99157,7 @@ item_db: ( } if(getrefine()>=6) { bonus2 bAddSize,Size_Medium,8; - autobonus "{ bonus bNoSizeFix,0; }",10,5000,0,"{ specialeffect2 EF_ENHANCE; }"; + autobonus "{ bonus bNoSizeFix,0; }",10,5000,0,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }"; } if(getrefine()>=9) bonus2 bAddSize,Size_Medium,20; if(getrefine()>=12) bonus bNoSizeFix,0; @@ -99756,8 +99756,8 @@ item_db: ( Script: <" bonus bAgi,3; bonus bUnbreakableWeapon,0; - autobonus "{ bonus bBaseAtk,30; }",10,7000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }"; - autobonus "{ bonus bMatk,20; }",10,7000,BF_MAGIC,"{ specialeffect2 EF_SUFFRAGIUM; }"; + autobonus "{ bonus bBaseAtk,30; }",10,7000,BF_WEAPON,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }"; + autobonus "{ bonus bMatk,20; }",10,7000,BF_MAGIC,"{ specialeffect(EF_SUFFRAGIUM, AREA, playerattached()); }"; if(BaseLevel>99) { bonus bBaseAtk,10; bonus bMatk,10; @@ -100491,7 +100491,7 @@ item_db: ( bonus bHit,-10; bonus2 bAddRace,RC_DemiPlayer,55; bonus2 bIgnoreDefRate,RC_DemiPlayer,20; - autobonus "{ bonus bAspdRate,100; }",10,3000,BF_WEAPON,"{ specialeffect2 EF_POTION_BERSERK; }"; + autobonus "{ bonus bAspdRate,100; }",10,3000,BF_WEAPON,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }"; bonus bUnbreakableWeapon,0; "> }, @@ -100558,7 +100558,7 @@ item_db: ( bonus2 bIgnoreDefRate,RC_DemiPlayer,20; bonus bUnbreakableWeapon,0; if(getrefine()>5) { - bonus2 bAddRace,RC_DemiPlayer,pow(min(getrefine(),14)-4,2); + bonus2 bAddRace,RC_DemiPlayer,((min(getrefine(),14)-4) ** (2)); bonus2 bIgnoreDefRate,RC_DemiPlayer,5; } if(getrefine()>8) { @@ -100833,7 +100833,7 @@ item_db: ( EquipLv: 70 View: 17 Script: <" - bonus bAtk,pow(min(getrefine(),15),2); + bonus bAtk,((min(getrefine(),15)) ** (2)); if(BaseLevel>70) { bonus bAtk,(((BaseLevel-70)/10)*5); } "> }, @@ -100854,7 +100854,7 @@ item_db: ( WeaponLv: 4 EquipLv: 160 View: 17 - Script: <" bonus bAtk,pow(min(getrefine(),15),2); "> + Script: <" bonus bAtk,((min(getrefine(),15)) ** (2)); "> }, //== Guns ================================================== @@ -101381,7 +101381,7 @@ item_db: ( bonus bDex,2; bonus2 bAddRace,RC_DemiPlayer,35; bonus2 bIgnoreDefRate,RC_DemiPlayer,20; - autobonus "{ bonus bBaseAtk,80; bonus2 bHPLossRate,120,1000; }",10,6000,BF_WEAPON,"{ specialeffect2 EF_BASH3D; }"; + autobonus "{ bonus bBaseAtk,80; bonus2 bHPLossRate,120,1000; }",10,6000,BF_WEAPON,"{ specialeffect(EF_BASH3D, AREA, playerattached()); }"; bonus bUnbreakableWeapon,0; "> }, @@ -101415,7 +101415,7 @@ item_db: ( bonus bSplashRange,1; bonus2 bAddRace,RC_DemiPlayer,55; bonus2 bIgnoreDefRate,RC_DemiPlayer,20; - autobonus "{ bonus bBaseAtk,80; bonus2 bHPLossRate,100,1000; }",30,6000,BF_WEAPON,"{ specialeffect2 EF_BASH3D; }"; + autobonus "{ bonus bBaseAtk,80; bonus2 bHPLossRate,100,1000; }",30,6000,BF_WEAPON,"{ specialeffect(EF_BASH3D, AREA, playerattached()); }"; bonus bUnbreakableWeapon,0; "> }, @@ -101449,7 +101449,7 @@ item_db: ( bonus bSplashRange,1; bonus2 bAddRace,RC_DemiPlayer,55; bonus2 bIgnoreDefRate,RC_DemiPlayer,20; - autobonus "{ bonus bBaseAtk,300; bonus2 bHPLossRate,120,1000; }",30,9000,BF_WEAPON,"{ specialeffect2 EF_BASH3D; }"; + autobonus "{ bonus bBaseAtk,300; bonus2 bHPLossRate,120,1000; }",30,9000,BF_WEAPON,"{ specialeffect(EF_BASH3D, AREA, playerattached()); }"; bonus bUnbreakableWeapon,0; "> }, @@ -101516,7 +101516,7 @@ item_db: ( bonus2 bSkillAtk,GS_TRIPLEACTION,30; bonus bUnbreakableWeapon,0; if(getrefine()>5) { - bonus2 bAddRace,RC_DemiPlayer,pow(min(getrefine(),14)-4,2); + bonus2 bAddRace,RC_DemiPlayer,((min(getrefine(),14)-4) ** (2)); bonus2 bIgnoreDefRate,RC_DemiPlayer,5; } if(getrefine()>8) { @@ -101556,7 +101556,7 @@ item_db: ( bonus2 bSkillAtk,GS_TRIPLEACTION,30; bonus bUnbreakableWeapon,0; if(getrefine()>5) { - bonus2 bAddRace,RC_DemiPlayer,pow(min(getrefine(),10)-4,2); + bonus2 bAddRace,RC_DemiPlayer,((min(getrefine(),10)-4) ** (2)); bonus2 bIgnoreDefRate,RC_DemiPlayer,5; } if (getrefine() > 8) { @@ -101596,7 +101596,7 @@ item_db: ( bonus2 bSkillAtk,GS_TRIPLEACTION,30; bonus bUnbreakableWeapon,0; if(getrefine()>5) { - bonus2 bAddRace,RC_DemiPlayer,pow(min(getrefine(),10)-4,2); + bonus2 bAddRace,RC_DemiPlayer,((min(getrefine(),10)-4) ** (2)); bonus2 bIgnoreDefRate,RC_DemiPlayer,5; } if(getrefine()>8) { @@ -101636,13 +101636,13 @@ item_db: ( bonus2 bSkillAtk,GS_TRIPLEACTION,30; bonus bUnbreakableWeapon,0; if(getrefine()>5) { - bonus2 bAddRace,RC_DemiPlayer,pow(min(getrefine(),10)-4,2); + bonus2 bAddRace,RC_DemiPlayer,((min(getrefine(),10)-4) ** (2)); bonus2 bIgnoreDefRate,RC_DemiPlayer,5; } if(getrefine()>8) { bonus2 bSkillAtk,GS_GROUNDDRIFT,getrefine() * 2; bonus3 bAddEffOnSkill,GS_SPREADATTACK,Eff_Stun,2000; - autobonus "{ bonus bAspdRate,20; }",200,20000,BF_WEAPON,"{ specialeffect2 EF_POTION_BERSERK; }"; + autobonus "{ bonus bAspdRate,20; }",200,20000,BF_WEAPON,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }"; } "> }, @@ -103444,7 +103444,7 @@ item_db: ( bonus bStr,2; bonus bDex,1; bonus2 bAddRace,RC_DemiPlayer,95; - autobonus "{ bonus2 bSkillAtk,NJ_HUUMA,100; bonus2 bSkillAtk,NJ_ISSEN,100; }",50,10000,BF_WEAPON,"{specialeffect2 EF_POTION_BERSERK; }"; + autobonus "{ bonus2 bSkillAtk,NJ_HUUMA,100; bonus2 bSkillAtk,NJ_ISSEN,100; }",50,10000,BF_WEAPON,"{specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }"; bonus bUnbreakableWeapon,0; "> }, @@ -103482,7 +103482,7 @@ item_db: ( autobonus "{ bonus2 bSkillAtk,NJ_HUUMA,100; bonus2 bSkillAtk,NJ_ISSEN,100; }",50,10000; bonus bUnbreakableWeapon,0; if(getrefine()>5) { - bonus2 bAddRace,RC_DemiPlayer,pow(min(getrefine(),14)-3,2); + bonus2 bAddRace,RC_DemiPlayer,((min(getrefine(),14)-3) ** (2)); bonus2 bIgnoreDefRate,RC_DemiPlayer,5; } if(getrefine()>8) { @@ -103780,8 +103780,8 @@ item_db: ( View: 22 Script: <" bonus bUnbreakableWeapon,0; - bonus bAtk,pow(min(getrefine(),15),2); - bonus bMatk,pow(min(getrefine(),15),2)/2; + bonus bAtk,((min(getrefine(),15)) ** (2)); + bonus bMatk,((min(getrefine(),15)) ** (2))/2; if(BaseLevel>70) { bonus bAtk,(((BaseLevel-70)/10)*5); } "> }, @@ -103805,8 +103805,8 @@ item_db: ( EquipLv: 160 View: 22 Script: <" - bonus bAtk,pow(min(getrefine(),15),2); - bonus bMatk,pow(min(getrefine(),15),2)/2; + bonus bAtk,((min(getrefine(),15)) ** (2)); + bonus bMatk,((min(getrefine(),15)) ** (2))/2; bonus bUnbreakableWeapon,0; "> }, @@ -104421,7 +104421,7 @@ item_db: ( bonus2 bIgnoreDefRate,RC_DemiPlayer,20; bonus bUnbreakableWeapon,0; if(getrefine()>5) { - bonus2 bAddRace,RC_DemiPlayer,pow(min(getrefine(),14)-4,2); + bonus2 bAddRace,RC_DemiPlayer,((min(getrefine(),14)-4) ** (2)); bonus2 bIgnoreDefRate,RC_DemiPlayer,5; } if(getrefine()>6) { @@ -104600,7 +104600,7 @@ item_db: ( WeaponLv: 3 EquipLv: 50 View: 2 - Script: <" autobonus "{ bonus2 bSkillAtk,KN_BOWLINGBASH,20; bonus2 bSkillAtk,SM_BASH,20; }",5,15000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }"; "> + Script: <" autobonus "{ bonus2 bSkillAtk,KN_BOWLINGBASH,20; bonus2 bSkillAtk,SM_BASH,20; }",5,15000,BF_WEAPON,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }"; "> }, { Id: 13422 @@ -105160,7 +105160,7 @@ item_db: ( EquipLv: 70 View: 2 Script: <" - bonus bAtk,pow(min(getrefine(),15),2); + bonus bAtk,((min(getrefine(),15)) ** (2)); if(BaseLevel>70) { bonus bAtk,(((BaseLevel-70)/10)*5); } "> }, @@ -105190,7 +105190,7 @@ item_db: ( WeaponLv: 4 EquipLv: 160 View: 2 - Script: <" bonus bAtk,pow(min(getrefine(),15),2); "> + Script: <" bonus bAtk,((min(getrefine(),15)) ** (2)); "> }, //== More Cash Shop Items ================================== @@ -121317,7 +121317,7 @@ item_db: ( nogstorage: true } Script: <" - specialeffect2 EF_HEAL3; + specialeffect(EF_HEAL3, AREA, playerattached()); sc_start2 SC_S_LIFEPOTION, 600000, -5, 5; "> }, @@ -121337,7 +121337,7 @@ item_db: ( nogstorage: true } Script: <" - specialeffect2 EF_HEAL3; + specialeffect(EF_HEAL3, AREA, playerattached()); sc_start2 SC_L_LIFEPOTION, 600000, -7, 4; "> }, @@ -121357,7 +121357,7 @@ item_db: ( nogstorage: true } Script: <" - specialeffect2 EF_MAGICALATTHIT; + specialeffect(EF_MAGICALATTHIT, AREA, playerattached()); sc_start SC_CRITICALPERCENT, 300000, 30; "> }, @@ -121377,7 +121377,7 @@ item_db: ( nogstorage: true } Script: <" - specialeffect2 EF_LIGHTSPHERE; + specialeffect(EF_LIGHTSPHERE, AREA, playerattached()); sc_start SC_HEALPLUS, 1800000, 20; "> }, @@ -121398,7 +121398,7 @@ item_db: ( nogstorage: true } Script: <" - specialeffect2 EF_STEAL; + specialeffect(EF_STEAL, AREA, playerattached()); sc_start SC_PLUSAVOIDVALUE, 60000, 20; "> }, @@ -121418,7 +121418,7 @@ item_db: ( nogstorage: true } Script: <" - specialeffect2 EF_CLOAKING; + specialeffect(EF_CLOAKING, AREA, playerattached()); sc_start4 SC_ARMOR_PROPERTY, 1800000, 1, Ele_Dark, 1, 0; "> }, @@ -121438,7 +121438,7 @@ item_db: ( nogstorage: true } Script: <" - specialeffect2 EF_BENEDICTIO; + specialeffect(EF_BENEDICTIO, AREA, playerattached()); sc_start4 SC_ARMOR_PROPERTY, 1800000, 1, Ele_Holy, 1, 0; "> }, @@ -121458,7 +121458,7 @@ item_db: ( nogstorage: true } Script: <" - specialeffect2 EF_GUARD; + specialeffect(EF_GUARD, AREA, playerattached()); sc_start SC_PROTECT_DEF, 60000, 3; "> }, @@ -121478,7 +121478,7 @@ item_db: ( nogstorage: true } Script: <" - specialeffect2 EF_GUARD; + specialeffect(EF_GUARD, AREA, playerattached()); sc_start SC_PROTECT_DEF, 180000, 3; "> }, @@ -121498,7 +121498,7 @@ item_db: ( nogstorage: true } Script: <" - specialeffect2 EF_SPELLBREAKER; + specialeffect(EF_SPELLBREAKER, AREA, playerattached()); sc_start SC_PROTECT_MDEF, 60000, 3; "> }, @@ -121518,7 +121518,7 @@ item_db: ( nogstorage: true } Script: <" - specialeffect2 EF_SPELLBREAKER; + specialeffect(EF_SPELLBREAKER, AREA, playerattached()); sc_start SC_PROTECT_MDEF, 180000, 3; "> }, @@ -122328,7 +122328,7 @@ item_db: ( nogstorage: true } Script: <" - specialeffect2 EF_HASTEUP; + specialeffect(EF_HASTEUP, AREA, playerattached()); sc_start2 SC_STEAMPACK, 60000, 20, 25; "> }, @@ -122551,7 +122551,7 @@ item_db: ( nogstorage: true } Script: <" - specialeffect2 EF_LIGHTSPHERE; + specialeffect(EF_LIGHTSPHERE, AREA, playerattached()); sc_start4 SC_ARMOR_PROPERTY, 60000, 1, Ele_Neutral, 1, 0; "> }, @@ -122590,7 +122590,7 @@ item_db: ( nogstorage: true } Script: <" - specialeffect2 EF_SPELLBREAKER; + specialeffect(EF_SPELLBREAKER, AREA, playerattached()); sc_start SC_TARGET_ASPD, 1800000, 10; "> }, @@ -122632,7 +122632,7 @@ item_db: ( nogstorage: true } Script: <" - specialeffect2 EF_LIGHTSPHERE; + specialeffect(EF_LIGHTSPHERE, AREA, playerattached()); sc_start4 SC_MVPCARD_TAOGUNKA, 1800000, 100, 50, 50, 0; "> }, @@ -122652,7 +122652,7 @@ item_db: ( nogstorage: true } Script: <" - specialeffect2 EF_SPELLBREAKER; + specialeffect(EF_SPELLBREAKER, AREA, playerattached()); sc_start SC_MVPCARD_MISTRESS, 180000, 25; "> }, @@ -122689,7 +122689,7 @@ item_db: ( nogstorage: true } Script: <" - specialeffect2 EF_LIGHTSPHERE; + specialeffect(EF_LIGHTSPHERE, AREA, playerattached()); sc_start SC_MVPCARD_ORCLORD, 180000, 30; "> }, @@ -122770,7 +122770,7 @@ item_db: ( noauction: true } Script: <" - specialeffect2 EF_GUARD; + specialeffect(EF_GUARD, AREA, playerattached()); sc_start SC_PROTECT_DEF, 120000, 3; "> }, @@ -122790,7 +122790,7 @@ item_db: ( noauction: true } Script: <" - specialeffect2 EF_SPELLBREAKER; + specialeffect(EF_SPELLBREAKER, AREA, playerattached()); sc_start SC_PROTECT_MDEF, 120000, 3; "> }, @@ -122827,7 +122827,7 @@ item_db: ( noauction: true } Script: <" - specialeffect2 EF_GUARD; + specialeffect(EF_GUARD, AREA, playerattached()); sc_start SC_PROTECT_DEF, 1800000, 3; sc_start SC_PROTECT_MDEF, 1800000, 3; "> @@ -122969,7 +122969,7 @@ item_db: ( Weight: 10 Script: <" sc_start SC_FOOD_VIT, 180000, 15; - specialeffect2 EF_GUARD; + specialeffect(EF_GUARD, AREA, playerattached()); sc_start SC_PROTECT_DEF, 60000, 3; sc_start SC_PROTECT_MDEF, 60000, 3; "> @@ -125098,8 +125098,8 @@ item_db: ( Script: <" bonus bStr,1; bonus bInt,1; - autobonus "{ bonus2 bMagicAddRace,RC_Demon,20; }",30,7000,BF_MAGIC,"{ specialeffect2 EF_SPELLBREAKER; }"; - autobonus "{ bonus2 bAddRace,RC_Demon,20; }",5,7000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }"; + autobonus "{ bonus2 bMagicAddRace,RC_Demon,20; }",30,7000,BF_MAGIC,"{ specialeffect(EF_SPELLBREAKER, AREA, playerattached()); }"; + autobonus "{ bonus2 bAddRace,RC_Demon,20; }",5,7000,BF_WEAPON,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }"; "> }, { @@ -125252,8 +125252,8 @@ item_db: ( Script: <" bonus bStr,2; bonus bInt,2; - autobonus "{ bonus2 bMagicAddRace,RC_Demon,40; }",60,7000,BF_MAGIC,"{ specialeffect2 EF_SPELLBREAKER; }"; - autobonus "{ bonus2 bAddRace,RC_Demon,40; }",10,7000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }"; + autobonus "{ bonus2 bMagicAddRace,RC_Demon,40; }",60,7000,BF_MAGIC,"{ specialeffect(EF_SPELLBREAKER, AREA, playerattached()); }"; + autobonus "{ bonus2 bAddRace,RC_Demon,40; }",10,7000,BF_WEAPON,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }"; "> }, { @@ -125681,7 +125681,7 @@ item_db: ( View: 8 Script: <" bonus bUnbreakableWeapon,0; - bonus bAtk,pow(min(getrefine(),15),2); + bonus bAtk,((min(getrefine(),15)) ** (2)); if(BaseLevel>70) { bonus bAtk,(((BaseLevel-70)/10)*5); } "> }, @@ -125712,7 +125712,7 @@ item_db: ( EquipLv: 160 View: 8 Script: <" - bonus bAtk,pow(min(getrefine(),15),2); + bonus bAtk,((min(getrefine(),15)) ** (2)); bonus bUnbreakableWeapon,0; "> }, @@ -130363,7 +130363,7 @@ item_db: ( Script: <" bonus bUnbreakableWeapon,0; bonus bAgi,3; - autobonus "{ bonus bAspd,2; }",10,7000,BF_WEAPON,"{ specialeffect2 EF_HASTEUP; }"; + autobonus "{ bonus bAspd,2; }",10,7000,BF_WEAPON,"{ specialeffect(EF_HASTEUP, AREA, playerattached()); }"; if(BaseLevel>99) { bonus bLongAtkRate,10; } @@ -130705,7 +130705,7 @@ item_db: ( WeaponLv: 4 EquipLv: 160 View: 11 - Script: <" bonus bAtk,pow(min(getrefine(),15),2); "> + Script: <" bonus bAtk,((min(getrefine(),15)) ** (2)); "> }, { Id: 18122 @@ -130855,7 +130855,7 @@ item_db: ( EquipLv: 7 View: 11 Script: <" - bonus bAtk,pow(min(getrefine(),15),2); + bonus bAtk,((min(getrefine(),15)) ** (2)); if(BaseLevel>70) { bonus bAtk,(((BaseLevel-70)/10)*5); } "> }, @@ -131149,8 +131149,8 @@ item_db: ( noauction: true } Script: <" - autobonus "{ bonus bBaseAtk,10; }",50,5000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }"; - autobonus "{ bonus bMatk,10; }",50,5000,BF_MAGIC,"{ specialeffect2 EF_MAGICALATTHIT; }"; + autobonus "{ bonus bBaseAtk,10; }",50,5000,BF_WEAPON,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }"; + autobonus "{ bonus bMatk,10; }",50,5000,BF_MAGIC,"{ specialeffect(EF_MAGICALATTHIT, AREA, playerattached()); }"; "> }, { @@ -132441,7 +132441,7 @@ item_db: ( Loc: 256 EquipLv: 50 View: 757 - Script: <" autobonus "{ bonus bBaseAtk,100; }",5,10000,0,"{ specialeffect2 EF_POTION_BERSERK; }"; "> + Script: <" autobonus "{ bonus bBaseAtk,100; }",5,10000,0,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }"; "> }, { Id: 18596 @@ -133023,7 +133023,7 @@ item_db: ( bonus2 bAddRace, RC_DemiPlayer, 10; bonus2 bAddRace, RC_Demon, 10; if(getrefine() > 6) { - autobonus "{ bonus bAspdRate, 100; }", 10, 7000, 0, "{ specialeffect2 EF_POTION_BERSERK; }"; + autobonus "{ bonus bAspdRate, 100; }", 10, 7000, 0, "{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }"; } "> }, @@ -136591,7 +136591,7 @@ item_db: ( Script: <" bonus bUnbreakableHelm, 0; bonus bMaxSPrate, 3; - autobonus2 "{ bonus2 bAddRaceTolerance, RC_DemiPlayer, 100; }", 10, 3000, BF_WEAPON|BF_MAGIC, "{ specialeffect2 EF_POTION_BERSERK; }"; + autobonus2 "{ bonus2 bAddRaceTolerance, RC_DemiPlayer, 100; }", 10, 3000, BF_WEAPON|BF_MAGIC, "{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }"; "> }, { @@ -137094,7 +137094,7 @@ item_db: ( Weight: 200 Def: 6 Slots: 1 - Loc: 512 + Loc: 256 EquipLv: 50 Refine: false View: 997 @@ -145626,7 +145626,7 @@ item_db: ( bonus2 bIgnoreDefRate,RC_DemiPlayer,30; if(getrefine()>=6) { bonus2 bAddRace,RC_DemiPlayer,40; } if(getrefine()>=9) { - autobonus2 "{ bonus bShortWeaponDamageReturn,20; bonus bMagicDamageReturn,20; }",200,1000,BF_WEAPON,"{ specialeffect2 EF_REFLECTSHIELD; }"; + autobonus2 "{ bonus bShortWeaponDamageReturn,20; bonus bMagicDamageReturn,20; }",200,1000,BF_WEAPON,"{ specialeffect(EF_REFLECTSHIELD, AREA, playerattached()); }"; } "> }, @@ -145978,8 +145978,8 @@ item_db: ( EquipLv: 70 View: 3 Script: <" - bonus bAtk,pow(min(getrefine(),15),2); - bonus bMatk,pow(min(getrefine(),15),2)/2; + bonus bAtk,((min(getrefine(),15)) ** (2)); + bonus bMatk,((min(getrefine(),15)) ** (2))/2; if(BaseLevel>70) { bonus bAtk,(((BaseLevel-70)/10)*5); } "> }, @@ -146002,7 +146002,7 @@ item_db: ( WeaponLv: 4 EquipLv: 160 View: 3 - Script: <" bonus bAtk,pow(min(getrefine(),15),2); "> + Script: <" bonus bAtk,((min(getrefine(),15)) ** (2)); "> }, { Id: 21018 @@ -146914,13 +146914,13 @@ item_db: ( Script: <" .@temp = rand(1,3); if (.@temp == 1) { - specialeffect2 EF_DEVIL; + specialeffect(EF_DEVIL, AREA, playerattached()); warp "niflheim",193,186; } else if (.@temp == 2) { - specialeffect2 EF_DEVIL; + specialeffect(EF_DEVIL, AREA, playerattached()); warp "niflheim",106,254; } else { - specialeffect2 EF_DEVIL; + specialeffect(EF_DEVIL, AREA, playerattached()); warp "niflheim",347,255; } "> @@ -150177,7 +150177,7 @@ item_db: ( EquipLv: 70 View: 16 Script: <" - bonus bAtk,pow(min(getrefine(),15),2); + bonus bAtk,((min(getrefine(),15)) ** (2)); if(BaseLevel>70) { bonus bAtk,5*((BaseLevel-70)/10); } "> }, @@ -150199,7 +150199,7 @@ item_db: ( EquipLv: 160 View: 16 Script: <" - bonus bAtk,pow(min(getrefine(),15),2); + bonus bAtk,((min(getrefine(),15)) ** (2)); "> }, { @@ -150346,7 +150346,7 @@ item_db: ( View: 7 Script: <" bonus bUnbreakableWeapon,0; - bonus bAtk,pow(min(getrefine(),15),2); + bonus bAtk,((min(getrefine(),15)) ** (2)); if(BaseLevel>70) { bonus bAtk,(((BaseLevel-70)/10)*5); } "> }, @@ -150373,7 +150373,7 @@ item_db: ( EquipLv: 160 View: 7 Script: <" - bonus bAtk,pow(min(getrefine(),15),2); + bonus bAtk,((min(getrefine(),15)) ** (2)); bonus bUnbreakableWeapon,0; "> }, @@ -150479,7 +150479,7 @@ item_db: ( bonus bSplashRange,1; bonus2 bAddRace,RC_DemiPlayer,30; bonus2 bIgnoreDefRate,RC_DemiPlayer,10; - autobonus "{ bonus bBaseAtk,80; bonus2 bHPLossRate,100,1000; }",30,6000,BF_WEAPON,"{ specialeffect2 EF_BASH3D; }"; + autobonus "{ bonus bBaseAtk,80; bonus2 bHPLossRate,100,1000; }",30,6000,BF_WEAPON,"{ specialeffect(EF_BASH3D, AREA, playerattached()); }"; bonus bUnbreakableWeapon,0; "> }, @@ -151053,8 +151053,8 @@ item_db: ( View: 15 Script: <" bonus bUnbreakableWeapon,0; - bonus bAtk,pow(min(getrefine(),15),2); - bonus bMatk,pow(min(getrefine(),15),2)/2; + bonus bAtk,((min(getrefine(),15)) ** (2)); + bonus bMatk,((min(getrefine(),15)) ** (2))/2; if(BaseLevel>70) { bonus bAtk,(((BaseLevel-70)/10)*5); } "> }, @@ -151078,8 +151078,8 @@ item_db: ( EquipLv: 160 View: 15 Script: <" - bonus bAtk,pow(min(getrefine(),15),2); - bonus bMatk,pow(min(getrefine(),15),2); + bonus bAtk,((min(getrefine(),15)) ** (2)); + bonus bMatk,((min(getrefine(),15)) ** (2)); bonus bUnbreakableWeapon,0; "> }, @@ -151185,8 +151185,8 @@ item_db: ( EquipLv: 70 View: 1 Script: <" - bonus bAtk,pow(min(getrefine(),15),2); - bonus bMatk,pow(min(getrefine(),15),2)/2; + bonus bAtk,((min(getrefine(),15)) ** (2)); + bonus bMatk,((min(getrefine(),15)) ** (2))/2; if(BaseLevel>70) { bonus bAtk,(((BaseLevel-70)/10)*5); } "> }, @@ -151227,8 +151227,8 @@ item_db: ( EquipLv: 160 View: 1 Script: <" - bonus bAtk,pow(min(getrefine(),15),2); - bonus bMatk,pow(min(getrefine(),15),2)/2; + bonus bAtk,((min(getrefine(),15)) ** (2)); + bonus bMatk,((min(getrefine(),15)) ** (2))/2; "> }, @@ -151265,7 +151265,7 @@ item_db: ( bonus bAtkRate,5; bonus bMatkRate,5; bonus bShortWeaponDamageReturn,10; - autobonus "{ bonus bMagicDamageReturn,60; }",100,2000,BF_MAGIC,"{ specialeffect2 EF_NONE; }"; + autobonus "{ bonus bMagicDamageReturn,60; }",100,2000,BF_MAGIC,"{ specialeffect(EF_NONE, AREA, playerattached()); }"; if(getrefine()>6) { bonus bAtk,5; bonus bMatk,5; @@ -151293,7 +151293,7 @@ item_db: ( bonus bAtkRate,5; bonus bMatkRate,5; bonus bShortWeaponDamageReturn,10; - autobonus "{ bonus bMagicDamageReturn,60; }",100,2000,BF_MAGIC,"{ specialeffect2 EF_NONE; }"; + autobonus "{ bonus bMagicDamageReturn,60; }",100,2000,BF_MAGIC,"{ specialeffect(EF_NONE, AREA, playerattached()); }"; if(getrefine()>6) { bonus bAtk,5; bonus bMatk,5; diff --git a/db/re/refine_db.conf b/db/re/refine_db.conf index 927e2d6bf..4974e0033 100644 --- a/db/re/refine_db.conf +++ b/db/re/refine_db.conf @@ -30,22 +30,24 @@ /************************************************************************** ************* Entry structure ******************************************** ************************************************************************** -Armors/WeaponLevel1~4: { // Specifies weapon level or armor type - - For armors, values of 100 add 1 armor defense. - - For weapons, values of 100 add 1 ATK&MATK. - StatsPerLevel: value (int) // This value is applied for ever level. - RandomBonusStartLevel: level (int) // This value specifies the start point for those levels that give a random bonus value (usually the first unsafe upgrade). - RandomBonusValue: value (int) // A random number between 0 and (Random bonus start level - Upgrade level + 1) * this value is applied for all upgrades past. - // Random bonus start level. This is only applied for weapons, and not displayed client-side. - Rates: { // Per level configuration of the refine rates. - Lv1~10: { // Level of refine - Chance: value (int, optional, defaults to 100) // Chance of successful refine (100 = 100%) - Bonus: value (int, optional, defaults to 0) // Bonus for this level of refine - } - // Note: Refine levels that use default values need not be listed. (Example: Lv1: Chance: 100 Bonus: 0) +Armors/WeaponLevel1~4: { // Specifies weapon level or armor type. + // - For armors, values of 100 add 1 armor defense. + // - For weapons, values of 100 add 1 ATK & MATK. + StatsPerLevel: (int) // This value is applied for ever level. + RandomBonusStartLevel: (int) // This value specifies the start point for those levels that give a random bonus value (usually the first unsafe upgrade). + // - RandomBonusStartLevel is only applied for weapons, and not displayed client-side. + RandomBonusValue: (int) // A random number between 0 and (Random bonus start level - Upgrade level + 1) * this value is applied for all upgrades past. + Rates: { // Per level configuration of the refine rates. + Lv1~20: { // Lv1 ~ Lv20. + NormalChance: (int) // (optional, defaults to 100) Chance of successful refine using normal ores (100 = 100%). + EnrichedChance: (int) // (optional, defaults to 100 for weapons below refine level 20, otherwise 0.) Chance of successful refine using enriched ores (100 = 100%). + EventNormalChance: (int) // (optional, defaults to 100) Chance of successful refine using normal ores (100 = 100%) during a refine event. + EventEnrichedChance: (int) // (optional, defaults to 100 for weapons below refine level 10, otherwise 0.) Chance of successful refine using enriched ores (100 = 100%) during a refine event. + Bonus: (int) // (optional, defaults to 0) Bonus (Armor) for this level of refine. + } + // Note: Refine levels that use default values need not be listed. (Example: Lv1: { NormalChance: 100 Bonus: 0 }) } } -// A note about renewal Armors, there may or may not be another bonus, according to iRO wiki: Every upgrade gives floor[( 3 + current upgrade ) / 4] **************************************************************************/ Armors: { @@ -66,67 +68,105 @@ Armors: { Bonus: 100 } Lv5: { - Chance: 60 + NormalChance: 60 + EnrichedChance: 90 + EventNormalChance: 60 + EventEnrichedChance: 95 Bonus: 200 } Lv6: { - Chance: 40 + NormalChance: 40 + EnrichedChance: 70 + EventNormalChance: 40 + EventEnrichedChance: 80 Bonus: 200 } Lv7: { - Chance: 40 + NormalChance: 40 + EnrichedChance: 70 + EventNormalChance: 40 + EventEnrichedChance: 80 Bonus: 200 } Lv8: { - Chance: 20 + NormalChance: 20 + EnrichedChance: 40 + EventNormalChance: 20 + EventEnrichedChance: 60 Bonus: 200 } Lv9: { - Chance: 20 + NormalChance: 20 + EnrichedChance: 40 + EventNormalChance: 20 + EventEnrichedChance: 50 Bonus: 300 } Lv10: { - Chance: 10 + NormalChance: 9 + EnrichedChance: 20 + EventNormalChance: 9 + EventEnrichedChance: 35 Bonus: 300 } Lv11: { - Chance: 8 + NormalChance: 8 + EventNormalChance: 20 + EventEnrichedChance: 20 Bonus: 300 } Lv12: { - Chance: 8 + NormalChance: 8 + EventNormalChance: 20 + EventEnrichedChance: 20 Bonus: 300 } Lv13: { - Chance: 8 + NormalChance: 8 + EventNormalChance: 16 + EventEnrichedChance: 16 Bonus: 400 } Lv14: { - Chance: 8 + NormalChance: 8 + EventNormalChance: 16 + EventEnrichedChance: 16 Bonus: 400 } Lv15: { - Chance: 7 + NormalChance: 7 + EventNormalChance: 15 + EventEnrichedChance: 15 Bonus: 400 } Lv16: { - Chance: 7 + NormalChance: 7 + EventNormalChance: 15 + EventEnrichedChance: 15 Bonus: 400 } Lv17: { - Chance: 7 + NormalChance: 7 + EventNormalChance: 14 + EventEnrichedChance: 14 Bonus: 500 } Lv18: { - Chance: 7 + NormalChance: 7 + EventNormalChance: 14 + EventEnrichedChance: 14 Bonus: 500 } Lv19: { - Chance: 5 + NormalChance: 5 + EventNormalChance: 10 + EventEnrichedChance: 10 Bonus: 500 } Lv20: { - Chance: 5 + NormalChance: 5 + EventNormalChance: 10 + EventEnrichedChance: 10 Bonus: 500 } } @@ -137,47 +177,76 @@ WeaponLevel1: { RandomBonusValue: 300 Rates: { Lv8: { - Chance: 60 + NormalChance: 60 + EnrichedChance: 90 + EventNormalChance: 60 + EventEnrichedChance: 95 } Lv9: { - Chance: 40 + NormalChance: 40 + EnrichedChance: 70 + EventNormalChance: 40 + EventEnrichedChance: 85 } Lv10: { - Chance: 20 + NormalChance: 19 + EnrichedChance: 30 + EventNormalChance: 19 + EventEnrichedChance: 55 } Lv11: { - Chance: 18 + NormalChance: 18 + EventNormalChance: 40 + EventEnrichedChance: 40 } Lv12: { - Chance: 18 + NormalChance: 18 + EventNormalChance: 40 + EventEnrichedChance: 40 } Lv13: { - Chance: 18 + NormalChance: 18 + EventNormalChance: 35 + EventEnrichedChance: 35 } Lv14: { - Chance: 18 + NormalChance: 18 + EventNormalChance: 35 + EventEnrichedChance: 35 } Lv15: { - Chance: 18 + NormalChance: 18 + EventNormalChance: 30 + EventEnrichedChance: 30 } Lv16: { - Chance: 17 + NormalChance: 17 + EventNormalChance: 30 + EventEnrichedChance: 30 Bonus: 300 } Lv17: { - Chance: 17 + NormalChance: 17 + EventNormalChance: 20 + EventEnrichedChance: 20 Bonus: 300 } Lv18: { - Chance: 17 + NormalChance: 17 + EventNormalChance: 20 + EventEnrichedChance: 20 Bonus: 300 } Lv19: { - Chance: 15 + NormalChance: 15 + EventNormalChance: 15 + EventEnrichedChance: 15 Bonus: 300 } Lv20: { - Chance: 15 + NormalChance: 15 + EventNormalChance: 15 + EventEnrichedChance: 15 Bonus: 300 } } @@ -188,50 +257,82 @@ WeaponLevel2: { RandomBonusValue: 500 Rates: { Lv7: { - Chance: 60 + NormalChance: 60 + EnrichedChance: 90 + EventNormalChance: 60 + EventEnrichedChance: 95 } Lv8: { - Chance: 40 + NormalChance: 40 + EnrichedChance: 70 + EventNormalChance: 40 + EventEnrichedChance: 85 } Lv9: { - Chance: 20 + NormalChance: 20 + EnrichedChance: 40 + EventNormalChance: 20 + EventEnrichedChance: 60 } Lv10: { - Chance: 20 + NormalChance: 19 + EnrichedChance: 30 + EventNormalChance: 19 + EventEnrichedChance: 45 } Lv11: { - Chance: 18 + NormalChance: 18 + EventNormalChance: 40 + EventEnrichedChance: 40 } Lv12: { - Chance: 18 + NormalChance: 18 + EventNormalChance: 40 + EventEnrichedChance: 40 } Lv13: { - Chance: 18 + NormalChance: 18 + EventNormalChance: 35 + EventEnrichedChance: 35 } Lv14: { - Chance: 18 + NormalChance: 18 + EventNormalChance: 35 + EventEnrichedChance: 35 } Lv15: { - Chance:18 + NormalChance:18 + EventNormalChance: 30 + EventEnrichedChance: 30 } Lv16: { - Chance: 17 + NormalChance: 17 + EventNormalChance: 30 + EventEnrichedChance: 30 Bonus: 600 } Lv17: { - Chance: 17 + NormalChance: 17 + EventNormalChance: 20 + EventEnrichedChance: 20 Bonus: 600 } Lv18: { - Chance: 17 + NormalChance: 17 + EventNormalChance: 20 + EventEnrichedChance: 20 Bonus: 600 } Lv19: { - Chance: 15 + NormalChance: 15 + EventNormalChance: 15 + EventEnrichedChance: 15 Bonus: 600 } Lv20: { - Chance: 15 + NormalChance: 15 + EventNormalChance: 15 + EventEnrichedChance: 15 Bonus: 600 } } @@ -242,53 +343,88 @@ WeaponLevel3: { RandomBonusValue: 800 Rates: { Lv6: { - Chance: 60 + NormalChance: 60 + EnrichedChance: 90 + EventNormalChance: 60 + EventEnrichedChance: 95 } Lv7: { - Chance: 50 + NormalChance: 50 + EnrichedChance: 80 + EventNormalChance: 50 + EventEnrichedChance: 90 } Lv8: { - Chance: 20 + NormalChance: 20 + EnrichedChance: 40 + EventNormalChance: 20 + EventEnrichedChance: 70 } Lv9: { - Chance: 20 + NormalChance: 20 + EnrichedChance: 40 + EventNormalChance: 20 + EventEnrichedChance: 60 } Lv10: { - Chance: 20 + NormalChance: 19 + EnrichedChance: 30 + EventNormalChance: 19 + EventEnrichedChance: 45 } Lv11: { - Chance: 18 + NormalChance: 18 + EventNormalChance: 40 + EventEnrichedChance: 40 } Lv12: { - Chance: 18 + NormalChance: 18 + EventNormalChance: 40 + EventEnrichedChance: 40 } Lv13: { - Chance: 18 + NormalChance: 18 + EventNormalChance: 35 + EventEnrichedChance: 35 } Lv14: { - Chance: 18 + NormalChance: 18 + EventNormalChance: 35 + EventEnrichedChance: 35 } Lv15: { - Chance: 18 + NormalChance: 18 + EventNormalChance: 30 + EventEnrichedChance: 30 } Lv16: { - Chance: 17 + NormalChance: 17 + EventNormalChance: 30 + EventEnrichedChance: 30 Bonus: 900 } Lv17: { - Chance: 17 + NormalChance: 17 + EventNormalChance: 20 + EventEnrichedChance: 20 Bonus: 900 } Lv18: { - Chance: 17 + NormalChance: 17 + EventNormalChance: 20 + EventEnrichedChance: 20 Bonus: 900 } Lv19: { - Chance: 15 + NormalChance: 15 + EventNormalChance: 15 + EventEnrichedChance: 15 Bonus: 900 } Lv20: { - Chance: 15 + NormalChance: 15 + EventNormalChance: 15 + EventEnrichedChance: 15 Bonus: 900 } } @@ -299,56 +435,94 @@ WeaponLevel4: { RandomBonusValue: 1400 Rates: { Lv5: { - Chance: 60 + NormalChance: 60 + EnrichedChance: 90 + EventNormalChance: 60 + EventEnrichedChance: 95 } Lv6: { - Chance: 40 + NormalChance: 40 + EnrichedChance: 70 + EventNormalChance: 40 + EventEnrichedChance: 80 } Lv7: { - Chance: 40 + NormalChance: 40 + EnrichedChance: 70 + EventNormalChance: 40 + EventEnrichedChance: 80 } Lv8: { - Chance: 20 + NormalChance: 20 + EnrichedChance: 40 + EventNormalChance: 20 + EventEnrichedChance: 60 } Lv9: { - Chance: 20 + NormalChance: 20 + EnrichedChance: 40 + EventNormalChance: 20 + EventEnrichedChance: 50 } Lv10: { - Chance: 10 + NormalChance: 9 + EnrichedChance: 20 + EventNormalChance: 9 + EventEnrichedChance: 35 } Lv11: { - Chance: 8 + NormalChance: 8 + EventNormalChance: 20 + EventEnrichedChance: 20 } Lv12: { - Chance: 8 + NormalChance: 8 + EventNormalChance: 20 + EventEnrichedChance: 20 } Lv13: { - Chance: 8 + NormalChance: 8 + EventNormalChance: 16 + EventEnrichedChance: 16 } Lv14: { - Chance: 8 + NormalChance: 8 + EventNormalChance: 16 + EventEnrichedChance: 16 } Lv15: { - Chance: 7 + NormalChance: 7 + EventNormalChance: 15 + EventEnrichedChance: 15 } Lv16: { - Chance: 7 + NormalChance: 7 + EventNormalChance: 15 + EventEnrichedChance: 15 Bonus: 1200 } Lv17: { - Chance: 7 + NormalChance: 7 + EventNormalChance: 14 + EventEnrichedChance: 14 Bonus: 1200 } Lv18: { - Chance: 7 + NormalChance: 7 + EventNormalChance: 14 + EventEnrichedChance: 14 Bonus: 1200 } Lv19: { - Chance: 5 + NormalChance: 5 + EventNormalChance: 10 + EventEnrichedChance: 10 Bonus: 1200 } Lv20: { - Chance: 5 + NormalChance: 5 + EventNormalChance: 10 + EventEnrichedChance: 10 Bonus: 1200 } } |