Automatic Engine Wing C-Type

Item ID 480451 Name Automatic Engine Wing C-Type
None
Weapon Level 0 Identifier Auto_E_WingC_TH
Attack 0 Type Armor
MATK 0 Equip Locations Garment
Defense 35 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 80 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();
skill "BS_GREED",1;
bonus bMaxHP,2500;
bonus bBaseAtk,10*(.@r/2);
bonus bMatk,10*(.@r/2);
if (.@r>=7) {
   bonus bAspdRate,10;
   bonus bVariableCastrate,-15;
   bonus bCritical,10;
   if (.@r>=9) {
       bonus bShortAtkRate,10;
       bonus bLongAtkRate,10;
       bonus bMatkRate,10;
       if (.@r>=11) {
            bonus bShortAtkRate,7;
            bonus bLongAtkRate,7;
            bonus bMatkRate,10;
       }
   }
}

Set Script
Wireless Security Drone
Automatic Engine Wing C-Type
bonus2 bExpAddRace,RC_All,4+(getequiprefinerycnt(EQI_GARMENT)/2);
Automatic Armor Type A
Automatic Engine Wing C-Type
if ((getequiprefinerycnt(EQI_ARMOR)+getequiprefinerycnt(EQI_GARMENT)) >= 21) {
   bonus2 bIgnoreDefRaceRate,RC_Dragon,30;
   bonus2 bIgnoreDefRaceRate,RC_Demon,30;
   bonus2 bIgnoreDefRaceRate,RC_Fish,30;
   bonus2 bIgnoreMdefRaceRate,RC_Dragon,30;
   bonus2 bIgnoreMdefRaceRate,RC_Demon,30;
   bonus2 bIgnoreMdefRaceRate,RC_Fish,30;
}
Automatic Armor Type B
Automatic Engine Wing C-Type
if ((getequiprefinerycnt(EQI_ARMOR)+getequiprefinerycnt(EQI_GARMENT)) >= 21) {
   bonus2 bIgnoreDefRaceRate,RC_Dragon,30;
   bonus2 bIgnoreDefRaceRate,RC_Demon,30;
   bonus2 bIgnoreDefRaceRate,RC_Fish,30;
   bonus2 bIgnoreMdefRaceRate,RC_Dragon,30;
   bonus2 bIgnoreMdefRaceRate,RC_Demon,30;
   bonus2 bIgnoreMdefRaceRate,RC_Fish,30;
}