Racing Cap (Geneticist)

Item ID 19190 Name Racing Cap (Geneticist)
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 Axe Training:
Increases damage of Cart Tornado by 5%.
_______________________
Refine Level +11:
Physical attacks have a chance to auto-cast Level 2 Cart Tornado.
(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
Genetic
Weapon Level 0 Identifier Racing_C_Gene
Attack 0 Type Armor
MATK 0 Equip Locations Upper Headgear
Defense 10 Equippable Jobs Alchemist
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,"GN_CART_TORNADO",5*getskilllv("AM_AXEMASTERY");
if (.@r>=11)
   bonus3 bAutoSpell,"GN_CART_TORNADO",max(2,getskilllv("GN_CART_TORNADO")),50;
/* Unknow Rates */

Set Script
Racing Cap (Geneticist)
Racing(Geneticist) 1Lv
autobonus3 "{ bonus2 bAddSize,Size_All,5; }",1000,60000,"GN_CARTBOOST";
Racing Cap (Geneticist)
Racing(Geneticist) 2Lv
autobonus3 "{ bonus2 bAddSize,Size_All,7; }",1000,60000,"GN_CARTBOOST";
bonus2 bSkillCooldown,"GN_MANDRAGORA",-1000;
Racing Cap (Geneticist)
Racing(Geneticist) 3Lv
autobonus3 "{ bonus bBaseAtk,40; bonus2 bAddSize,Size_All,15; }",1000,60000,"GN_CARTBOOST";
bonus2 bSkillCooldown,"GN_MANDRAGORA",-5000;
Racing Shoes
Racing Cap (Geneticist)
if (getequiprefinerycnt(EQI_SHOES)+getequiprefinerycnt(EQI_HEAD_TOP) >= 21) {
   bonus2 bSkillAtk,"GN_CART_TORNADO",30;
   bonus2 bSkillCooldown,"GN_CART_TORNADO",-300;
}