Upgrade Part - Engine

Item ID 20733 Name Upgrade Part - Engine
Designed to maximize the outputs of Mado Gears, this part is easy to assemble and disassemble.
_______________________
Decreases After Skill Delay by 10%.
_______________________
Refine Level +7:
Increases resistance against Neutral elemental attacks by 10%.
_______________________
Refine Level +9:
Decreases After Skill Delay by 10%.
_______________________
Type: Garment
Defense: 25
Weight: 150
Armor Level: 1
_______________________
Requirement:
Base Level 100
Mechanic
Weapon Level 0 Identifier Upgrade_Part_Engine
Attack 0 Type Armor
MATK 0 Equip Locations Garment
Defense 25 Equippable Jobs Blacksmith
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper Third, Third Upper, Third Baby
Weight 150 Min Equip Level 100
NPC Buy 10 Max Equip Level None
NPC Sell 5 Refineable Yes
Credit Price None Trade restriction None
Item Script
bonus bDelayrate,-10;
.@r = getrefine();
if (.@r>=7) {
   bonus2 bSubEle,Ele_Neutral,10;
}
if (.@r>=9) {
   bonus bDelayrate,-10;
}

Set Script
Upgrade Part - Plate
Upgrade Part - Engine
Upgrade Part - Booster
Upgrade Part - Gun Barrel
bonus2 bSkillAtk,"NC_ARMSCANNON",50;
Upgrade Part - Plate
Upgrade Part - Engine
Upgrade Part - Booster
Upgrade Part - Gun Barrel
bonus2 bSkillAtk,"NC_ARMSCANNON",50;
Upgrade Part - Engine
Auto Parts - Cannons
.@r = getequiprefinerycnt(EQI_GARMENT);
bonus bAtkRate,10;
bonus bVariableCastrate,-20;
if (.@r>=7)
   bonus2 bAddRace,RC_All,15;
if (.@r>=9)
   bonus bUseSPrate,-10;
Upgrade Part - Gun Barrel
Upgrade Part - Plate
Upgrade Part - Engine
Upgrade Part - Booster
Auto Parts - Cannons
bonus2 bResEff,Eff_Freeze,10000;
if (getequiprefinerycnt(EQI_ARMOR)+getequiprefinerycnt(EQI_GARMENT)+getequiprefinerycnt(EQI_SHOES)>=27) {
   bonus2 bSkillCooldown,"NC_ARMSCANNON",-300;
   bonus2 bAddClass,Class_Boss,25;
}