Golden Angel Hairband

Item ID 19221 Name Golden Angel Hairband
A hairband adorned with what appears to be the wings of a golden angel.
_______________________
Base STR at least 70:
ATK +5
_______________________
Base AGI at least 70:
ASPD +2%
_______________________
Base VIT at least 70:
MaxHP +2%
MaxSP +2%
_______________________
Base INT at least 70:
MATK +5
_______________________
Base DEX at least 70:
Increases long-ranged damage on the targets by 2%.
_______________________
Base LUK at least 70:
Increases critical damage on the targets by 2%.
_______________________
Refine Level +7:
Base STR at least 70:
Additional ATK +10.

Base AGI at least 70:
Additional ASPD +3%.

Base VIT at least 70:
Additional MaxHP +3%.
Additional MaxSP +3%.

Base INT at least 70:
Additional MATK +10.

Base DEX at least 70:
Increases long-ranged damage on the targets by additional 3%.

Base LUK at least 70:
Increases critical damage on the targets by additional 3%.
_______________________
When equipped with Golden Angel Wings:
All Basic Stats +1
_______________________
Type: Headgear
Defense: 10
Position: Upper
Weight: 1
Armor Level: 1
_______________________
Requirement: None
Weapon Level 0 Identifier Golden_Angel_Band_TH
Attack 0 Type Armor
MATK 0 Equip Locations Upper Headgear
Defense 10 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 0 Equip Upper None
Weight 1 Min Equip Level 1
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
if (readparam(bStr) >= 70) {
   bonus bBaseAtk,5;
   if (.@r >= 7)
      bonus bBaseAtk,10;
}
if (readparam(bInt) >= 70) {
   bonus bMatk,5;
   if (.@r >= 7)
      bonus bMatk,10;
}
if (readparam(bVit) >= 70) {
   bonus bMaxHPrate,2;
   bonus bMaxSPrate,2;
   if (.@r >= 7) {
      bonus bMaxHPrate,2;
      bonus bMaxSPrate,2;
   }
}
if (readparam(bAgi) >= 70) {
   bonus bAspdRate,2;
   if (.@r >= 7)
      bonus bAspdRate,3;
}
if (readparam(bDex) >= 70) {
   bonus bLongAtkRate,2;
   if (.@r >= 7)
      bonus bLongAtkRate,3;
}
if (readparam(bLuk) >= 70) {
   bonus bCritAtkRate,2;
   if (.@r >= 7)
      bonus bCritAtkRate,3;
}

Set Script
Golden Angel Hairband
Golden Angel Wing
bonus bAllStats,1;