Trial Warlock's Staff

Item ID 2040 Name Trial Warlock's Staff
A staff for warlock whose excel at magic.
When equipped with Enhanced Time Keeper Armor, will makes wearer's body more agile.
_______________________
MATK +200
_______________________
Indestructible in battle
_______________________
Increases damage of Earth Strain by 20%.
_______________________
For each 10 Base Level:
MATK +6 (up to Base Level 160).
_______________________
Refine Level +7:
For each Level of Storm Gust:
MATK +1%
_______________________
When equipped with Enhanced Time Keeper Hat, Enhanced Time Keeper Robe, nhanced Time Keeper Manteau, Enhanced Time Keeper Boots:
ASPD +2,
MaxHP and MaxSP +10%

For each 10 Base VIT:
Decreases damage taken from Neutral elemental attacks by 3%.
(up to Base VIT 100)

For each 10 Base AGI:
Increases Attack Speed (decreases After Attack Delay by 2%).
(up to Base AGI 100)

For each 10 Base DEX:
HIT +3
(up to Base DEX 100)

For each 10 Base LUK:
Critical +3
(up to Base LUK 100)
_______________________
Type: Two-Handed Staff
Attack: 60
Weight: 0
Weapon Level: 3
_______________________
Requirement:
Base Level 100
Warlock
Weapon Level 3 Identifier Probation_Staff
Attack 60 Type Weapon - Two-Handed Staff
MATK 200 Equip Locations Two-Handed
Defense 0 Equippable Jobs Wizard
Range 1 Equip Gender Both (Male and Female)
Slots 1 Equip Upper Third, Third Upper, Third Baby
Weight 0 Min Equip Level 100
NPC Buy 20 Max Equip Level None
NPC Sell 10 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 Storage, Can't be put in Guild Storage, Can't be attached in Mail, Can't be auctioned
Item Script
bonus bUnbreakableWeapon;
bonus2 bSkillAtk,"WL_EARTHSTRAIN",20;
bonus bMatk,6*(min(BaseLevel,160)/10);
if (getrefine()>=7) {
   bonus bMatkRate,getskilllv("WZ_STORMGUST");
}

Set Script
Trial Warlock's Staff
Enhanced Time Keeper Robe
Enhanced Time Keeper Hat
Enhanced Time Keeper Manteau
Enhanced Time Keeper Boots
bonus bMaxHPrate,10;
bonus bMaxSPrate,10;
bonus bAspd,2;
bonus2 bSubEle,Ele_Neutral,3*(min(100,readparam(bVit))/10);
bonus bAspdRate,2*(min(100,readparam(bAgi))/10);
bonus bHit,3*(min(100,readparam(bDex))/10);
bonus bCritical,3*(min(100,readparam(bLuk))/10);