Angeling Suit

Item ID 15171 Name Angeling Suit
A sparkling suit that received Angelring's protection. It also brings happiness to wearer.
_______________________
MaxHP +1000
MaxSP +100
MDEF +20
_______________________
For each Base Level above 100:
MaxHP +30
MaxSP +5
_______________________
For each Refine Level above +7 or higher:
MATK +10%
_______________________
For each Refine Level above +8 or higher:
Enables the use of Level 5 Weapon Perfection.
_______________________
For each Refine Level above +9:
Blesses armor with Holy elemental.
_______________________
Type: Armor
Defense: 77
Weight: 40
Armor Level: 1
_______________________
Requirement:
Base Level 90
Novice
Weapon Level 0 Identifier Angeling_Suit
Attack 0 Type Armor
MATK 0 Equip Locations Armor
Defense 77 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 40 Min Equip Level 90
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus bMdef,20;
bonus bMaxHP,1000;
bonus bMaxSP,100;
if (BaseLevel >= 100) {
   bonus bMaxHP,30*BaseLevel;
   bonus bMaxSP,5*BaseLevel;
}
if (.@r >= 7)
   bonus bMatkRate,10;
if (.@r >= 8)
   skill "BS_WEAPONPERFECT",5;
if (.@r >= 9)
   bonus bDefEle,Ele_Holy;