Skin of Gwiber

Item ID 20837 Name Skin of Gwiber
The skin of a dragon whose scales were as white as snow, but light as a feather.
_______________________
INT +5
DEX +5
MDEF +10
_______________________
Decreases damage taken from Shadow and Undead elemental attacks by 5%.
Decreases damage taken from Demon and Undead race by 5%.
_______________________
Refine Level +7:
Restores 10 SP when defeating monster with physical attack.
_______________________
Refine Level +8:
Every combined sum of 20 base INT and DEX:
ATK +5
Decreases After Skill Delay by 1%.
_______________________
Refine Level +9:
Restores 10 SP when defeating monster with physical attack.
_______________________
Type: Garment
Defense: 15
Weight: 60
Armor Level: 1
_______________________
Requirement:
Base Level 100
Weapon Level 0 Identifier Skin_Of_Gwiber
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 20 Max Equip Level None
NPC Sell 10 Refineable Yes
Credit Price None Trade restriction None
Item Script
bonus bInt,5;
bonus bDex,5;
bonus bMdef,10;
bonus2 bSubEle,Ele_Dark,5;
bonus2 bSubEle,Ele_Undead,5;
bonus2 bSubRace,RC_Demon,5;
bonus2 bSubRace,RC_Undead,5;
.@r = getrefine();
.@val = (readparam(bInt)+readparam(bDex))/20;
if (.@r>=7) {
   bonus bSPGainValue,10;
   if (.@r>=8) {
      bonus bBaseAtk,5*.@val;
      bonus bDelayrate,-1*.@val;
      if (.@r>=9) {
         bonus bSPGainValue,10;
      }
   }
}