Deadman Bandana

Item ID 5903 Name Deadman Bandana
A normal ghost bandana with a red spiral insignia on the front.
It demonstrates a strong connection between the wearer and the afterlife.
_______________________
Random chance to auto-cast highest Level learned Eswoo on wearer when receiving physical damage.
_______________________
For each Refine Level:
Critical +2
Decreases Fixed Casting Time by 2%.
_______________________
Refine Level +7:
MATK +20
Increases Variable Casting Time of Eswoo by 3%.
_______________________
Refine Level +9:
Decreases Variable Casting Time by 20%.
Decreases SP Consumption of Estun and Esma by 5.
_______________________
Type: Headgear
Defense: 15
Position: Upper
Weight: 20
Armor Level: 1
_______________________
Requirement:
Base Level 99
Magician and Soul Linker classes
Weapon Level 0 Identifier Hitaikakushi_
Attack 0 Type Armor
MATK 0 Equip Locations Upper Headgear
Defense 15 Equippable Jobs Mage, Wizard, Sage, Soul Linker
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 20 Min Equip Level 99
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction Can't be dropped, Can't be traded with player, Can't be put in Cart, Can't be put in Guild Storage, Can't be attached in Mail, Can't be auctioned
Item Script
.@r = getrefine();
.@rate = 1;
bonus bCritical,.@r*2;
bonus bFixedCastrate,-2;
if (.@r>=7) {
   bonus bMatk,20;
   .@rate += 3;
}
if (.@r>=9) {
   bonus bVariableCastrate,-20;
   bonus2 bSkillUseSP,"SL_STUN",5;
   bonus2 bSkillUseSP,"SL_SMA",5;
}
bonus3 bAutoSpellWhenHit,"SL_SWOO",getskilllv("SL_SWOO"),(.@rate*10);