Witch's Cloak

Item ID 20908 Name Witch's Cloak
None
Weapon Level 0 Identifier Jirant_Cloak_BR
Attack 0 Type Armor
MATK 0 Equip Locations Garment
Defense 16 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 100 Min Equip Level 130
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus2 bSubEle,Ele_Fire,5*(.@r/2);
bonus2 bSubEle,Ele_Wind,5*(.@r/2);
if (.@r>=5) {
   bonus bMatkRate,5;
   bonus bVariableCastrate,-5;
}
if (.@r>=7) {
   bonus bMatkRate,5;
   bonus bVariableCastrate,-5;
}
if (.@r>=15)
   bonus bNoWalkDelay;

Set Script
Witch's Dress
Witch's Cloak
.@r = getequiprefinerycnt(EQI_GARMENT);
bonus bMatkRate,2*.@r;
bonus bVariableCastrate,-2*.@r;
Witch's Staff
Witch's Cloak
bonus bMatkRate,5;
bonus2 bSubEle,Ele_Fire,10;
bonus2 bSubEle,Ele_Wind,10;