Star Cluster of Spell Lv3

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

Set Script
Signet of Spell 3Lv
Star Cluster of Spell Lv3
bonus2 bMagicAddRace,RC_All,10;
bonus2 bMagicAddRace,RC_Player_Human,-10;
bonus2 bMagicAddRace,RC_Player_Doram,-10;
Signet of Spell 4Lv
Star Cluster of Spell Lv3
bonus2 bMagicAddRace,RC_All,15;
bonus2 bMagicAddRace,RC_Player_Human,-15;
bonus2 bMagicAddRace,RC_Player_Doram,-15;
Signet of Spell 5Lv
Star Cluster of Spell Lv3
bonus2 bMagicAddRace,RC_All,20;
bonus2 bMagicAddRace,RC_Player_Human,-20;
bonus2 bMagicAddRace,RC_Player_Doram,-20;
Star Cluster of Spell Lv3
Astrologer's Dawn Boots
.@g = getenchantgrade(EQI_SHOES);
autobonus "{ bonus bInt,150; }",30,10000,BF_MAGIC;
if (.@g>=ENCHANTGRADE_C) {
   bonus bSpl,12;
   if (.@g>=ENCHANTGRADE_A) {
       bonus bSpl,27;
       bonus bFixedCast,-300;
   }
}