Cloth of Protection

Item ID 19381 Name Cloth of Protection
An meticulously ornamented scarf that firmly protects from the throat to the shoulder. The stout, detailed shield-like decoration embodies the toughness of an iron wall.
_______________________
MDEF +5
MaxHP +5%
_______________________
When equipped with Protect Feathers
DEF +50, MDEF +5,
VIT +5, ASPD +5%.
Decreases damage taken from Demi-Human by 3%.
_______________________
If base VIT at least 108:
DEF +50, MDEF +5,
VIT +5, ASPD +5%.
_______________________
If base VIT at least 120:
DEF +100, MDEF +10
VIT +10
_______________________
Type: Headgear
Position: Lower
Defense: 0
Weight: 30
Armor Level: 1
_______________________
Requirement:
Base Level 90
Weapon Level 0 Identifier Protect_cloth
Attack 0 Type Armor
MATK 0 Equip Locations Lower Headgear
Defense 0 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 0 Equip Upper None
Weight 30 Min Equip Level 90
NPC Buy 20 Max Equip Level None
NPC Sell 10 Refineable No
Credit Price None Trade restriction None
Item Script
bonus bMdef,5;
bonus bMaxHPrate,5;

Set Script
Protect Feathers
Cloth of Protection
bonus bMdef,5;
bonus bDef,50;
bonus bAspdRate,5;
bonus bVit,5;
bonus2 bSubRace,RC_Player_Human,3;
if (readparam(bVit) >= 108) {
   bonus bMdef,5;
   bonus bDef,50;
   bonus bAspdRate,5;
   bonus bVit,5;
}
if (readparam(bVit) >= 120) {
   bonus bMdef,10;
   bonus bDef,100;
   bonus bVit,10;
}
Protect Feathers
Cloth of Protection
Protect Feather Shield
bonus2 bSubSkill,"WL_CRIMSONROCK",30;
bonus2 bSubSkill,"NC_ARMSCANNON",30;
bonus2 bSubSkill,"RA_ARROWSTORM",30;
bonus2 bSubSkill,"SR_HELLGATE",30;
bonus2 bSubSkill,"SU_LUNATICCARROTBEAT",30;
bonus2 bSubSkill,"SU_CN_METEOR",30;