Valhalla Idol

Item ID 19110 Name Valhalla Idol
An ornament wore by a girl that fighting in battlefield.
_______________________
MaxSP +50
_______________________
Random chance to auto-cast Level 10 Safety Wall when receiving physical damage.
_______________________
Type: Headgear
Defense: 2
Position: Middle
Weight: 30
Armor Level: 1
Refineable: No
_______________________
Requirement:
Base Level 70
Weapon Level 0 Identifier Valhalla_Idol_
Attack 0 Type Armor
MATK 0 Equip Locations Middle Headgear
Defense 2 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 30 Min Equip Level 70
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable No
Credit Price None Trade restriction None
Item Script
bonus bMaxSP,50;
bonus4 bAutoSpellWhenHit,"MG_SAFETYWALL",10,50,0;
hateffect(HAT_EF_VALHALLA_IDOL,true);
Unequip Script
hateffect(HAT_EF_VALHALLA_IDOL,false);

Set Script
Mysterious Pigeon
Valhalla Idol
.@a = (readparam(bStr)/18);
.@b = (readparam(bLuk)/18);
bonus4 bAutoSpellWhenHit,"MG_SAFETYWALL",10,50,0;
bonus bMatkRate,5*.@a;
bonus2 bIgnoreMdefRaceRate,RC_All,5*.@a;
bonus bBaseAtk,25*.@b;
bonus2 bIgnoreDefRaceRate,RC_All,5*.@b;