Cursed Diabolical Armor

Item ID 450427 Name Cursed Diabolical Armor
None
Weapon Level 0 Identifier Diabolic_Armor_US
Attack 0 Type Armor
MATK 0 Equip Locations Armor
Defense 120 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 20 Min Equip Level 100
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
.@g = getenchantgrade();
bonus bUnbreakableArmor;
bonus bPAtk,3*(.@r/2);
bonus bBaseAtk,50*(.@r/3);
if (.@r>=10) {
   bonus2 bResEff,Eff_Curse,10000;
   bonus bFlee2,20;
   if (.@r>=11) {
       bonus2 bSkillAtk,"SHC_SAVAGE_IMPACT",30;
       bonus2 bSkillAtk,"IG_OVERSLASH",30;
       if (.@r>=12) {
            bonus2 bAddEle,Ele_All,20;
            if (.@r>=13) {
                skill "LK_AURABLADE",5;
                autobonus3 "{ bonus2 bAddEle,Ele_All,30; }",1000,20000,"LK_AURABLADE";
            }
       }
   }
}
if (.@g>=ENCHANTGRADE_D) {
   bonus bMaxHPrate,15;
   bonus bMaxSPrate,15;
   if (.@g>=ENCHANTGRADE_C) {
       bonus bVariableCastrate,-15;
       if (.@g>=ENCHANTGRADE_B) {
            bonus bDelayrate,-20;
            if (.@g>=ENCHANTGRADE_A) {
                bonus2 bSkillAtk,"SHC_SAVAGE_IMPACT",50;
                bonus2 bSkillAtk,"IG_OVERSLASH",50;
            }
       }
   }
}

Set Script
Phreeoni Card
Cursed Diabolical Armor
bonus bStr,30;
bonus bPow,30;
bonus2 bAddEle,Ele_All,30;