Republic Hat

Item ID 19115 Name Republic Hat
A hat that giving the feeling of being in republic of Schwartzvald.
_______________________
Increases Ranged Physical Damage by 6%.
_______________________
Refine Level +7:
Increases Ranged Physical Damage by 2%.
_______________________
Refine Level +10:
Increases Ranged Physical Damage by 4%.
_______________________
Type: Headgear
Defense: 3
Position: Upper
Weight: 40
Armor Level: 1
_______________________
Requirement:
Base Level 100
Weapon Level 0 Identifier Republic_Hat
Attack 0 Type Armor
MATK 0 Equip Locations Upper Headgear
Defense 3 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 40 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();
.@val = 6;
if (.@r >= 7) {
   .@val += 2;
}
if (.@r >= 9) {
   .@val += 4;
}
bonus bLongAtkRate,.@val;

Set Script
Republic Hat
Republic scarf
.@r = getequiprefinerycnt(EQI_HEAD_TOP);
bonus bAspd,1;
bonus bBaseAtk,15*(.@r/2);
bonus bCritAtkRate,4*(.@r/2);
if (.@r>=7) {
   bonus bCriticalLong,30;
   bonus bAspdRate,10;
   if (.@r>=9) {
       bonus2 bAddSize,Size_All,10;
   }
}