Lian Robe

Item ID 20753 Name Lian Robe
A garment with mystical powers.
_______________________
Decreases damage taken from Neutral elemental by 5%.
Increases damage taken from monsters of Formless race by 5%.
_______________________
When equipped with Lian Shield:
For each Refine Level of Lian Manteau:
Decreases damage taken from Formless race by 1%.

For each Refine Level of Lian Shield:
Increases Physical Damage against enemies of Neutral elemental by 1%.
_______________________
When equipped with Lian Shoes:
Increases Physical Damage against enemies of Neutral elemental by 5%.

For each Refine Level of Lian Manteau:
MaxHP +1%
MaxSP +1%
_______________________
When VIP status active:
FLEE +20
_______________________
Type: Garment
Defense: 20
Weight: 70
Armor Level: 1
_______________________
Requirement:
Base Level 65
Weapon Level 0 Identifier Lian_Robe
Attack 0 Type Armor
MATK 0 Equip Locations Garment
Defense 20 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 70 Min Equip Level 65
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
bonus2 bSubEle,Ele_Neutral,5;
bonus2 bSubRace,RC_Formless,-5;
if (vip_status(VIP_STATUS_ACTIVE)) {
   bonus bFlee,20;
}

Set Script
Lian Shield
Lian Robe
bonus2 bAddEle,Ele_Neutral,getequiprefinerycnt(EQI_HAND_L);
bonus2 bSubRace,RC_Formless,getequiprefinerycnt(EQI_GARMENT);
Lian Shoes
Lian Robe
bonus2 bAddEle,Ele_Neutral,5;
bonus2 bMagicAddEle,Ele_Neutral,5;
.@r = getequiprefinerycnt(EQI_GARMENT);
bonus bMaxHPrate,.@r;
bonus bMaxSPrate,.@r;