Royal Alberta Cape

Item ID 480540 Name Royal Alberta Cape
None
Weapon Level 0 Identifier Royal_Alberta_US
Attack 0 Type Armor
MATK 0 Equip Locations Garment
Defense 0 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 10 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 bLongAtkRate,20+(7*(.@r/3));
bonus bBaseAtk,20*(.@r/2);
bonus bCon,2*(.@r/2);
bonus bPow,2*(.@r/2);
bonus2 bAddSize,Size_All,7*(.@r/3);
if (.@r>=7) {
   bonus bAspdRate,10;
   bonus bLongAtkRate,15;
   if (.@r>=9) {
       bonus2 bAddEle,Ele_All,20;
       if (.@r>=10) {
            bonus bBaseAtk,100;
            if (.@r>=11) {
                bonus bAllStats,15;
                if (.@r>=12) {
                    bonus bCon,10;
                    bonus bLongAtkRate,15;
                    if (.@r>=13) {
                        bonus2 bSkillAtk,"GN_CARTCANNON",50;
                        bonus2 bSkillAtk,"NC_ARMSCANNON",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,"GN_CARTCANNON",70;
       bonus2 bSkillAtk,"NC_ARMSCANNON",70;
   }
}

Set Script
Drake Card
Royal Alberta Cape
bonus2 bAddClass,Class_Boss,40;
if (getequiprefinerycnt(EQI_GARMENT)>=14)
   autobonus "{ bonus bStr,250; bonus bDex,250; bonus bLuk,250; }",50,10000,BF_SHORT|BF_LONG;
Pirate Skeleton Card
Royal Alberta Cape
bonus bMaxHPrate,15;
bonus bLongAtkRate,20;
if (getequiprefinerycnt(EQI_GARMENT)>=10) {
   bonus bHPGainValue,250;
   bonus bSPGainValue,25;
}