Rabbit Pattern Shirt

Item ID 15282 Name Rabbit Pattern Shirt
It is said that this precious T-shirt was worn by a certain witch and the rabbit pattern was her taste.
_______________________
SPL +1
S.MATK +1
_______________________
For each Refine Level:
MATK +5
_______________________
For each 2 Refine Levels:
S.MATK +1
_______________________
Refine Level +7:
SPL +2, S.MATK +2.
_______________________
Refine Level +9:
MaxHP +5%, MaxSP +5%.
_______________________
Refine Level +11:
Increases Magical Damage of Ghost and Shadow element by 35%.
_______________________
[Bonus by Grade]
[Grade D]: S.MATK +2
[Grade C]: SPL +3, S.MATK +1.
[Grade B]: Magical Damage with every Element +15%.
_______________________
Type: Armor
Defense: 10
Weight: 50
Armor Level: 2
_______________________
Requirement:
Base Level 200
Magician, Acolyte and Soul Linker classes
Weapon Level 0 Identifier Witchs_White_Shirt
Attack 0 Type Armor
MATK 0 Equip Locations Armor
Defense 10 Equippable Jobs Mage, Acolyte, Priest, Wizard, Monk, Sage, Soul Linker
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 50 Min Equip Level 200
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@g = getenchantgrade();
.@r = getrefine();
bonus bSMatk,1+(.@r/2);
bonus bSpl,1;
bonus bMatk,5*.@r;
if (.@r>=7) {
   bonus bSMatk,2;
   bonus bSpl,2;
   if (.@r>=9) {
      bonus bMaxHPrate,5;
      bonus bMaxSPrate,5;
      if (.@r>=11) {
         bonus2 bMagicAtkEle,Ele_Ghost,35;
         bonus2 bMagicAtkEle,Ele_Dark,35;
      }
   }
}
if (.@g >= ENCHANTGRADE_D) {
   bonus bSMatk,2;
   if (.@g >= ENCHANTGRADE_C) {
      bonus bSMatk,1;
      bonus bSpl,3;
      if (.@g >= ENCHANTGRADE_B) {
         bonus2 bMagicAddEle,Ele_All,15;
      }
   }
}