Racing Cap (Wanderer)

Item ID 19201 Name Racing Cap (Wanderer)
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 Dancing Lesson:
ATK +5
_______________________
Refine Level +11:
Physical attacks have a chance to auto-cast Level 2Reverberation.
(If you learned a higher Level, it will be auto-cast the Level you learned).
_______________________
Type: Headgear
Defense: 10
Position: Upper
Weight: 0
Armor Level: 1
_______________________
Requirement:
Base Level 100
Wanderer
Weapon Level 0 Identifier Racing_C_Wander
Attack 0 Type Armor
MATK 0 Equip Locations Upper Headgear
Defense 10 Equippable Jobs Bard / Dancer
Range 0 Equip Gender 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)
   bonus bBaseAtk,5*getskilllv("DC_DANCINGLESSON");
if (.@r>=11)
   bonus3 bAutoSpell,"WM_REVERBERATION",max(2,getskilllv("WM_REVERBERATION")),50;
/* Unknow rates*/

Set Script
Racing Cap (Wanderer)
Racing(Wanderers & Minstrel) 1Lv
bonus bBaseAtk,20;
Racing Cap (Wanderer)
Racing(Wanderers & Minstrel) 2Lv
bonus bBaseAtk,30;
autobonus3 "{ bonus2 bIgnoreDefClassRate,Class_Normal,25; }",1000,60000,"WA_MOONLIT_SERENADE";
Racing Cap (Wanderer)
Racing(Wanderers & Minstrel) 3Lv
bonus bBaseAtk,40;
autobonus3 "{ bonus2 bIgnoreDefClassRate,Class_Normal,50; }",1000,60000,"WA_MOONLIT_SERENADE";
Racing Shoes
Racing Cap (Wanderer)
if (getequiprefinerycnt(EQI_SHOES)+getequiprefinerycnt(EQI_HEAD_TOP) >= 21)
   autobonus "{ bonus bBaseAtk,200; bonus bMatk,200; }",15,10000,BF_WEAPON|BF_MAGIC;