Ring of Jupiter

Item ID 32258 Name Ring of Jupiter
A ring that carries the power of a giant star. It is said wearing this ring will grant you powers.
_______________________
Enables the use of Level 5 Blessing.
_______________________
When equipped as Accessory Right:
For each 10 base LUK:
ATK +15, MATK +15

Base LUK at least 125:
Increases Damage against monsters of Boss class by 15%.
_______________________
When equipped as Accessory Left:
For each 10 base VIT:
MaxHP +2%, MaxSP +2%

Base VIT at least 125:
DEF +300, MDEF +50
Decreases damage taken from Demi-Human and Doram players by 3%.
_______________________
Type: Accessory
Defense: 2
Weight: 50
Armor Level: 1
_______________________
Requirement:
Base Level 100
Weapon Level 0 Identifier RingofJupiter
Attack 0 Type Armor
MATK 0 Equip Locations Accessory Left/Right
Defense 2 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 50 Min Equip Level 100
NPC Buy 20 Max Equip Level None
NPC Sell 10 Refineable No
Credit Price None Trade restriction None
Item Script
.@p = getitempos();
skill "AL_BLESSING",5;
if (.@p == EQP_ACC_R) {
   bonus bBaseAtk,15*(readparam(bLuk)/10);
   bonus bMatk,15*(readparam(bLuk)/10);
   if (readparam(bLuk) >= 125) {
      bonus2 bAddClass,Class_Boss,15;
      bonus2 bMagicAddClass,Class_Boss,15;
   }
}
if (.@p == EQP_ACC_L) {
   bonus bMaxHPrate,2*(readparam(bVit)/10);
   bonus bMaxSPrate,2*(readparam(bVit)/10);
   if (readparam(bVit) >= 125) {
      bonus bDef,300;
      bonus bMdef,50;
      bonus2 bSubRace,RC_Player_Human,3;
      bonus2 bSubRace,RC_Player_Doram,3;
   }
}