Racing Cap (Ranger)

Item ID 19199 Name Racing Cap (Ranger)
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 Steel Crow:
Increases damage of Aimed Bolt by 3%.
_______________________
Refine Level +11:
Decreases After Skill Delay by 15%.
_______________________
Type: Headgear
Defense: 10
Position: Upper
Weight: 0
Armor Level: 1
_______________________
Requirement:
Base Level 100
Ranger
Weapon Level 0 Identifier Racing_C_Ranger
Attack 0 Type Armor
MATK 0 Equip Locations Upper Headgear
Defense 10 Equippable Jobs Hunter
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper Third, Third Upper, Third Baby
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 bSkillAtk,"RA_AIMEDBOLT",3*getskilllv("HT_STEELCROW");
if (.@r>=11)
   bonus bDelayrate,-15;

Set Script
Racing Cap (Ranger)
Racing(Ranger) 1Lv
autobonus3 "{ bonus bLongAtkRate,2; }",1000,60000,"RA_FEARBREEZE";
Racing Cap (Ranger)
Racing(Ranger) 2Lv
autobonus3 "{ bonus bLongAtkRate,4; }",1000,60000,"RA_FEARBREEZE";
bonus2 bSkillCooldown,"RA_ARROWSTORM",-500;
Racing Cap (Ranger)
Racing(Ranger) 3Lv
autobonus3 "{ bonus bLongAtkRate,7; }",1000,60000,"RA_FEARBREEZE";
bonus2 bSkillCooldown,"RA_ARROWSTORM",-1500;
Racing Shoes
Racing Cap (Ranger)
if (getequiprefinerycnt(EQI_SHOES)+getequiprefinerycnt(EQI_HEAD_TOP) >= 21) {
   bonus2 bSkillCooldown,"RA_AIMEDBOLT",-500;
   bonus2 bSkillAtk,"RA_AIMEDBOLT",15;
}