Squirrel Ears Hood Hat

Item ID 19140 Name Squirrel Ears Hood Hat
A cap with adorable pointy squirrel ears.
You feel like a squirrel just by wearing it.
_______________________
ASPD +1
_______________________
Increases Critical Damage by 10%.
_______________________
Ignores physical defense of all monsters by 10%.
_______________________
Increases Critical by 5 when dealing Ranged Physical Damage.
_______________________
Refine Level +5:
ASPD +1
Increases Critical Damage by 2%.
Ignores physical defense of all monsters by 20%.
Increases Critical by 10 when dealing Ranged Physical Damage.
_______________________
Refine Level +7:
ASPD +1
Increases Critical Damage by 6%
Ignores physical defense of all monsters by 30%.
Increases Critical by 10 when dealing Ranged Physical Damage.
Critical +20
_______________________
Refine Level +9:
ASPD +1
Increases Critical Damage by 12%
Ignores physical defense of all monsters by 40%.
Increases Critical by 20 when dealing Ranged Physical Damage.
Random chance to critical damage by 100% for 5 sec when dealing physical damage.
_______________________
Type: Headgear
Defense: 10
Position: Upper
Weight: 20
Armor Level: 1
_______________________
Requirement:
Base Level 100
Weapon Level 0 Identifier Squirrel_Ear_Hat
Attack 0 Type Armor
MATK 0 Equip Locations Upper Headgear
Defense 10 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 20 Min Equip Level 100
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus bAspd,1;
bonus bCriticalLong,5;
bonus bCritAtkRate,10;
bonus2 bIgnoreDefRaceRate,RC_All,10;
if (.@r > 4) {
   bonus bAspd,1;
   bonus bCriticalLong,10;
   bonus bCritAtkRate,2;
   bonus2 bIgnoreDefRaceRate,RC_All,20;
}
if (.@r > 6) {
   bonus bAspd,1;
   bonus bCriticalLong,15;
   bonus bCritAtkRate,6;
   bonus2 bIgnoreDefRaceRate,RC_All,30;
}
if (.@r > 8) {
   bonus bAspd,1;
   bonus bCriticalLong,20;
   bonus bCritAtkRate,12;
   bonus2 bIgnoreDefRaceRate,RC_All,40;
   autobonus "{ bonus bCritAtkRate,100; }",70,5000;
}

Set Script
Squirrel Ears Hood Hat
Petal Tail
.@r = getequiprefinerycnt(EQI_HEAD_TOP);
if (.@r>=6) {
   bonus bAspd,1;
   bonus2 bAddClass,Class_Boss,10;
   bonus bCritAtkRate,10;
   bonus bCriticalLong,10;
}
if (.@r>=8) {
   bonus bAspd,1;
   bonus2 bAddClass,Class_Boss,15;
   bonus bCritAtkRate,15;
   bonus bCriticalLong,15;
}