Royal Guard Battle Armor

Item ID 15077 Name Royal Guard Battle Armor
The battle armor symbolizing the highest status of the Royal Guard.
_______________________
MaxHP +500
_______________________
For each 3 Refine Levels:
VIT +1
DEX +1
_______________________
When equipped with Royal Guard Battle Boots and Battle Shawl:
For each 10 base AGI:
Increases damage of Overbrand by 5%.

Base VIT at least 110:
Physical attacks have a 0.5% chance to auto-cast Level 1 Assumptio on yourself.
Decreases damage taken from Demi-Human race by 10%.
_______________________
Type: Armor
Defense: 55
Weight: 0
Armor Level: 1
_______________________
Requirement:
Base Level 99
Royal Guard
Weapon Level 0 Identifier LG_Battle_Armor
Attack 0 Type Armor
MATK 0 Equip Locations Armor
Defense 60 Equippable Jobs Crusader
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper Third, Third Upper, Third Baby
Weight 0 Min Equip Level 99
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus bMaxHP,500;
bonus bAgi,.@r/3;
bonus bVit,.@r/3;

Set Script
Royal Guard Battle Armor
Battle Cape
Royal Guard Battle Boots
bonus2 bSubRace,RC_DemiHuman,10;
bonus2 bSubRace,RC_Player_Human,10;
bonus2 bSkillAtk,"LG_OVERBRAND",5*(readparam(bAgi)/10);
if (readparam(bVit)>=100)
   bonus3 bAutoSpellWhenHit,"HP_ASSUMPTIO",1,5;