Doram Magical Shadow Weapon

Item ID 24286 Name Doram Magical Shadow Weapon
A pair of gloves that can draw the wearer's potential ability.
_______________________
Decreases Variable Casting Time by 5%.
_______________________
For each Refine Level:
Decreases Variable Casting Time by additional 1%.
_______________________
If skill Power of Earth is learned:
Decreases Fixed Casting Time by 0.1 second.
_______________________
If skill Power of Sea is learned:
Decreases Fixed Casting Time by additional 0.1 second.
Decreases SP Consumption by 3%.
_______________________
Refine Level +7:
MATK +5%
_______________________
Refine Level +9:
MATK +5%
_______________________
Type: Shadow Weapon
_______________________
Requirement:
Summoner (Doram)
Weapon Level 0 Identifier S_DoramMagical_Weapon
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Weapon
Defense 0 Equippable Jobs Summoner
Range 0 Equip Gender Both (Male and Female)
Slots 0 Equip Upper None
Weight 0 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 bBaseAtk,.@r;
bonus bMatk,.@r;
bonus bVariableCastrate,-(5+.@r);
if (getskilllv("SU_POWEROFLAND") == 1)
   bonus bFixedCast,-100;
if (getskilllv("SU_POWEROFSEA") == 1) {
   bonus bUseSPrate,-3;
}
if (.@r>=7)
   bonus bMatkRate,5;
if (.@r>=9)
   bonus bMatkRate,5;

Set Script
Doram Magical Shadow Weapon
Doram Magical Shadow Shield
bonus bMaxHPrate,2;
bonus bMaxSPrate,2;
bonus bAllStats,3;
bonus bUseSPrate,-10;
Doram Magical Shadow Armor
Doram Magical Shadow Shoes
Doram Magical Shadow Weapon
Doram Magical Shadow Shield
bonus2 bIgnoreDefClassRate,Class_Normal,50;
bonus2 bIgnoreMDefClassRate,Class_Normal,50;
bonus bAllStats,7;
bonus bMaxHPrate,3;
bonus bMaxSPrate,3;