Capricorn Diadem

Item ID 5745 Name Capricorn Diadem
A magnificent diadem created to pay tribute to the 10th sign of the zodiac, Capricorn the Goat. Attached to the crown is a Garnet gemstone, the birthstone for those born under this sign.
_______________________
DEX +2
MDEF +5
_______________________
Decreases damage taken from Earth elemental attacks by 5%.
_______________________
Refine Level +7:
INT +2
_______________________
Refine Level +8:
Decreases Variable Casting Time by 3%.
_______________________
Refine Level +9:
Increases recovery amount gained from Healing skills by 4%.
_______________________
Refine Level +10:
Random chance to auto-cast Level 5 Hammer Fall when receiving physical damage.
_______________________
Type: Headgear
Defense: 3
Position: Upper
Weight: 30
Armor Level: 1
_______________________
Requirement: None
Weapon Level 0 Identifier Capricon_Diadem
Attack 0 Type Armor
MATK 0 Equip Locations Upper Headgear
Defense 3 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 0 Equip Upper None
Weight 30 Min Equip Level 1
NPC Buy 20 Max Equip Level None
NPC Sell 10 Refineable Yes
Credit Price None Trade restriction None
Item Script
bonus bDex,2;
bonus bMdef,5;
bonus2 bSubEle,Ele_Earth,5;
.@r = getrefine();
if (.@r>6) {
   bonus bInt,2;
}
if (.@r>7) {
   bonus bVariableCastrate,-3;
}
if (.@r>8) {
   bonus bHealPower2,4;
}
if (.@r>9) {
   bonus5 bAutoSpellWhenHit,"BS_HAMMERFALL",5,30,BF_WEAPON|BF_MAGIC,1;
}