Star Cluster of Spell Lv1

Item ID 310686 Name Star Cluster of Spell Lv1
A stellar essence that strengthens the wearer.
_______________________
For each 15 base SPL:
MATK +5
Increases Magical Damage with every element by 1%.
_______________________
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 1%.
S.MATK +1
_______________________
If enchanted Armor's Grade is A:
For each 15 base SPL:
Increases Magical Damage with every element by additional 1%.
S.MATK +1
Weapon Level 0 Identifier Star_Cluster_Of_Spl1
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,.@param;
bonus bMatk,5*.@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,.@param;
         bonus bSMatk,.@param;
         if (.@g >= ENCHANTGRADE_A) {
            bonus2 bMagicAtkEle,Ele_All,.@param;
            bonus bSMatk,.@param;
         }
      }
   }
}