Fallen Angel Hairband

Item ID 400043 Name Fallen Angel Hairband
None
Weapon Level 0 Identifier Fallen_Angel_feather
Attack 0 Type Armor
MATK 0 Equip Locations Upper Headgear
Defense 5 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 10 Min Equip Level None
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus bAllStats,1;
bonus2 bSubEle,Ele_Holy,-20;
bonus2 bSubRace,RC_Angel,-15;
bonus2 bSubRace,RC_Demon,6;
bonus2 bSubRace,RC_DemiHuman,6;
bonus2 bSubRace,RC_Player_Human,6;
bonus2 bSubRace,RC_Player_Doram,6;

Set Script
Fallen Angel Hairband
Fallen Angel Wing
.@head = getequiprefinerycnt(EQI_HEAD_TOP);
.@garment = getequiprefinerycnt(EQI_GARMENT);
if (.@head >= 10 && .@garment >= 10) {
   bonus3 bAutoSpellWhenHit,"NPC_WIDECURSE",5,10+(.@head+.@garment);
   bonus2 bSubRace,RC_All,3;
   bonus2 bSubRace,RC_Angel,-3;
}
Fallen Angel Armor
Fallen Angel Hairband
bonus bVit,2;
bonus bMaxHPrate,10;
Fallen Angel's Tear
Fallen Angel Hairband
if (getequiprefinerycnt(EQI_HEAD_TOP) >= 9)
   bonus bVariableCastrate,-5;