Skin of Lindwyrm

Item ID 20836 Name Skin of Lindwyrm
Skin of a lake dragon obtained by unknown adventurer. Too stiff to be made into manteau.
_______________________
AGI +5
VIT +5
MDEF +10
_______________________
Decreases damage taken from Fire and Water elemental attacks by 5%.
Decreases damage taken from Demi-Human and Dragon race by 5%.
_______________________
Refine Level +7:
Enables the use of Level 1 Hiding.
_______________________
Refine Level +8:
Every combined sum of 20 base AGI and VIT:
MaxHP +1%
Decreases Variable Casting Time by 2%.
_______________________
Refine Level +9:
Enables the use of Level 1 Cloaking.
_______________________
Type: Garment
Defense: 15
Weight: 60
Armor Level: 1
_______________________
Requirement:
Base Level 100
Weapon Level 0 Identifier Skin_Of_Lindwurm
Attack 0 Type Armor
MATK 0 Equip Locations Garment
Defense 15 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 60 Min Equip Level 100
NPC Buy 1,000 Max Equip Level None
NPC Sell 500 Refineable Yes
Credit Price None Trade restriction None
Item Script
bonus bAgiVit,5;
bonus bMdef,10;
bonus2 bSubEle,Ele_Fire,5;
bonus2 bSubEle,Ele_Water,5;
bonus2 bSubRace,RC_Dragon,5;
bonus2 bSubRace,RC_DemiHuman,5;
bonus2 bSubRace,RC_Player_Human,5;
.@r = getrefine();
.@val = (readparam(bAgi)+readparam(bVit))/20;
if (.@r>=7) {
   skill "TF_HIDING",1;
   if (.@r>=8) {
      bonus bMaxHPrate,.@val;
      bonus bVariableCastrate,-2*.@val;
      if (.@r>=9) {
         skill "AS_CLOAKING",1;
      }
   }
}