Awakened Eden Group Hat I

Item ID 19164 Name Awakened Eden Group Hat I
A hat given to loyal member of Eden Group. It's show the design and technology of Eden Group.
_______________________
Random chance to increase ATK by 15 for 5 seconds when dealing physical damage.
Random chance to increase MATK by 15 for 5 seconds when dealing magical damage.
_______________________
Refine Level +7:
ATK +10,
MATK +10
_______________________
Refine Level +9:
All Basic Stats +1
_______________________
Refine Level +12:
Restores SP by 1% every 10 seconds.
_______________________
Type: Headgear
Defense: 10
Position: Upper
Weight: 0
Armor Level: 1
_______________________
Requirement:
Base Level 100
Weapon Level 0 Identifier Para_Team_Hat100
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 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 put in Cart, Can't be put in Guild Storage, Can't be attached in Mail, Can't be auctioned
Item Script
autobonus "{ bonus bBaseAtk,15; }",70,5000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }";
autobonus "{ bonus bMatk,15; }",50,5000,BF_MAGIC,"{ specialeffect2 EF_SPELLBREAKER; }";
.@r = getrefine();
if (.@r >= 7) {
   bonus bBaseAtk,10;
   bonus bMatk,10;
   if (.@r >= 9) {
      bonus bAllStats,1;
      if (.@r >= 12) {
         bonus2 bRegenPercentSP,1,10000;
      }
   }
}