Overwelm Luk Armor

Item ID 15346 Name Overwelm Luk Armor
Violet armor with unexpected luck.
_______________________
ATK +50
_______________________
For each 3 Refine Levels:
Increases Critical Damage by 2%.
_______________________
Refine Level +7:
Ignores physical defense of Brute and Demon race 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 LUK Boots [1] or Modified LUK Boots [1]:
ATK +10%
Total Refine Level of entire set at least +21:
Ignores physical defense of Brute and Demon race by additional 20%.
_______________________
Type: Armor
Defense: 120
Weight: 200
Armor Level: 1
_______________________
Requirement: None
Weapon Level 0 Identifier Overwhelm_Luk_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 bCritAtkRate,.@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
Overwelm Luk Armor
Temporal Luk Boots
bonus bCritAtkRate,10;
.@r = getequiprefinerycnt(EQI_ARMOR) + getequiprefinerycnt(EQI_SHOES);
if (.@r >= 21) {
   bonus2 bIgnoreDefRaceRate,RC_Brute,20;
   bonus2 bIgnoreDefRaceRate,RC_Demon,20;
}
Overwelm Luk Armor
Modified Luk Boots
bonus bCritAtkRate,10;
.@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 (Luk)
Overwelm Luk Armor
Temporal Luk Manteau
.@sum = getequiprefinerycnt(EQI_HEAD_MID)+getequiprefinerycnt(EQI_ARMOR)+getequiprefinerycnt(EQI_GARMENT);
bonus2 bAddRace,RC_All,10;
bonus2 bAddRace,RC_Player_Human,-10;
bonus2 bAddRace,RC_Player_Doram,-10;
if (.@sum >= 14) {
   bonus bBaseAtk,80;
}
if (.@sum >= 18) {
   bonus2 bAddRace,RC_All,10;
   bonus2 bAddRace,RC_Player_Human,-10;
   bonus2 bAddRace,RC_Player_Doram,-10;
   bonus bCritAtkRate,12;
}
if (.@sum >= 22) {
   bonus bShortAtkRate,10;
   bonus bLongAtkRate,10;
}