Splendid Swift Armor

Item ID 15353 Name Splendid Swift Armor
A suit of armor embedded with the power of rapid.
_______________________
ATK +50
_______________________
For each 3 Refine Levels:
Increases Attack Speed (decreases After Attack Delay by 2%).
_______________________
Refine Level +7:
Ignores physical defense of Brute and Demon race monsters by 30%.
_______________________
Refine Level +9:
Increases Physical Damage against enemies of Brute and Demon race by 10%.
_______________________
Refine Level +11:
Increases Physical Damage against enemies of Wind and Earth elemental by 10%.
_______________________
When equipped with Temporal AGI Boots or Modified AGI Boots:
ASPD +1
Total Refine Level of entire set at least +21:
Ignores physical defense of Brute and Demon race monsters by 20%.
_______________________
Type: Armor
Defense: 120
Weight: 200
Armor Level: 1
_______________________
Requirement: None
Weapon Level 0 Identifier Overwhelm_Agi_Armor
Attack 0 Type Armor
MATK 0 Equip Locations Armor
Defense 120 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 200 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 bBaseAtk,50;
if (.@r > 2)
   bonus bAspdRate,.@r/3*2;
if (.@r > 6) {
   bonus2 bIgnoreDefRaceRate,RC_Brute,30;
   bonus2 bIgnoreDefRaceRate,RC_Demon,30;
}
if (.@r > 8) {
   bonus2 bAddRace,RC_Brute,10;
   bonus2 bAddRace,RC_Demon,10;
}
if (.@r > 10) {
   bonus2 bAddEle,Ele_Earth,10;
   bonus2 bAddEle,Ele_Wind,10;
}

Set Script
Splendid Swift Armor
Temporal Agi Boots
bonus bAspd,1;
.@r = getequiprefinerycnt(EQI_ARMOR) + getequiprefinerycnt(EQI_SHOES);
if (.@r >= 21) {
   bonus2 bIgnoreDefRaceRate,RC_Brute,20;
   bonus2 bIgnoreDefRaceRate,RC_Demon,20;
}
Splendid Swift Armor
Modified Agility Boots
bonus bAspd,1;
.@r = getequiprefinerycnt(EQI_ARMOR) + getequiprefinerycnt(EQI_SHOES);
if (.@r >= 21) {
   bonus2 bIgnoreDefRaceRate,RC_Brute,20;
   bonus2 bIgnoreDefRaceRate,RC_Demon,20;
}
Young Leaf of World Tree (Agi)
Splendid Swift Armor
Temporal Agi Manteau
.@sum = getequiprefinerycnt(EQI_HEAD_MID)+getequiprefinerycnt(EQI_ARMOR)+getequiprefinerycnt(EQI_GARMENT);
bonus2 bAddRace,RC_All,7;
bonus2 bAddRace,RC_Player_Human,-7;
bonus2 bAddRace,RC_Player_Doram,-7;
if (.@sum >= 14) {
   bonus bBaseAtk,80;
}
if (.@sum >= 18) {
   bonus2 bAddRace,RC_All,7;
   bonus2 bAddRace,RC_Player_Human,-7;
   bonus2 bAddRace,RC_Player_Doram,-7;
   bonus bAspd,1;
}
if (.@sum >= 22) {
   bonus bDelayrate,-10;
}