Star Cluster of Spell Lv2

Item ID 310687 Name Star Cluster of Spell Lv2
A stellar essence that strengthens the wearer.
_______________________
For each 15 base SPL:
MATK +7
Increases Magical Damage with every element by 2%.
_______________________
If enchanted Armor's Grade is D:
For each 15 base SPL:
Increases Magical Damage with every element by additional 1%.
S.MATK +1
_______________________
If enchanted Armor's Grade is C:
For each 15 base SPL:
Increases Magical Damage with every element by additional 1%.
S.MATK +1
_______________________
If enchanted Armor's Grade is B:
For each 15 base SPL:
Increases Magical Damage with every element by additional 2%.
S.MATK +1
_______________________
If enchanted Armor's Grade is A:
For each 15 base SPL:
Increases Magical Damage with every element by additional 2%.
S.MATK +2
Weapon Level 0 Identifier Star_Cluster_Of_Spl2
Attack 0 Type Card - Enchant
MATK 0 Equip Locations None
Defense 0 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 0 Equip Upper None
Weight 0 Min Equip Level None
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable No
Credit Price None Trade restriction None
Item Script
.@param = (readparam(bSpl)/15);
.@g = getenchantgrade();
bonus2 bMagicAtkEle,Ele_All,2*.@param;
bonus bMatk,7*.@param;
if (.@g >= ENCHANTGRADE_D) {
   bonus2 bMagicAtkEle,Ele_All,.@param;
   bonus bSMatk,.@param;
   if (.@g >= ENCHANTGRADE_C) {
      bonus2 bMagicAtkEle,Ele_All,.@param;
      bonus bSMatk,.@param;
      if (.@g >= ENCHANTGRADE_B) {
         bonus2 bMagicAtkEle,Ele_All,2*.@param;
         bonus bSMatk,.@param;
         if (.@g >= ENCHANTGRADE_A) {
            bonus2 bMagicAtkEle,Ele_All,2*.@param;
            bonus bSMatk,2*.@param;
         }
      }
   }
}

Set Script
Star Cluster of Spell Lv2
Astrologer's Dawn Boots
.@g = getenchantgrade(EQI_SHOES);
autobonus "{ bonus bInt,120; }",30,10000,BF_MAGIC;
if (.@g>=ENCHANTGRADE_C) {
   bonus bSpl,10;
   if (.@g>=ENCHANTGRADE_A) {
       bonus bSpl,20;
       bonus bFixedCast,-200;
   }
}