Survivor's Circlet

Item ID 19266 Name Survivor's Circlet
Headdress used by monks. The power to draw the wearer's magic is said to be hidden.
_______________________
INT +3
_______________________
For each 2 Refine Levels:
MATK +10
_______________________
Refine Level +10:
Matk +5%
_______________________
Base Level at least 130:
Matk +50
_______________________
When equipped with Survivor's Orb:
Decreases After Skill Delay by as percent equal to Refine rate of Survivor's Circlet.
_______________________
When equipped with Survivor's Rod:
For each Refine Level of Survivor's Rod:
Matk +10.
_______________________
When equipped with Survivor's Manteau:
For each 2 Refine Level of Survivor's Manteau:
Decreases Variable Casting Time by 5%.
_______________________
Type: Headgear
Defense: 10
Position: Upper
Weight: 50
Armor Level: 1
_______________________
Requirement: None
Weapon Level 0 Identifier Survive_Circlet_K
Attack 0 Type Armor
MATK 0 Equip Locations Upper Headgear
Defense 10 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 50 Min Equip Level 1
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus bInt,3;
bonus bMatk,10*(.@r/2)+(BaseLevel > 129 ? 50 : 0);
if (.@r >= 10) {
   bonus bMatkRate,5;
}

Set Script
Survivor's Circlet
Survivor's Rod (Dex)
bonus bMatk,getequiprefinerycnt(EQI_HAND_R)*10;
Survivor's Circlet
Survivor's Rod (Dex)
bonus bMatk,getequiprefinerycnt(EQI_HAND_R)*10;
Survivor's Circlet
Survivor's Rod (Int)
bonus bMatk,getequiprefinerycnt(EQI_HAND_R)*10;
Survivor's Circlet
Survivor's Rod (Int)
bonus bMatk,getequiprefinerycnt(EQI_HAND_R)*10;
Survivor's Circlet
Refined Survivor's Rod
bonus bMatk,getequiprefinerycnt(EQI_HAND_R)*10;
Survivor's Circlet
Survivor's Orb
bonus bDelayrate,getequiprefinerycnt(EQI_HEAD_TOP)*-1;
Survivor's Circlet
Survivor's Manteau
.@r = getequiprefinerycnt(EQI_GARMENT);
bonus bVariableCastrate,-5*(.@r/2);
Survivor's Circlet
Survivor's Manteau
.@r = getequiprefinerycnt(EQI_GARMENT);
bonus bVariableCastrate,-5*(.@r/2);
Survivor's Circlet
Cloak Of Survival
bonus bVariableCastrate,-5*getequiprefinerycnt(EQI_GARMENT)/2;
Survivor's Circlet
Survivor's Orb
.@r = getequiprefinerycnt(EQI_HEAD_TOP);
bonus bDelayrate,-.@r;