Brooch of Hero

Item ID 32222 Name Brooch of Hero
A brooch given to those who defeated Satan Morocc.
_______________________
ATK +5%, MATK +5%
_______________________
When equipped by Rune Knight or Royal Guard:
MaxHP +10%
Increases Physical Damage against enemies of all monsters by 5%.
_______________________
When equipped by Archbishop or Sura:
ASPD +10%
Increases Physical Damage against enemies of every race by 5%.
_______________________
When equipped by Mechanic or Genetic:
Decreases SP Consumption of skills by 10%.
Increases Physical Damage against enemies of every race by 5%.
_______________________
When equipped with Hero Judgement Shawl:
Disables the following effects of Hero Judgement Shawl:
Chance of casting Level 10 Kyrie Eleison and Level 1 Lex Aterna.

For each Refine Level of Hero Judgement Shawl:
Increases damage of Judex, Adoramus, Sky Blow, Dragon Combo and Earth Shaker by 5%.
_______________________
When equipped with Hero Trade Mail:
For each Refine Level of Hero Trade Mail:
All Basic Stats +2
Adds an additional chance of inflicting Stun, Silence, Curse and Poison when performing a physical attacks.
_______________________
When equipped with Hero Plate:
Disables the following effects of Hero Plate:
Chance of casting Level 10 Heal and Level 10 Storm Gust.

For each Refine Level of Hero Plate:
Increases damage of Storm Blast and Banishing Point by 5%.
_______________________
Type: Accessory
Weight: 40
Armor Level: 1
_______________________
Requirement:
Base Level 100
Weapon Level 0 Identifier Brooch_Of_Hero
Attack 0 Type Armor
MATK 0 Equip Locations Accessory Left/Right
Defense 0 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 40 Min Equip Level 100
NPC Buy 20 Max Equip Level None
NPC Sell 10 Refineable No
Credit Price None Trade restriction None
Item Script
bonus2 bAddClass,Class_All,5;
bonus bMatkRate,5;
if ((eaclass()&EAJL_THIRD && BaseJob == Job_Knight) || ((eaclass()&EAJL_THIRD && BaseJob == Job_Crusader))) {
   bonus bMaxHPrate,10;
   bonus2 bAddRace,RC_All,5;
}
if ((eaclass()&EAJL_THIRD && BaseJob == Job_Priest) || ((eaclass()&EAJL_THIRD && BaseJob == Job_Monk))) {
   bonus bAspdRate,10;
   bonus2 bAddRace,RC_All,5;
}
if ((eaclass()&EAJL_THIRD && BaseJob == Job_Blacksmith) || ((eaclass()&EAJL_THIRD && BaseJob == Job_Alchemist))) {
   bonus bUseSPrate,-10;
   bonus2 bAddRace,RC_All,5;
}

Set Script
Brooch of Hero
Hero Plate
.@r = getequiprefinerycnt(EQI_ARMOR);
bonus5 bAutoSpell,"AL_HEAL",10,-(50+.@r),BF_SHORT,0;
bonus5 bAutoSpell,"WZ_STORMGUST",10,-(50+.@r),BF_SHORT,1;
bonus2 bSkillAtk,"RK_STORMBLAST",5*.@r;
bonus2 bSkillAtk,"LG_BANISHINGPOINT",5*.@r;
Brooch of Hero
Hero Judgement Shawl
.@r = getequiprefinerycnt(EQI_ARMOR);
bonus5 bAutoSpell,"PR_KYRIE",10,-(50+.@r),BF_SHORT,0;
bonus2 bSkillAtk,"AB_JUDEX",5*.@r;
bonus2 bSkillAtk,"AB_ADORAMUS",5*.@r;
bonus2 bSkillAtk,"SR_DRAGONCOMBO",5*.@r;
bonus2 bSkillAtk,"SR_SKYNETBLOW",5*.@r;
bonus2 bSkillAtk,"SR_EARTHSHAKER",5*.@r;
Brooch of Hero
Hero Trade Mail
.@r = getequiprefinerycnt(EQI_ARMOR);
bonus bAllStats,2*.@r;
bonus3 bAddEff,Eff_Stun,.@r*50,ATF_SHORT;
bonus3 bAddEff,Eff_Curse,.@r*50,ATF_SHORT;
bonus3 bAddEff,Eff_Poison,.@r*50,ATF_SHORT;
bonus3 bAddEff,Eff_Silence,.@r*50,ATF_SHORT; /* Unknow rates */