Racing Cap (Gunslinger)

Item ID 19202 Name Racing Cap (Gunslinger)
A very valuable commemorative hat made by the Monster Race Association for customers who use Monster Race.
_______________________
For each 2 Refine Levels:
ATK +10
_______________________
For each 3 Refine Levels:
Increases Attack Speed (decreases After Attack Delay by 2%).
_______________________
Refine Level +8:
For each Level of Piercing Shot:
Decreases Hammer of God skill cooldown by 2 seconds.

For each Level of Ground Drift:
Decreases Dragon Tail skill cooldown by 0.2 seconds.
_______________________
Refine Level +11:
Decreases Crimson Marker skill cooldown by 1 second.
_______________________
Type: Headgear
Defense: 10
Position: Upper
Weight: 0
Armor Level: 1
_______________________
Requirement:
Base Level 100
Rebellion
Weapon Level 0 Identifier Racing_C_Gunner
Attack 0 Type Armor
MATK 0 Equip Locations Upper Headgear
Defense 10 Equippable Jobs Gunslinger, Rebellion
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 0 Min Equip Level 100
NPC Buy 20 Max Equip Level None
NPC Sell 10 Refineable Yes
Credit Price None Trade restriction Can't be dropped, Can't be traded with player, Can't be sold to NPC, Can't be put in Cart, Can't be put in Guild Storage, Can't be attached in Mail, Can't be auctioned
Item Script
.@r = getrefine();
bonus bBaseAtk,10*(.@r/2);
bonus bAspdRate,2*(.@r/3);
if (.@r>=8) {
   bonus2 bSkillCooldown,"RL_HAMMER_OF_GOD",-2000*getskilllv("GS_PIERCINGSHOT");
   bonus2 bSkillCooldown,"RL_D_TAIL",-200*getskilllv("GS_GROUNDDRIFT");
}
if (.@r>=11)
   bonus2 bSkillCooldown,"RL_C_MARKER",-1000;

Set Script
Racing Cap (Gunslinger)
Racing(Gunslinger) 1Lv
autobonus3 "{ bonus2 bSkillAtk,\"RL_BANISHING_BUSTER\",20; }",1000,60000,"RL_S_STORM";
Racing Cap (Gunslinger)
Racing(Gunslinger) 2Lv
autobonus3 "{ bonus2 bSkillAtk,\"RL_BANISHING_BUSTER\",40; }",1000,60000,"RL_S_STORM";
bonus2 bSkillCooldown,"RL_BANISHING_BUSTER",-1000;
Racing Cap (Gunslinger)
Racing(Gunslinger) 3Lv
autobonus3 "{ bonus2 bSkillAtk,\"RL_BANISHING_BUSTER\",60; }",1000,60000,"RL_S_STORM";
bonus2 bSkillCooldown,"RL_BANISHING_BUSTER",-1500;
Racing Shoes
Racing Cap (Gunslinger)
if (getequiprefinerycnt(EQI_SHOES)+getequiprefinerycnt(EQI_HEAD_TOP) >= 21)
   autobonus3 "{ bonus2 bSkillAtk,\"RL_BANISHING_BUSTER\",30; }",1000,10000,"RL_S_STORM";