Magic Grass Necklace

Item ID 28579 Name Magic Grass Necklace
A necklace with magical power by connecting clover flowers.
_______________________
MATK +5%
_______________________
Decreases Variable Casting Time by 5%.
_______________________
For each 5 Levels of Plant-type skills:
MaxHP +1%, MaxSP +1%
Decreases Variable Casting Time by additional 1%.
MATK +2%
_______________________
This item can only be sold to NPCs and moved to storage.
_______________________
Type: Accessory
Weight: 10
Armor Level: 1
_______________________
Requirement:
Base Level 100
Summoner (Doram)
Weapon Level 0 Identifier Charm_G_Necklace_J
Attack 0 Type Armor
MATK 0 Equip Locations Accessory Left/Right
Defense 0 Equippable Jobs Summoner
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 10 Min Equip Level 100
NPC Buy 20 Max Equip Level None
NPC Sell 10 Refineable No
Credit Price None Trade restriction None
Item Script
.@a = ((getskilllv("SU_SV_STEMSPEAR")+getskilllv("SU_SV_ROOTTWIST")+getskilllv("SU_CN_METEOR")+getskilllv("SU_CN_POWDERING")+getskilllv("SU_CHATTERING")+getskilllv("SU_MEOWMEOW")+getskilllv("SU_NYANGGRASS"))/5);
bonus bMatkRate,5+(.@a*2);
bonus bVariableCastrate,-5+.@a;
bonus bMaxHPrate,.@a;
bonus bMaxSPrate,.@a;

Set Script
Zodiac
Magic Grass Necklace
if (BaseJob == Job_Summoner) {
   bonus bMatkRate,15;
   bonus2 bVariableCastrate,"SU_SV_STEMSPEAR",-50;
   bonus2 bVariableCastrate,"SU_SV_ROOTTWIST",-50;
   bonus2 bVariableCastrate,"SU_CN_METEOR",-50;
   bonus2 bVariableCastrate,"SU_CN_POWDERING",-50;
   bonus2 bVariableCastrate,"SU_CHATTERING",-50;
   bonus2 bVariableCastrate,"SU_MEOWMEOW",-50;
   bonus2 bVariableCastrate,"SU_NYANGGRASS",-50;
}