Agenda Robe

Item ID 15163 Name Agenda Robe
An elegant robe.
Can only be worn by high rank law officer.
_______________________
MATK +5%
_______________________
Enables the use of Level 1 Spell Breaker.
_______________________
Base Level at least 120:
MATK +4%
_______________________
Base Level at least 140:
MATK +5%
_______________________
When equipped with Cape of Ancient Lord:
Decreases Variable Casting Time by 2%.
Skill casting cannot be interrupted.
_______________________
When equipped with Manteau of Survival:
Random chance to auto-cast Level 1 Heal on wearer when dealing magical attacks.
For each Refine Level:
Increases the trigger rate.
_______________________
Type: Armor
Defense: 0
Weight: 10
Armor Level: 1
_______________________
Requirement:
Base Level 100
Weapon Level 0 Identifier Agenda_Robe
Attack 0 Type Armor
MATK 0 Equip Locations Armor
Defense 0 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 10 Min Equip Level 100
NPC Buy 20 Max Equip Level None
NPC Sell 10 Refineable Yes
Credit Price None Trade restriction None
Item Script
skill "SA_SPELLBREAKER",1;
if (BaseLevel >= 140) {
   .@val = 14;
} else if (BaseLevel >= 120) {
   .@val = 9;
}
else {
   .@val = 5;
}
bonus bMatkRate,.@val;

Set Script
Ancient Cape
Agenda Robe
bonus bVariableCastrate,-(2*getequiprefinerycnt(EQI_ARMOR));
bonus bNoCastCancel;
Ancient Cape
Agenda Robe
bonus bVariableCastrate,-(2*getequiprefinerycnt(EQI_ARMOR));
bonus bNoCastCancel;
Cloak Of Survival
Agenda Robe
bonus5 bAutoSpell,"AL_HEAL",1,(10*getequiprefinerycnt(EQI_ARMOR)),BF_MAGIC,0;
Agenda Robe
Survivor's Manteau
bonus5 bAutoSpell,"AL_HEAL",1,(10*getequiprefinerycnt(EQI_ARMOR)),BF_MAGIC,0;
Boots of Judgment
Agenda Robe
.@r =  getequiprefinerycnt(EQI_SHOES);
bonus2 bSkillCooldown,"AB_ADORAMUS",-1000;
bonus2 bMagicAtkEle,Ele_Holy,10*(.@r/3);