Boosted Adventurer's Armor

Item ID 450300 Name Boosted Adventurer's Armor
None
Weapon Level 0 Identifier Z_Boost_Armor
Attack 0 Type Armor
MATK 0 Equip Locations Armor
Defense 80 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 0 Equip Upper None
Weight 0 Min Equip Level 1
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus bMaxHP,700;
bonus bMaxSP,200;
bonus bAllStats,.@r/3;
if (.@r>=7) {
   bonus bBaseAtk,30;
   bonus bMatk,30;
   if (.@r>=9) {
       bonus bAspdRate,7;
       bonus bVariableCastrate,-7;
   }
}

Set Script
Boosted Adventurer's Armor
Boosted Adventurer's Boots
Boosted Adventurer's Pauldrons
if ((getequiprefinerycnt(EQI_ARMOR) + getequiprefinerycnt(EQI_GARMENT) + getequiprefinerycnt(EQI_SHOES)) >= 27) {
   bonus bAtkRate,5;
   bonus bMatkRate,5;
   bonus bAspdRate,10;
   bonus bVariableCastrate,-7;
   bonus bFixedCastrate,-10;
}