Royal Prontera Cape

Item ID 480479 Name Royal Prontera Cape
None
Weapon Level 0 Identifier Royal_Prontera_US
Attack 0 Type Armor
MATK 0 Equip Locations Garment
Defense 100 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 70 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 bNoKnockback;
bonus bAtkRate,20;
bonus bBaseAtk,20*(.@r/2);
bonus bCon,2*(.@r/2);
bonus bCrt,2*(.@r/2);
bonus bLongAtkRate,7*(.@r/3);
bonus bCritAtkRate,7*(.@r/3);
if (.@r>=7) {
   bonus bAspdRate,10;
   bonus bAtkRate,15;
   if (.@r>=9) {
       bonus2 bAddEle,Ele_All,20;
       if (.@r>=10) {
            bonus bCritical,20;
            if (.@r>=11) {
                bonus bAllStats,15;
                if (.@r>=12) {
                    bonus bCRate,10;
                    bonus bLongAtkRate,15;
                    if (.@r>=13) {
                        bonus2 bSkillAtk,"RK_IGNITIONBREAK",50;
                        bonus2 bSkillAtk,"LG_CANNONSPEAR",50;
                        if (.@r>=14) {
                             skill "LG_SHIELDSPELL",3;
                        }
                    }
                }
            }
       }
   }
}
if (.@g>=ENCHANTGRADE_D)
   bonus bBaseAtk,100;
if (.@g>=ENCHANTGRADE_C)
   bonus bDelayrate,-15;
if (.@g>=ENCHANTGRADE_B)
   bonus bPAtk,20;
if (.@g>=ENCHANTGRADE_A) {
   if (.@r>=14) {
       bonus2 bSkillAtk,"RK_IGNITIONBREAK",70;
       bonus2 bSkillAtk,"LG_CANNONSPEAR",70;
   }
}

Set Script
Baphomet Card
Royal Prontera Cape
bonus2 bAddClass,Class_Boss,40;
if (getequiprefinerycnt(EQI_GARMENT)>=14)
   autobonus "{ bonus bStr,250; bonus bDex,250; bonus bLuk,250; }",50,10000,BF_WEAPON|BF_NORMAL;
Chaotic Baphomet Junior Card
Royal Prontera Cape
bonus bAtkRate,15;
bonus bMaxHPrate,15;
if (getequiprefinerycnt(EQI_GARMENT)>=10) {
   bonus bHPGainValue,250;
   bonus bSPGainValue,25;
}