Illusion Leg B-type

Item ID 22197 Name Illusion Leg B-type
Combat boots B type born from Illusion's technology.
It is said to be able to add abilities by attaching various modules.
_______________________
MaxSP +200
_______________________
For each 2 Refine Levels:
MaxSP +20
_______________________
Refine Level +7:
Increases Magical Damage with every element by 5%.
_______________________
When equipped with Illusion Armor Type A:
MaxSP +5%
_______________________
When equipped with Illusion Armor Type B:
MATK +5%
_______________________
Type: Shoes
Defense: 20
Weight: 50
Armor Level: 1
Enchantable: Yes
_______________________
Requirement:
Base Level 130
Weapon Level 0 Identifier Illusion_Leg_B
Attack 0 Type Armor
MATK 0 Equip Locations Footgear
Defense 20 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 50 Min Equip Level 130
NPC Buy 20 Max Equip Level None
NPC Sell 10 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus bMaxSP,200+(20*(.@r/2));
if (.@r >= 7) {
   bonus2 bMagicAtkEle,Ele_All,5;
}

Set Script
Illusion Engine wing A-type
Illusion Leg B-type
bonus bVariableCastrate,-10;
Illusion Armor A-type
Illusion Leg B-type
bonus bMaxSPrate,5;
Illusion Armor B-type
Illusion Leg B-type
bonus bMatkRate,5;
Illusion Engine wing B-type
Illusion Leg B-type
bonus2 bMagicAtkEle,Ele_All,10;