summaryrefslogtreecommitdiff
path: root/db/re/item_db.conf
diff options
context:
space:
mode:
Diffstat (limited to 'db/re/item_db.conf')
-rw-r--r--db/re/item_db.conf640
1 files changed, 476 insertions, 164 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 7f9f9d306..b4b313446 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -31,6 +31,7 @@ item_db: (
BindOnEquip: true/false (boolean, defaults to false)
BuyingStore: true/false (boolean, defaults to false)
Delay: Delay to use item (int, defaults to 0)
+ KeepAfterUse: true/false (boolean, defaults to false)
Trade: { (defaults to no restrictions)
override: GroupID (int, defaults to 100)
nodrop: true/false (boolean, defaults to false)
@@ -449,7 +450,7 @@ item_db: (
BuyingStore: true
Script: <"
itemheal rand(105,145),0;
- if(rand(1000)<250) sc_start SC_FREEZE,10000,0;
+ sc_start SC_FREEZE,10000,0,2500,SCFLAG_NONE;
">
},
{
@@ -588,7 +589,7 @@ item_db: (
BuyingStore: true
Script: <"
itemheal rand(50,100),0;
- if(rand(1000)<150) sc_start SC_STUN,3000,0;
+ sc_start SC_STUN,3000,0,1500,SCFLAG_NONE;
">
},
{
@@ -645,7 +646,7 @@ item_db: (
Script: <"
itemheal rand(105,145),0;
sc_start SC_STUN,3000,0;
- if(rand(1000)<150) sc_start SC_BLIND,2000,0;
+ sc_start SC_BLIND,2000,0,1500,SCFLAG_NONE;
">
},
{
@@ -1908,7 +1909,7 @@ item_db: (
Weight: 20
Upper: 63
BuyingStore: true
- Script: <" set Zeny,Zeny+rand(1000,10000); ">
+ Script: <" Zeny += rand(1000,10000); ">
},
{
Id: 669
@@ -1933,11 +1934,22 @@ item_db: (
{
Id: 671
AegisName: "Gold_Coin"
- Name: "Gold Coin"
- Type: 3
- Buy: 10000
- Weight: 40
+ Name: "Gold Roulette Coin"
+ Type: 2
+ Buy: 0
+ Weight: 0
Upper: 63
+ Trade: {
+ nodrop: true
+ notrade: true
+ noselltonpc: true
+ nocart: true
+ nostorage: true
+ nogstorage: true
+ nomail: true
+ noauction: true
+ }
+ Script: <" TmpRouletteGold += 1; ">
},
{
Id: 672
@@ -1969,11 +1981,22 @@ item_db: (
{
Id: 675
AegisName: "Silver_Coin"
- Name: "Silver Coin"
- Type: 3
- Buy: 5000
- Weight: 40
+ Name: "Silver Roulette Coin"
+ Type: 2
+ Buy: 0
+ Weight: 0
Upper: 63
+ Trade: {
+ nodrop: true
+ notrade: true
+ noselltonpc: true
+ nocart: true
+ nostorage: true
+ nogstorage: true
+ nomail: true
+ noauction: true
+ }
+ Script: <" TmpRouletteSilver += 1; ">
},
{
Id: 676
@@ -2020,7 +2043,7 @@ item_db: (
Upper: 63
BuyingStore: true
Script: <"
- if(rand(1000)<100) sc_start SC_DPOISON,10000,0;
+ sc_start SC_DPOISON,10000,0,1000,SCFLAG_NONE;
sc_start SC_POISON,50000,0;
">
},
@@ -6214,12 +6237,12 @@ item_db: (
bonus2 bIgnoreDefRate,RC_DemiHuman,25;
bonus bUnbreakableWeapon,0;
if(getrefine()>5) {
- bonus2 bAddRace,RC_DemiHuman,pow(((getrefine()>14)?14:getrefine())-3,1);
+ bonus2 bAddRace,RC_DemiHuman,pow(min(getrefine(), 14)-3,2);
bonus2 bIgnoreDefRate,RC_DemiHuman,5;
}
if(getrefine()>8) {
- bonus3 bAutoSpell,LK_CONCENTRATION,getskilllv(LK_CONCENTRATION)>1?getskilllv(LK_CONCENTRATION):1,30;
- bonus3 bAutoSpell,LK_AURABLADE,getskilllv(LK_AURABLADE)>1?getskilllv(LK_AURABLADE):1,30;
+ bonus3 bAutoSpell,LK_CONCENTRATION,max(getskilllv(LK_CONCENTRATION),1),30;
+ bonus3 bAutoSpell,LK_AURABLADE,max(getskilllv(LK_AURABLADE),1),30;
}
">
},
@@ -8040,7 +8063,7 @@ item_db: (
bonus2 bIgnoreDefRate,RC_DemiHuman,20;
bonus bUnbreakableWeapon,0;
if(getrefine()>5) {
- bonus2 bAddRace,RC_DemiHuman,pow(((getrefine()>14)?14:getrefine())-4,2);
+ bonus2 bAddRace,RC_DemiHuman,pow(min(getrefine(),14)-4,2);
bonus2 bIgnoreDefRate,RC_DemiHuman,5;
}
if(getrefine()>8) autobonus "{ bonus bAspdRate,100; }",70,3000,BF_WEAPON,"{ specialeffect2 EF_POTION_BERSERK; }";
@@ -8074,7 +8097,7 @@ item_db: (
bonus2 bIgnoreDefRate,RC_DemiHuman,20;
bonus bUnbreakableWeapon,0;
if(getrefine()>5) {
- bonus2 bAddRace,RC_DemiHuman,pow(((getrefine()>14)?14:getrefine())-4,2);
+ bonus2 bAddRace,RC_DemiHuman,pow(min(getrefine(),14)-4,2);
bonus2 bCriticalAddRace,RC_DemiHuman,5;
}
if(getrefine()>8) autobonus "{ bonus bAspdRate,100; }",70,3000,BF_WEAPON,"{ specialeffect2 EF_POTION_BERSERK; }";
@@ -8371,8 +8394,8 @@ item_db: (
Script: <"
bonus bBaseAtk,(getrefine()*5);
bonus bCritAtkRate,getrefine();
- set .@i,((BaseLevel/10)>12)?12:(BaseLevel/10);
- if(.@i>2) bonus bBaseAtk,((.@i-2)*5);
+ .@val = min(BaseLevel/10, 12);
+ if (.@val > 2) bonus bBaseAtk,((.@val-2)*5);
">
},
{
@@ -8581,7 +8604,7 @@ item_db: (
bonus2 bIgnoreDefRate,RC_DemiHuman,20;
bonus bUnbreakableWeapon,0;
if(getrefine()>5) {
- bonus2 bAddRace,RC_DemiHuman,pow(((getrefine()>14)?14:getrefine())-4,2);
+ bonus2 bAddRace,RC_DemiHuman,pow(min(getrefine(),14)-4,2);
bonus2 bIgnoreDefRate,RC_DemiHuman,5;
bonus bAspdRate,5;
}
@@ -9425,7 +9448,7 @@ item_db: (
bonus2 bIgnoreDefRate,RC_DemiHuman,25;
bonus bUnbreakableWeapon,0;
if(getrefine()>5) {
- bonus2 bAddRace,RC_DemiHuman,pow(((getrefine()>14)?14:getrefine())-3,2);
+ bonus2 bAddRace,RC_DemiHuman,pow(min(getrefine(),14)-3,2);
bonus2 bIgnoreDefRate,RC_DemiHuman,5;
bonus3 bAutoSpell,NPC_CRITICALWOUND,1,50;
}
@@ -9807,8 +9830,8 @@ item_db: (
Script: <"
bonus bUnbreakableWeapon,0;
bonus bBaseAtk,(getrefine()*7);
- set .@i,((BaseLevel/10)>12)?12:(BaseLevel/10);
- if(.@i>2) bonus bBaseAtk,((.@i-2)*5);
+ .@val = min(BaseLevel/10, 12);
+ if (.@val > 2) bonus bBaseAtk,((.@val-2)*5);
">
},
// 1-Handed Spears
@@ -10339,7 +10362,7 @@ item_db: (
bonus2 bIgnoreDefRate,RC_DemiHuman,20;
bonus bUnbreakableWeapon,0;
if(getrefine()>5) {
- bonus2 bAddRace,RC_DemiHuman,pow(((getrefine()>14)?14:getrefine())-4,2);
+ bonus2 bAddRace,RC_DemiHuman,pow(min(getrefine(),14)-4,2);
bonus2 bIgnoreDefRate,RC_DemiHuman,5;
bonus bAspdRate,10;
}
@@ -11310,7 +11333,7 @@ item_db: (
bonus2 bIgnoreDefRate,RC_DemiHuman,25;
bonus bUnbreakableWeapon,0;
if(getrefine()>5) {
- bonus2 bAddRace,RC_DemiHuman,pow(((getrefine()>14)?14:getrefine())-4,2);
+ bonus2 bAddRace,RC_DemiHuman,pow(min(getrefine(),14)-4,2);
bonus2 bIgnoreDefRate,RC_DemiHuman,5;
}
if(getrefine()>8) {
@@ -11492,8 +11515,8 @@ item_db: (
View: 5
Script: <"
bonus bBaseAtk,(getrefine()*6);
- set .@i,((BaseLevel/10)>12)?12:(BaseLevel/10);
- if(.@i>2) bonus bBaseAtk,((.@i-2)*5);
+ .@val = min(BaseLevel/10, 12);
+ if (.@val > 2) bonus bBaseAtk,((.@val-2)*5);
">
},
{
@@ -12440,7 +12463,7 @@ item_db: (
bonus2 bIgnoreDefRate,RC_DemiHuman,20;
bonus bUnbreakableWeapon,0;
if(getrefine()>5) {
- bonus2 bAddRace,RC_DemiHuman,pow(((getrefine()>14)?14:getrefine())-4,2);
+ bonus2 bAddRace,RC_DemiHuman,pow(min(getrefine(),14)-4,2);
bonus2 bIgnoreDefRate,RC_DemiHuman,5;
bonus bAspdRate,5;
}
@@ -13084,7 +13107,7 @@ item_db: (
bonus2 bIgnoreDefRate,RC_DemiHuman,25;
bonus bUnbreakableWeapon,0;
if(getrefine()>5) {
- bonus2 bAddRace,RC_DemiHuman,pow(((getrefine()>14)?14:getrefine())-4,2);
+ bonus2 bAddRace,RC_DemiHuman,pow(min(getrefine(),14)-4,2);
bonus2 bIgnoreDefRate,RC_DemiHuman,5;
}
if(getrefine()>8) autobonus "{ bonus bBaseAtk,200; }",30,3000,BF_WEAPON,"{ specialeffect2 EF_BASH3D; }";
@@ -13386,8 +13409,8 @@ item_db: (
bonus bUnbreakableWeapon,0;
bonus bBaseAtk,(getrefine()*5);
bonus bMatk,(getrefine()*2);
- set .@i,((BaseLevel/10)>12)?12:(BaseLevel/10);
- if(.@i>2) bonus bBaseAtk,((.@i-2)*5);
+ .@val = min(BaseLevel/10, 12);
+ if (.@val > 2) bonus bBaseAtk,((.@val-2)*5);
">
},
{
@@ -14335,7 +14358,7 @@ item_db: (
bonus bUnbreakableWeapon,0;
if(getrefine() > 5) {
bonus2 bIgnoreMdefRate,RC_DemiHuman,5;
- bonus bHealPower,5+(((getrefine()>14)?14:getrefine())-5)*2;
+ bonus bHealPower,5+(min(getrefine(),14)-5)*2;
}
if(getrefine() > 8) bonus5 bAutoSpellOnSkill,AL_HEAL,AL_HEAL,10,100,1;
if(getrefine() > 9) {
@@ -14508,7 +14531,7 @@ item_db: (
Script: <"
bonus bAtkEle,Ele_Holy;
bonus bInt,4;
- bonus4 bAutoSpellOnSkill,AL_HEAL,AL_BLESSING,getskilllv(AL_BLESSING)>1?getskilllv(AL_BLESSING):1,20;
+ bonus4 bAutoSpellOnSkill,AL_HEAL,AL_BLESSING,max(getskilllv(AL_BLESSING),1),20;
">
},
{
@@ -14845,12 +14868,12 @@ item_db: (
Script: <"
bonus bUnbreakableWeapon,0;
bonus bMatk,30*(getrefine()/3);
- if(getrefine()>=7) {
- set .@i,1;
- bonus4 bAutoSpell,"HW_MAGICPOWER",1,10,0;
+ if (getrefine()>=7) {
+ .@val = 1;
+ bonus4 bAutoSpell,HW_MAGICPOWER,1,10,0;
}
if (getrefine()>=4) {
- set .@rate,5*(.@i+1);
+ .@rate = 5*(.@val+1);
bonus2 bMagicAddRace,RC_Boss,.@rate;
bonus2 bMagicAddRace,RC_NonBoss,.@rate;
}
@@ -15680,7 +15703,7 @@ item_db: (
bonus bCritAtkRate,getrefine() * 2;
bonus bUnbreakableWeapon,0;
if(getrefine()>5) {
- bonus2 bAddRace,RC_DemiHuman,pow(((getrefine()>14)?14:getrefine())-4,2);
+ bonus2 bAddRace,RC_DemiHuman,pow(min(getrefine(),14)-4,2);
bonus2 bIgnoreDefRate,RC_DemiHuman,5;
}
if(getrefine()>8) bonus2 bSkillAtk,AC_DOUBLE,20;
@@ -16687,7 +16710,7 @@ item_db: (
bonus bInt,1;
bonus2 bAddRace,RC_DemiHuman,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,"{ specialeffect2 EF_SUFFRAGIUM; }";
bonus bUnbreakableWeapon,0;
">
},
@@ -16741,7 +16764,7 @@ item_db: (
bonus2 bIgnoreDefRate,RC_DemiHuman,20;
bonus bUnbreakableWeapon,0;
if(getrefine()>5) {
- bonus2 bAddRace,RC_DemiHuman,pow(((getrefine()>14)?14:getrefine())-4,2);
+ bonus2 bAddRace,RC_DemiHuman,pow(min(getrefine(),14)-4,2);
bonus2 bIgnoreDefRate,RC_DemiHuman,5;
}
if(getrefine()>8) {
@@ -16778,7 +16801,7 @@ item_db: (
bonus2 bIgnoreDefRate,RC_DemiHuman,20;
bonus bUnbreakableWeapon,0;
if(getrefine()>5) {
- bonus2 bAddRace,RC_DemiHuman,pow(((getrefine()>14)?14:getrefine())-4,2);
+ bonus2 bAddRace,RC_DemiHuman,pow(min(getrefine(),14)-4,2);
bonus2 bIgnoreDefRate,RC_DemiHuman,5;
}
if(getrefine()>8) {
@@ -17505,7 +17528,7 @@ item_db: (
bonus2 bIgnoreDefRate,RC_DemiHuman,20;
bonus bUnbreakableWeapon,0;
if(getrefine()>5) {
- bonus2 bAddRace,RC_DemiHuman,pow(((getrefine()>14)?14:getrefine())-4,2);
+ bonus2 bAddRace,RC_DemiHuman,pow(min(getrefine(),14)-4,2);
bonus2 bIgnoreDefRate,RC_DemiHuman,5;
}
if(getrefine()>8) bonus4 bAutoSpellOnSkill,CG_ARROWVULCAN,CG_TAROTCARD,5,100;
@@ -18255,7 +18278,7 @@ item_db: (
bonus2 bIgnoreDefRate,RC_DemiHuman,20;
bonus bUnbreakableWeapon,0;
if(getrefine()>5) {
- bonus2 bAddRace,RC_DemiHuman,pow(((getrefine()>14)?14:getrefine())-4,2);
+ bonus2 bAddRace,RC_DemiHuman,pow(min(getrefine(),14)-4,2);
bonus2 bIgnoreDefRate,RC_DemiHuman,5;
}
if(getrefine()>8) bonus4 bAutoSpellOnSkill,CG_ARROWVULCAN,CG_TAROTCARD,5,100;
@@ -18462,8 +18485,8 @@ item_db: (
bonus2 bIgnoreMdefRate,RC_DemiHuman,25;
bonus bUnbreakableWeapon,0;
if(getrefine()>5) {
- bonus2 bMagicAddRace,RC_DemiHuman,(((getrefine()>14)?14:getrefine())-5)*2;
- bonus2 bIgnoreMdefRate,RC_DemiHuman,5+(((getrefine()>14)?14:getrefine())-5)*2;
+ bonus2 bMagicAddRace,RC_DemiHuman,(min(getrefine(),14)-5)*2;
+ bonus2 bIgnoreMdefRate,RC_DemiHuman,5+(min(getrefine(),14)-5)*2;
}
if(getrefine()>8) {
bonus5 bAutoSpellOnSkill,WZ_STORMGUST,MG_SAFETYWALL,10,200,1;
@@ -18855,8 +18878,8 @@ item_db: (
if(BaseJob==Job_Wizard) bonus bMatk,15;
else if(BaseJob==Job_Sage) bonus bMatk,10;
bonus bMatk,(getrefine()*5);
- set .@i,((BaseLevel/10)>12)?12:(BaseLevel/10);
- if(.@i>2) bonus bMatk,((.@i-2)*5);
+ .@val = min(BaseLevel/10, 12);
+ if (.@val > 2) bonus bMatk,((.@val-2)*5);
">
},
// Shields
@@ -20034,7 +20057,7 @@ item_db: (
Upper: 63
Loc: 32
View: 1
- Script: <" if (getrefine()>5) bonus2 bSubEle,Ele_Neutral,((getrefine()>12)?12:getrefine())-5; ">
+ Script: <" if (getrefine()>5) bonus2 bSubEle,Ele_Neutral,min(getrefine(),12)-5; ">
},
{
Id: 2169
@@ -24605,7 +24628,7 @@ item_db: (
EquipLv: 100
Script: <"
bonus bMaxSP,40;
- bonus bAgi,-7+(getequiprefinerycnt(EQI_SHOES)>8)?8:getequiprefinerycnt(EQI_SHOES);
+ bonus bAgi,-7+min(getequiprefinerycnt(EQI_SHOES),8);
">
},
{
@@ -25623,7 +25646,7 @@ item_db: (
EquipLv: 70
Script: <"
bonus bMdef,3;
- bonus3 bAutoSpellWhenHit,AL_HEAL,getskilllv(AL_HEAL)?getskilllv(AL_HEAL):1,20;
+ bonus3 bAutoSpellWhenHit,AL_HEAL,max(getskilllv(AL_HEAL),1),20;
">
},
{
@@ -26104,9 +26127,9 @@ item_db: (
EquipLv: 100
Script: <"
bonus bFlee,5;
- set .@i,(getskilllv("AB_ORATIO")<2)?2:getskilllv("AB_ORATIO");
- bonus5 bAutoSpellWhenHit,"AB_ORATIO",.@i,30,BF_WEAPON,0;
- bonus5 bAutoSpellWhenHit,"AB_ORATIO",.@i,40,BF_MAGIC,0;
+ .@val = max(getskilllv(AB_ORATIO), 2);
+ bonus5 bAutoSpellWhenHit,AB_ORATIO,.@val,30,BF_WEAPON,0;
+ bonus5 bAutoSpellWhenHit,AB_ORATIO,.@val,40,BF_MAGIC,0;
">
},
{
@@ -36913,7 +36936,7 @@ item_db: (
Loc: 4
Script: <"
bonus bLuk,getrefine()-5;
- bonus bCritical,(getrefine()>10?10:getrefine());
+ bonus bCritical,min(getrefine(),10);
">
},
{
@@ -37319,7 +37342,7 @@ item_db: (
Weight: 10
Loc: 16
Script: <"
- bonus bMagicDamageReturn,(getrefine()>10?10:getrefine())*2;
+ bonus bMagicDamageReturn,min(getrefine(),10)*2;
if(BaseClass==Job_Mage) bonus bMdef,3;
">
},
@@ -38044,7 +38067,7 @@ item_db: (
Loc: 769
Script: <"
bonus bHealPower,4;
- bonus2 bSkillUseSP,"AL_HEAL",-15;
+ bonus2 bSkillUseSP,AL_HEAL,-15;
">
},
{
@@ -38321,7 +38344,7 @@ item_db: (
Weight: 10
Loc: 64
Script: <"
- set .@rate,((getrefine()>14)?7:5);
+ .@rate = (getrefine() > 14) ? 7 : 5);
bonus bMaxHPrate,.@rate;
bonus bMaxSPrate,.@rate;
bonus2 bHPRegenRate,50,10000;
@@ -38360,7 +38383,7 @@ item_db: (
Weight: 10
Loc: 16
Script: <"
- set .@rate,((getrefine()>14)?30:20);
+ .@rate = (getrefine() > 14) ? 30 : 20;
bonus2 bAddEle,Ele_Holy,.@rate;
bonus2 bAddEle,Ele_Dark,.@rate;
bonus2 bAddRace,RC_Angel,.@rate;
@@ -38513,7 +38536,7 @@ item_db: (
noauction: true
}
Script: <"
- set .@rate, ((getrefine()>14)?15:10);
+ .@rate = (getrefine() > 14) ? 15 : 10;
bonus2 bAddRace,RC_NonBoss,.@rate;
bonus2 bAddRace,RC_Boss,.@rate;
bonus3 bAutoSpell,SM_MAGNUM,10,15;
@@ -39196,7 +39219,7 @@ item_db: (
Script: <"
bonus bMatkRate,((getrefine()>14)?8:5);
bonus bMaxSPrate,-50;
- set .@rate,((getrefine()>14)?33:25);
+ .@rate = (getrefine() > 14) ? 33 : 25;
bonus2 bMagicAddRace,RC_Angel,.@rate;
bonus2 bMagicAddRace,RC_DemiHuman,.@rate;
">
@@ -39217,7 +39240,7 @@ item_db: (
noauction: true
}
Script: <"
- set .@rate, ((getrefine()>14)?350:250);
+ .@rate = (getrefine() > 14) ? 350 : 250;
bonus3 bAddEff,Eff_Stun,.@rate,ATF_SHORT;
bonus3 bAddEff,Eff_Curse,.@rate,ATF_SHORT;
bonus3 bAddEff,Eff_Silence,.@rate,ATF_SHORT;
@@ -39500,7 +39523,7 @@ item_db: (
Loc: 16
Script: <"
bonus bInt,4;
- bonus5 bAutoSpellWhenHit,"NPC_WIDESLEEP",3,2500,BF_MAGIC,0;
+ bonus5 bAutoSpellWhenHit,NPC_WIDESLEEP,3,2500,BF_MAGIC,0;
">
},
{
@@ -39526,7 +39549,7 @@ item_db: (
Loc: 16
Script: <"
bonus bVit,4;
- bonus5 bAutoSpellWhenHit,"NPC_WIDESTONE",3,2500,BF_MAGIC,0;
+ bonus5 bAutoSpellWhenHit,NPC_WIDESTONE,3,2500,BF_MAGIC,0;
">
},
// Armor Enchant System
@@ -41269,6 +41292,7 @@ item_db: (
Loc: 16
Script: <" bonus bMaxSP,75; ">
},
+
// More Headgears
// ===================================================================
{
@@ -47848,7 +47872,7 @@ item_db: (
noselltonpc: true
nogstorage: true
}
- Script: <" bonus3 bAutoSpell,"SA_FROSTWEAPON",1,5; ">
+ Script: <" bonus3 bAutoSpell,SA_FROSTWEAPON,1,5; ">
},
{
Id: 5381
@@ -52240,7 +52264,7 @@ item_db: (
Script: <"
bonus bAspdRate,3;
bonus2 bSubEle,Ele_Earth,5;
- if(getrefine()>6) bonus3 bAutoSpell,"MO_BALKYOUNG",1,50;
+ if(getrefine()>6) bonus3 bAutoSpell,MO_BALKYOUNG,1,50;
">
},
{
@@ -53236,7 +53260,6 @@ item_db: (
bonus bDex,1;
bonus bAspdRate,2;
bonus bVariableCastrate,-2;
- bonus3 bAutoSpell,MO_EXTREMITYFIST,1,3;
">
},
{
@@ -55300,11 +55323,11 @@ item_db: (
bonus bStr,2;
bonus2 bAddMonsterDropItem,574,500;
bonus2 bAddItemHealRate,574,5;
- set .@rate,(getrefine()>10)?10:getrefine();
+ .@rate = min(getrefine(),10);
bonus bMaxHPrate,.@rate;
bonus bMaxSPrate,.@rate;
- bonus3 bAutoSpellWhenHit,"AL_INCAGI",.@rate,10;
- bonus3 bAutoSpell,"AL_INCAGI",.@rate,10;
+ bonus3 bAutoSpellWhenHit,AL_INCAGI,.@rate,10;
+ bonus3 bAutoSpell,AL_INCAGI,.@rate,10;
">
},
{
@@ -61279,7 +61302,7 @@ item_db: (
{
Id: 6422
AegisName: "Egrade_Coin"
- Name: "DClass Coin"
+ Name: "EClass Coin"
Type: 3
Buy: 20
Trade: {
@@ -62652,6 +62675,52 @@ item_db: (
Buy: 0
},
{
+ Id: 6913
+ AegisName: "Sacred_Rosary"
+ Name: "Sacred Rosary"
+ Type: 3
+ Trade: {
+ nodrop: true
+ notrade: true
+ noselltonpc: true
+ nocart: true
+ nostorage: true
+ nogstorage: true
+ nomail: true
+ noauction: true
+ }
+},
+{
+ Id: 6914
+ AegisName: "Black_Soul"
+ Name: "Black Soul"
+ Type: 3
+ Trade: {
+ nodrop: true
+ notrade: true
+ nocart: true
+ nostorage: true
+ nogstorage: true
+ nomail: true
+ noauction: true
+ }
+},
+{
+ Id: 6915
+ AegisName: "Captured_Soul"
+ Name: "Captured Soul"
+ Type: 3
+ Trade: {
+ nodrop: true
+ notrade: true
+ nocart: true
+ nostorage: true
+ nogstorage: true
+ nomail: true
+ noauction: true
+ }
+},
+{
Id: 7001
AegisName: "Mould_Powder"
Name: "Mould Powder"
@@ -74183,6 +74252,7 @@ item_db: (
Buy: 10
Weight: 40
Upper: 63
+ Script: <" percentheal 5,5; ">
},
{
Id: 11551
@@ -74225,6 +74295,50 @@ item_db: (
Script: <" itemheal rand(20,30),0; ">
},
{
+ Id: 11592
+ AegisName: "Trance_Candy_R"
+ Name: "Red Transform Candy"
+ Type: 0
+ Weight: 30
+ Script: <"
+ itemheal rand(45,65),0;
+ montransform "Bloody Murderer",600000,SC_MTF_MHP,1000;
+ ">
+},
+{
+ Id: 11593
+ AegisName: "Trance_Candy_B"
+ Name: "Blue Transform Candy"
+ Type: 0
+ Weight: 30
+ Script: <"
+ itemheal rand(45,65),0;
+ montransform "Bathory",600000,SC_MTF_MSP,100;
+ ">
+},
+{
+ Id: 11594
+ AegisName: "Trance_Candy_Y"
+ Name: "Yellow Transform Candy"
+ Type: 0
+ Weight: 30
+ Script: <"
+ itemheal rand(45,65),0;
+ montransform "Jakk",600000,SC_MTF_PUMPKIN,2000;
+ ">
+},
+{
+ Id: 11595
+ AegisName: "Trance_Candy_G"
+ Name: "Green Transform Candy"
+ Type: 0
+ Weight: 30
+ Script: <"
+ itemheal rand(45,65),0;
+ montransform "Quve",600000,SC_MTF_HITFLEE,10,20;
+ ">
+},
+{
Id: 11701
AegisName: "Girl_Bunch_Of_Flower"
Name: "Girl's Bouquet"
@@ -74669,7 +74783,7 @@ item_db: (
}
Script: <"
percentheal 9,0;
- if(rand(1000)<300) sc_start SC_CURSE,30000,0;
+ sc_start SC_CURSE,30000,0,3000,SCFLAG_NONE;
">
},
{
@@ -74770,7 +74884,7 @@ item_db: (
}
Script: <"
percentheal 0,9;
- if(rand(1000)<300) sc_start SC_SILENCE,30000,0;
+ sc_start SC_SILENCE,30000,0,3000,SCFLAG_NONE;
">
},
{
@@ -76059,7 +76173,7 @@ item_db: (
Upper: 63
Script: <"
if(gettime(5)!=MDiceCone) {
- set MDiceCone,gettime(5);
+ MDiceCone = gettime(5);
percentheal 50,50;
}
">
@@ -76072,7 +76186,7 @@ item_db: (
Buy: 1
Weight: 10
Upper: 63
- Script: <" set Zeny,Zeny+rand(1000,10000); ">
+ Script: <" Zeny += rand(1000,10000); ">
},
{
Id: 12135
@@ -76084,7 +76198,7 @@ item_db: (
Upper: 63
Script: <"
percentheal 50,50;
- if(rand(100)>=90)sc_start SC_CONFUSION,10000,0;
+ sc_start SC_CONFUSION,10000,0,1000,SCFLAG_NONE;
">
},
{
@@ -77462,7 +77576,7 @@ item_db: (
sitting: true
}
Script: <"
- set .@type,getiteminfo(getequipid(EQI_HAND_R),11);
+ .@type = getiteminfo(getequipid(EQI_HAND_R),11);
if (.@type==6||.@type==7||.@type==8) {
skilleffect BS_ADRENALINE,0;
sc_start SC_ADRENALINE,150000,5;
@@ -77702,7 +77816,7 @@ item_db: (
Weight: 100
Upper: 63
Script: <"
- if(rand(1000)<100) sc_start SC_DPOISON,10000,0;
+ sc_start SC_DPOISON,10000,0,1000,SCFLAG_NONE;
sc_start SC_POISON,50000,0;
">
},
@@ -77715,7 +77829,7 @@ item_db: (
Weight: 100
Upper: 63
Script: <"
- if(rand(1000)<100) sc_start SC_DPOISON,10000,0;
+ sc_start SC_DPOISON,10000,0,1000,SCFLAG_NONE;
sc_start SC_POISON,50000,0;
">
},
@@ -80154,7 +80268,7 @@ item_db: (
Job: 0x00000400
Upper: 63
BuyingStore: true
- Script: <" if(checkmadogear()) itemheal rand(200,300),0; ">
+ Script: <" if(checkmount() == MOUNT_MADO) itemheal rand(200,300),0; ">
},
{
Id: 12393
@@ -80166,7 +80280,7 @@ item_db: (
Job: 0x00000400
Upper: 63
BuyingStore: true
- Script: <" if(checkmadogear()) itemheal rand(300,400),0; ">
+ Script: <" if(checkmount() == MOUNT_MADO) itemheal rand(300,400),0; ">
},
{
Id: 12394
@@ -80178,7 +80292,7 @@ item_db: (
Job: 0x00000400
Upper: 63
BuyingStore: true
- Script: <" if(checkmadogear()) itemheal rand(400,500),0; ">
+ Script: <" if(checkmount() == MOUNT_MADO) itemheal rand(400,500),0; ">
},
{
Id: 12395
@@ -82497,6 +82611,16 @@ item_db: (
Script: <" packageitem(); ">
},
{
+ Id: 12609
+ AegisName: "Old_Ore_Box"
+ Name: "Old Ore Box"
+ Type: 2
+ Buy: 20
+ Weight: 100
+ Upper: 63
+ Script: <" packageitem(); ">
+},
+{
Id: 12612
AegisName: "Old_Coin_Pocket"
Name: "Shabby Coin Bag"
@@ -82604,7 +82728,7 @@ item_db: (
Buy: 20
Upper: 63
Delay: 3000
- Script: <" setmounting(); ">
+ Script: <" setcashmount(); ">
},
{
Id: 12623
@@ -83574,7 +83698,7 @@ item_db: (
Weight: 20
Upper: 63
BuyingStore: true
- Script: <" if(rand(10000)<10) sc_start SC_PARALYSE,300000,0; ">
+ Script: <" sc_start SC_PARALYSE,300000,0,10,SCFLAG_FIXEDTICK; ">
},
{
Id: 12718
@@ -83585,7 +83709,7 @@ item_db: (
Weight: 20
Upper: 63
BuyingStore: true
- Script: <" if(rand(10000)<10) sc_start SC_LEECHESEND,300000,0; ">
+ Script: <" sc_start SC_LEECHESEND,300000,0,10,SCFLAG_FIXEDTICK; ">
},
{
Id: 12719
@@ -83596,7 +83720,7 @@ item_db: (
Weight: 20
Upper: 63
BuyingStore: true
- Script: <" if(rand(10000)<10) sc_start SC_OBLIVIONCURSE,300000,0; ">
+ Script: <" sc_start SC_OBLIVIONCURSE,300000,0,10,SCFLAG_FIXEDTICK; ">
},
{
Id: 12720
@@ -83607,7 +83731,7 @@ item_db: (
Weight: 20
Upper: 63
BuyingStore: true
- Script: <" if(rand(10000)<10) sc_start SC_DEATHHURT,300000,0; ">
+ Script: <" sc_start SC_DEATHHURT,300000,0,10,SCFLAG_FIXEDTICK; ">
},
{
Id: 12721
@@ -83618,7 +83742,7 @@ item_db: (
Weight: 20
Upper: 63
BuyingStore: true
- Script: <" if(rand(10000)<10) sc_start SC_TOXIN,300000,0; ">
+ Script: <" sc_start SC_TOXIN,300000,0,10,SCFLAG_FIXEDTICK; ">
},
{
Id: 12722
@@ -83629,7 +83753,7 @@ item_db: (
Weight: 20
Upper: 63
BuyingStore: true
- Script: <" if(rand(10000)<10) sc_start SC_PYREXIA,300000,0; ">
+ Script: <" sc_start SC_PYREXIA,300000,0,10,SCFLAG_FIXEDTICK; ">
},
{
Id: 12723
@@ -83640,7 +83764,7 @@ item_db: (
Weight: 20
Upper: 63
BuyingStore: true
- Script: <" if(rand(10000)<10) sc_start SC_MAGICMUSHROOM,300000,0; ">
+ Script: <" sc_start SC_MAGICMUSHROOM,300000,0,10,SCFLAG_FIXEDTICK; ">
},
{
Id: 12724
@@ -83651,7 +83775,7 @@ item_db: (
Weight: 20
Upper: 63
BuyingStore: true
- Script: <" if(rand(10000)<10) sc_start SC_VENOMBLEED,15000,0; ">
+ Script: <" sc_start SC_VENOMBLEED,15000,0,10,SCFLAG_FIXEDTICK; ">
},
// Rune Knight's Rune Stones
{
@@ -84066,8 +84190,8 @@ item_db: (
Weight: 10
Upper: 63
Script: <"
- sc_start SC_ATTHASTE_POTION3,180000,5;
- sc_start SC_PLUSATTACKPOWER,180000,5;
+ sc_start SC_ATTHASTE_POTION3,1800000,5;
+ sc_start SC_PLUSATTACKPOWER,1800000,5;
">
},
{
@@ -84079,8 +84203,8 @@ item_db: (
Weight: 10
Upper: 63
Script: <"
- sc_start SC_PROTECT_DEF,180000,5;
- sc_start SC_FOOD_BASICAVOIDANCE,180000,10;
+ sc_start SC_PROTECT_DEF,1800000,5;
+ sc_start SC_FOOD_BASICAVOIDANCE,1800000,10;
">
},
{
@@ -84092,8 +84216,8 @@ item_db: (
Weight: 10
Upper: 63
Script: <"
- sc_start SC_PROTECT_MDEF,180000,5;
- sc_start SC_INCFLEE2,180000,10;
+ sc_start SC_PROTECT_MDEF,1800000,5;
+ sc_start SC_INCFLEE2,1800000,10;
">
},
{
@@ -84105,8 +84229,8 @@ item_db: (
Weight: 10
Upper: 63
Script: <"
- sc_start SC_INCMHPRATE,180000,5;
- sc_start SC_INCMSPRATE,180000,5;
+ sc_start SC_INCMHPRATE,1800000,5;
+ sc_start SC_INCMSPRATE,1800000,5;
">
},
{
@@ -84488,7 +84612,7 @@ item_db: (
Type: 2
Buy: 0
Upper: 63
- Script: <" set SlotChange, SlotChange + 1; ">
+ Script: <" SlotChange += 1; ">
},
{
Id: 12787
@@ -84525,7 +84649,7 @@ item_db: (
Type: 2
Buy: 0
Upper: 63
- Script: <" set CharRename, CharRename + 1; ">
+ Script: <" CharRename += 1; ">
},
{
Id: 12791
@@ -84647,6 +84771,30 @@ item_db: (
EquipLv: 100
},
{
+ Id: 12831
+ AegisName: "Potion_Box"
+ Name: "Potion Box"
+ Type: 2
+ Buy: 0
+ Weight: 50
+ Upper: 63
+ Trade: {
+ nodrop: true
+ notrade: true
+ noselltonpc: true
+ nocart: true
+ nogstorage: true
+ nomail: true
+ noauction: true
+ }
+ Script: <"
+ getitem 545,100;
+ getitem 546,100;
+ getitem 547,100;
+ getitem 505,100;
+ ">
+},
+{
Id: 12848
AegisName: "Falcon_Flute"
Name: "Falcon Flute"
@@ -87219,7 +87367,7 @@ item_db: (
bonus3 bAutoSpell,PR_LEXDIVINA,1,20;
bonus bUnbreakableWeapon,0;
if(getrefine()>5) {
- bonus2 bAddRace,RC_DemiHuman,pow(((getrefine()>14)?14:getrefine())-4,2);
+ bonus2 bAddRace,RC_DemiHuman,pow(min(getrefine(),14)-4,2);
bonus2 bIgnoreDefRate,RC_DemiHuman,5;
}
if(getrefine()>8) bonus4 bAutoSpellOnSkill,RG_RAID,NPC_WIDEBLEEDING,1,250;
@@ -87611,7 +87759,7 @@ item_db: (
Script: <"
bonus2 bSkillAtk,SC_FATALMENACE,30;
if(getrefine() >= 6) {
- bonus2 bSkillAtk,"SC_FATALMENACE",(getrefine()-5)*2;
+ bonus2 bSkillAtk,SC_FATALMENACE,(getrefine()-5)*2;
bonus bMatk,(getrefine()-5)*3;
}
">
@@ -87968,8 +88116,8 @@ item_db: (
Script: <"
bonus bBaseAtk,(getrefine()*5);
bonus bMatk,(getrefine()*2);
- set .@i,((BaseLevel/10)>12)?12:(BaseLevel/10);
- if(.@i>2) bonus bBaseAtk,((.@i-2)*5);
+ .@val = min(BaseLevel/10, 12);
+ if (.@val > 2) bonus bBaseAtk,((.@val-2)*5);
">
},
{
@@ -88009,11 +88157,11 @@ item_db: (
bonus bBaseAtk,20*(getrefine()/3);
bonus bMatk,20*(getrefine()/3);
if(getrefine()>=9) {
- set .@i,1;
+ .@val = 1;
bonus4 bAutoSpell,BS_WEAPONPERFECT,1,20,0;
}
if(getrefine()>=6) {
- set .@rate,5*(.@i+1);
+ .@rate = 5*(.@val+1);
bonus2 bAddRace,RC_Boss,.@rate;
bonus2 bAddRace,RC_NonBoss,.@rate;
bonus2 bMagicAddRace,RC_Boss,.@rate;
@@ -88252,7 +88400,7 @@ item_db: (
bonus2 bIgnoreDefRate,RC_DemiHuman,20;
bonus bUnbreakableWeapon,0;
if(getrefine()>5) {
- bonus2 bAddRace,RC_DemiHuman,pow(((getrefine()>14)?14:getrefine())-4,2);
+ bonus2 bAddRace,RC_DemiHuman,pow(min(getrefine(),14)-4,2);
bonus2 bIgnoreDefRate,RC_DemiHuman,5;
}
if(getrefine()>8) {
@@ -88411,8 +88559,8 @@ item_db: (
EquipLv: 99
View: 17
Script: <"
- bonus2 bSkillAtk,"GS_DESPERADO",20;
- bonus2 bSkillAtk,"RL_FALLEN_ANGEL",20;
+ bonus2 bSkillAtk,GS_DESPERADO,20;
+ bonus2 bSkillAtk,RL_FALLEN_ANGEL,20;
">
},
{
@@ -89059,7 +89207,7 @@ item_db: (
bonus2 bSkillAtk,GS_TRIPLEACTION,30;
bonus bUnbreakableWeapon,0;
if(getrefine()>5) {
- bonus2 bAddRace,RC_DemiHuman,pow(((getrefine()>14)?14:getrefine())-4,2);
+ bonus2 bAddRace,RC_DemiHuman,pow(min(getrefine(),14)-4,2);
bonus2 bIgnoreDefRate,RC_DemiHuman,5;
}
if(getrefine()>8) {
@@ -89097,7 +89245,7 @@ item_db: (
bonus2 bSkillAtk,GS_TRIPLEACTION,30;
bonus bUnbreakableWeapon,0;
if(getrefine()>5) {
- bonus2 bAddRace,RC_DemiHuman,pow(((getrefine()>10)?10:getrefine())-4,2);
+ bonus2 bAddRace,RC_DemiHuman,pow(min(getrefine(),10)-4,2);
bonus2 bIgnoreDefRate,RC_DemiHuman,5;
}
if(getrefine()>8) {
@@ -89136,7 +89284,7 @@ item_db: (
bonus2 bSkillAtk,GS_TRIPLEACTION,30;
bonus bUnbreakableWeapon,0;
if(getrefine()>5) {
- bonus2 bAddRace,RC_DemiHuman,pow(((getrefine()>10)?10:getrefine())-4,2);
+ bonus2 bAddRace,RC_DemiHuman,pow(min(getrefine(),10)-4,2);
bonus2 bIgnoreDefRate,RC_DemiHuman,5;
}
if(getrefine()>8) {
@@ -89174,7 +89322,7 @@ item_db: (
bonus2 bSkillAtk,GS_TRIPLEACTION,30;
bonus bUnbreakableWeapon,0;
if(getrefine()>5) {
- bonus2 bAddRace,RC_DemiHuman,pow(((getrefine()>10)?10:getrefine())-4,2);
+ bonus2 bAddRace,RC_DemiHuman,pow(min(getrefine(),10)-4,2);
bonus2 bIgnoreDefRate,RC_DemiHuman,5;
}
if(getrefine()>8) {
@@ -89290,7 +89438,7 @@ item_db: (
Script: <"
bonus bHit,10;
bonus bCriticalRate,15;
- bonus4 bAutoSpell,"AL_DECAGI",1,500,0;
+ bonus4 bAutoSpell,AL_DECAGI,1,500,0;
">
},
{
@@ -89334,7 +89482,7 @@ item_db: (
Script: <"
bonus bHit,-10;
bonus bDelayrate,-10;
- bonus3 bAutoSpell,"MG_THUNDERSTORM",5,500;
+ bonus3 bAutoSpell,MG_THUNDERSTORM,5,500;
">
},
{
@@ -89375,7 +89523,7 @@ item_db: (
Script: <"
bonus bHit,10;
bonus bCriticalRate,15;
- bonus4 bAutoSpell,"AL_DECAGI",1,10,0;
+ bonus4 bAutoSpell,AL_DECAGI,1,10,0;
">
},
{
@@ -90582,7 +90730,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_DemiHuman,pow(((getrefine()>14)?14:getrefine())-3,2);
+ bonus2 bAddRace,RC_DemiHuman,pow(min(getrefine(),14)-3,2);
bonus2 bIgnoreDefRate,RC_DemiHuman,5;
}
if(getrefine()>8) {
@@ -90738,7 +90886,7 @@ item_db: (
Script: <"
bonus bMatk,50;
bonus bAtkEle,Ele_Water;
- bonus3 bAutoSpell,NJ_HYOUSYOURAKU,(getskilllv(NJ_HYOUSYOURAKU)?getskilllv(NJ_HYOUSYOURAKU):1),30;
+ bonus3 bAutoSpell,NJ_HYOUSYOURAKU,max(getskilllv(NJ_HYOUSYOURAKU),1),30;
">
},
{
@@ -90760,7 +90908,7 @@ item_db: (
Script: <"
bonus bMatk,50;
bonus bAtkEle,Ele_Wind;
- bonus3 bAutoSpell,NJ_RAIGEKISAI,(getskilllv(NJ_RAIGEKISAI)?getskilllv(NJ_RAIGEKISAI):1),30;
+ bonus3 bAutoSpell,NJ_RAIGEKISAI,max(getskilllv(NJ_RAIGEKISAI),1),30;
">
},
{
@@ -91195,7 +91343,7 @@ item_db: (
bonus2 bIgnoreDefRate,RC_DemiHuman,20;
bonus bUnbreakableWeapon,0;
if(getrefine()>5) {
- bonus2 bAddRace,RC_DemiHuman,pow(((getrefine()>14)?14:getrefine())-4,2);
+ bonus2 bAddRace,RC_DemiHuman,pow(min(getrefine(),14)-4,2);
bonus2 bIgnoreDefRate,RC_DemiHuman,5;
}
if(getrefine()>6) bonus bAspdRate,5;
@@ -97204,7 +97352,7 @@ item_db: (
nomail: true
noauction: true
}
- Script: <" getitem 14009,1; ">
+ Script: <" rentitem 14009,2592000; ">
},
{
Id: 13943
@@ -97223,7 +97371,7 @@ item_db: (
nomail: true
noauction: true
}
- Script: <" getitem 14010,1; ">
+ Script: <" rentitem 14010,2592000; ">
},
{
Id: 13944
@@ -97242,7 +97390,7 @@ item_db: (
nomail: true
noauction: true
}
- Script: <" getitem 14011,1; ">
+ Script: <" rentitem 14011,2592000; ">
},
{
Id: 13945
@@ -102859,7 +103007,7 @@ item_db: (
noselltonpc: true
nogstorage: true
}
- Script: <" getitem 2753,1; ">
+ Script: <" rentitem 2753,604800; ">
},
{
Id: 14243
@@ -102874,7 +103022,7 @@ item_db: (
noselltonpc: true
nogstorage: true
}
- Script: <" getitem 2754,1; ">
+ Script: <" rentitem 2754,604800; ">
},
{
Id: 14244
@@ -102889,7 +103037,7 @@ item_db: (
noselltonpc: true
nogstorage: true
}
- Script: <" getitem 2755,1; ">
+ Script: <" rentitem 2755,604800; ">
},
{
Id: 14245
@@ -102904,7 +103052,7 @@ item_db: (
noselltonpc: true
nogstorage: true
}
- Script: <" getitem 2756,1; ">
+ Script: <" rentitem 2756,604800; ">
},
{
Id: 14246
@@ -102919,7 +103067,7 @@ item_db: (
noselltonpc: true
nogstorage: true
}
- Script: <" getitem 2757,1; ">
+ Script: <" rentitem 2757,604800; ">
},
{
Id: 14247
@@ -102934,7 +103082,7 @@ item_db: (
noselltonpc: true
nogstorage: true
}
- Script: <" getitem 2758,1; ">
+ Script: <" rentitem 2758,604800; ">
},
{
Id: 14248
@@ -102949,7 +103097,7 @@ item_db: (
noselltonpc: true
nogstorage: true
}
- Script: <" getitem 2759,1; ">
+ Script: <" rentitem 2759,604800; ">
},
{
Id: 14249
@@ -102964,7 +103112,7 @@ item_db: (
noselltonpc: true
nogstorage: true
}
- Script: <" getitem 2760,1; ">
+ Script: <" rentitem 2760,604800; ">
},
{
Id: 14250
@@ -102979,7 +103127,7 @@ item_db: (
noselltonpc: true
nogstorage: true
}
- Script: <" getitem 2761,1; ">
+ Script: <" rentitem 2761,604800; ">
},
{
Id: 14251
@@ -102994,7 +103142,7 @@ item_db: (
noselltonpc: true
nogstorage: true
}
- Script: <" getitem 2762,1; ">
+ Script: <" rentitem 2762,604800; ">
},
{
Id: 14252
@@ -103009,7 +103157,7 @@ item_db: (
noselltonpc: true
nogstorage: true
}
- Script: <" getitem 2753,1; ">
+ Script: <" rentitem 2753,1296000; ">
},
{
Id: 14253
@@ -103024,7 +103172,7 @@ item_db: (
noselltonpc: true
nogstorage: true
}
- Script: <" getitem 2754,1; ">
+ Script: <" rentitem 2754,1296000; ">
},
{
Id: 14254
@@ -103039,7 +103187,7 @@ item_db: (
noselltonpc: true
nogstorage: true
}
- Script: <" getitem 2755,1; ">
+ Script: <" rentitem 2755,1296000; ">
},
{
Id: 14255
@@ -103054,7 +103202,7 @@ item_db: (
noselltonpc: true
nogstorage: true
}
- Script: <" getitem 2756,1; ">
+ Script: <" rentitem 2756,1296000; ">
},
{
Id: 14256
@@ -103069,7 +103217,7 @@ item_db: (
noselltonpc: true
nogstorage: true
}
- Script: <" getitem 2757,1; ">
+ Script: <" rentitem 2757,1296000; ">
},
{
Id: 14257
@@ -103084,7 +103232,7 @@ item_db: (
noselltonpc: true
nogstorage: true
}
- Script: <" getitem 2758,1; ">
+ Script: <" rentitem 2758,1296000; ">
},
{
Id: 14258
@@ -103099,7 +103247,7 @@ item_db: (
noselltonpc: true
nogstorage: true
}
- Script: <" getitem 2759,1; ">
+ Script: <" rentitem 2759,1296000; ">
},
{
Id: 14259
@@ -103114,7 +103262,7 @@ item_db: (
noselltonpc: true
nogstorage: true
}
- Script: <" getitem 2760,1; ">
+ Script: <" rentitem 2760,1296000; ">
},
{
Id: 14260
@@ -103129,7 +103277,7 @@ item_db: (
noselltonpc: true
nogstorage: true
}
- Script: <" getitem 2761,1; ">
+ Script: <" rentitem 2761,1296000; ">
},
{
Id: 14261
@@ -103144,7 +103292,7 @@ item_db: (
noselltonpc: true
nogstorage: true
}
- Script: <" getitem 2762,1; ">
+ Script: <" rentitem 2762,1296000; ">
},
{
Id: 14262
@@ -103322,7 +103470,7 @@ item_db: (
Buy: 20
Weight: 10
Upper: 63
- Script: <" getitem 1638,1; ">
+ Script: <" rentitem 1638,604800; ">
},
{
Id: 14281
@@ -103332,7 +103480,7 @@ item_db: (
Buy: 20
Weight: 10
Upper: 63
- Script: <" getitem 2752,1; ">
+ Script: <" rentitem 2752,604800; ">
},
{
Id: 14282
@@ -103362,7 +103510,7 @@ item_db: (
Buy: 20
Weight: 10
Upper: 63
- Script: <" getitem 2548,1; ">
+ Script: <" rentitem 2548,604800; ">
},
{
Id: 14285
@@ -103372,7 +103520,7 @@ item_db: (
Buy: 20
Weight: 10
Upper: 63
- Script: <" getitem 2137,1; ">
+ Script: <" rentitem 2137,604800; ">
},
{
Id: 14286
@@ -103382,7 +103530,7 @@ item_db: (
Buy: 20
Weight: 10
Upper: 63
- Script: <" getitem 2763,1; ">
+ Script: <" rentitem 2763,604800; ">
},
{
Id: 14287
@@ -104453,7 +104601,7 @@ item_db: (
Buy: 0
Weight: 10
Upper: 63
- Script: <" sc_start SC_PLUSATTACKPOWER,180000,10; ">
+ Script: <" sc_start SC_PLUSATTACKPOWER,1800000,10; ">
},
{
Id: 14526
@@ -104463,7 +104611,7 @@ item_db: (
Buy: 0
Weight: 10
Upper: 63
- Script: <" sc_start SC_PLUSMAGICPOWER,180000,10; ">
+ Script: <" sc_start SC_PLUSMAGICPOWER,1800000,10; ">
},
{
Id: 14527
@@ -106539,7 +106687,7 @@ item_db: (
EquipLv: 100
Script: <"
bonus bLuk,3;
- bonus3 bAutoSpell,ASC_METEORASSAULT,(getskilllv(ASC_METEORASSAULT)?getskilllv(ASC_METEORASSAULT):1),20;
+ bonus3 bAutoSpell,ASC_METEORASSAULT,max(getskilllv(ASC_METEORASSAULT),1),20;
">
},
{
@@ -106572,7 +106720,7 @@ item_db: (
Loc: 16
EquipLv: 50
Script: <"
- set .@rate,(getrefine()>10)?10:getrefine();
+ .@rate = min(getrefine(), 10);
bonus bHit,.@rate;
bonus bFlee,.@rate;
">
@@ -107340,7 +107488,7 @@ item_db: (
View: 8
Script: <"
bonus bAtkEle,Ele_Dark;
- bonus3 bAutoSpell,WL_HELLINFERNO,1,(getrefine()?getrefine()*20:20);
+ bonus3 bAutoSpell,WL_HELLINFERNO,1,max(getrefine(),1)*20;
">
},
{
@@ -107472,8 +107620,8 @@ item_db: (
Script: <"
bonus bUnbreakableWeapon,0;
bonus bBaseAtk,(getrefine()*5);
- set .@i,((BaseLevel/10)>12)?12:(BaseLevel/10);
- if(.@i>2) bonus bBaseAtk,((.@i-2)*5);
+ .@val = min(BaseLevel/10, 12);
+ if (.@val > 2) bonus bBaseAtk,((.@val-2)*5);
">
},
{
@@ -111310,8 +111458,8 @@ item_db: (
if(BaseJob==Job_Hunter && Upper!=2) bonus bBaseAtk,10;
bonus bBaseAtk,(getrefine()*3);
bonus bLongAtkRate,getrefine();
- set .@i,((BaseLevel/10)>12)?12:(BaseLevel/10);
- if(.@i>2) bonus bBaseAtk,((.@i-2)*5);
+ .@val = max(BaseLevel/10, 12);
+ if (.@val > 2) bonus bBaseAtk,((.@val-2)*5);
">
},
{
@@ -111955,7 +112103,7 @@ item_db: (
bonus bAtkRate,5;
bonus bDelayrate,-1;
bonus bMaxHP,0+(getrefine()*100);
- bonus2 bSkillAtk,"MC_MAMMONITE",20;
+ bonus2 bSkillAtk,MC_MAMMONITE,20;
">
},
{
@@ -112156,7 +112304,7 @@ item_db: (
Upper: 63
Loc: 256
View: 721
- Script: <" skill "AL_INCAGI",2; ">
+ Script: <" skill AL_INCAGI,2; ">
},
{
Id: 18548
@@ -114044,7 +114192,7 @@ item_db: (
EquipLv: 30
View: 836
Script: <"
- bonus3 bAutoSpell,"AL_INCAGI",10,50;
+ bonus3 bAutoSpell,AL_INCAGI,10,50;
bonus2 bAddItemHealRate,Carrot,2000;
">
},
@@ -117799,6 +117947,87 @@ item_db: (
OnUnequipScript: <" sc_end SC_DECORATION_OF_MUSIC; ">
},
{
+ Id: 19903
+ AegisName: "C_Witchs_Hat"
+ Name: "C Witchs Hat"
+ Type: 5
+ Loc: 1024
+ EquipLv: 1
+ Refine: false
+ View: 717
+ Script: <" bonus bCastrate,-10; ">
+},
+{
+ Id: 19917
+ AegisName: "C_Gloomy_Pumpkin_Hat"
+ Name: "C Gloomy Pumpkin Hat"
+ Type: 5
+ Loc: 1024
+ EquipLv: 1
+ Refine: false
+ View: 691
+ Script: <" bonus bSpeedRate,25; ">
+},
+{
+ Id: 19918
+ AegisName: "C_Lude_Mask"
+ Name: "C Lude Mask"
+ Type: 5
+ Loc: 6144
+ EquipLv: 1
+ Refine: false
+ View: 802
+ Script: <" bonus bHealPower2,20; bonus bAddItemHealRate,20; ">
+},
+{
+ Id: 19919
+ AegisName: "C_Cube_Mask_"
+ Name: "C Cube Mask "
+ Type: 5
+ Loc: 6144
+ EquipLv: 1
+ Refine: false
+ View: 472
+ Script: <" bonus bAspdRate,10; ">
+},
+{
+ Id: 19920
+ AegisName: "C_Adv_Whisper_Mask"
+ Name: "C Adv Whisper Mask"
+ Type: 5
+ Loc: 7168
+ EquipLv: 1
+ Refine: false
+ View: 458
+ Script: <" bonus bFlee,20; ">
+},
+{
+ Id: 22067
+ AegisName: "Witch_Shoes"
+ Name: "Witch Shoes"
+ Type: 5
+ Buy: 3500
+ Weight: 400
+ Def: 10
+ Job: 0xFFFFFFFE
+ Loc: 64
+ Script: <"
+ skill ALL_CATCRY, 1;
+ bonus bUnbreakableShoes,0;
+ autobonus3 "{ }",1000,7000,ALL_CATCRY,"{ montransform 1505,420000; }";
+ ">
+},
+{
+ Id: 20183
+ AegisName: "C_There_Is_Something"
+ Name: "C There Is Something"
+ Type: 5
+ Loc: 3072
+ EquipLv: 1
+ Refine: false
+ View: 1091
+},
+{
Id: 20500
AegisName: "T_Archangel_Wing"
Name: "T Archangel's Wings"
@@ -118019,6 +118248,89 @@ item_db: (
Script: <" itemskill RK_LUXANIMA,1; ">
},
{
+ Id: 22669
+ AegisName: "HALLOWEEN_G_BOX"
+ Name: "Halloween Box"
+ Type: 2
+ Weight: 20
+ Script: <" getrandgroupitem 22669,1; ">
+},
+{
+ Id: 22670
+ AegisName: "DARK_INVITATION"
+ Name: "Invitation of Darkness"
+ Type: 2
+ Buy: 10
+ Weight: 10
+ Upper: 63
+ Script: <"
+ .@r = rand(1,3);
+ if (.@r == 1) {
+ specialeffect2 EF_DEVIL;
+ warp "niflheim",193,186;
+ } else if(.@r == 2) {
+ heal -500,-1000;
+ sc_start SC_STUN,3000,0;
+ } else {
+ specialeffect2 EF_DEVIL;
+ warp "niflheim",347,255;
+ }
+ ">
+},
+{
+ Id: 22777
+ AegisName: "Buff_Gift_Set"
+ Name: "Buff Gift Set"
+ Type: 2
+ Buy: 20
+ Weight: 100
+ Trade: {
+ nodrop: true
+ notrade: true
+ nocart: true
+ nostorage: true
+ nogstorage: true
+ nomail: true
+ noauction: true
+ }
+ Script: <"
+ getitem 14534,5;
+ getitem 12215,5;
+ getitem 12216,5;
+ ">
+},
+{
+ Id: 22837
+ AegisName: "Integer_Time"
+ Name: "Integer Time"
+ Type: 2
+ Buy: 0
+ Weight: 0
+ Upper: 63
+ EquipLv: 50
+ Trade: {
+ nodrop: true
+ notrade: true
+ noselltonpc: true
+ nocart: true
+ nostorage: true
+ nogstorage: true
+ nomail: true
+ noauction: true
+ }
+ Script: <" TmpRouletteBronze += 1; ">
+},
+{
+
+ Id: 22838
+ AegisName: "Something_Candy_Holder"
+ Name: "Something Candy Holder"
+ Type: 2
+ Buy: 20
+ Weight: 10
+ Script: <" getrandgroupitem 22838,1; ">
+},
+{
Id: 28200
AegisName: "End_Of_The_Horizon"
Name: "End Of The Horizon"
@@ -118050,7 +118362,7 @@ item_db: (
WeaponLv: 4
EquipLv: 141
View: 21
- Script: <" bonus3 bAutoSpell,"GC_CROSSIMPACT",1,50; ">
+ Script: <" bonus3 bAutoSpell,GC_CROSSIMPACT,1,50; ">
},
{
Id: 28202
@@ -118068,7 +118380,7 @@ item_db: (
WeaponLv: 4
EquipLv: 141
View: 21
- Script: <" bonus3 bAutoSpell,"GC_CROSSIMPACT",1,50; ">
+ Script: <" bonus3 bAutoSpell,GC_CROSSIMPACT,1,50; ">
},
{
Id: 28203
@@ -118089,7 +118401,7 @@ item_db: (
bonus bHit,8;
bonus bCritical,8;
bonus2 bAddRace,RC_DemiHuman,30;
- bonus2 bVariableCastrate,"GS_TRACKING",-20;
+ bonus2 bVariableCastrate,GS_TRACKING,-20;
bonus2 bIgnoreDefRaceRate,RC_DemiHuman,10;
bonus bUnbreakableWeapon,0;
">