Glotoneria

Item ID 480081 Name Glotoneria
It was a normal looking cloak, but the magic interference device installed by Ilsion and his friends transformed it into a terrifying figure worthy of the name "Gluttony".
_______________________
MaxHP +3%
_______________________
Decreases damage taken from Players by 5%.
_______________________
For each Level of Auto Shadow Spell:
Increases Physical Damage against monsters of every size by 1%.
Perfect HIT +2%
_______________________
When Level 10 Triangle Shot is learned:
Decreases damage taken from Wind and Earth elemental attacks by 50%.
_______________________
When Level 10 Feint Bomb is learned:
Recovers 100 HP and 10 SP when defeating monsters with physical attacks.
Recovers 2 SP with each physical attack.
_______________________
For each Level of Maelstrom:
Increases damage of Triangle Shot by 50%.
Increases damage of Feint Bomb by 15%.
_______________________
Refine Level +5:
MaxHP +5%
AGI +10, DEX +10.
_______________________
Refine Level +7:
MaxHP +7%
AGI +10, DEX +10.
_______________________
Type: Garment
Defense: 12
Weight: 10
Armor Level: 1
_______________________
Requirement:
Base Level 100
Weapon Level 0 Identifier Glotoneria
Attack 0 Type Armor
MATK 0 Equip Locations Garment
Defense 12 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 10 Min Equip Level 100
NPC Buy 20 Max Equip Level None
NPC Sell 10 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus bMaxHPrate,3;
bonus2 bSubRace,RC_Player_Human,5;
bonus2 bSubRace,RC_Player_Doram,5;
bonus2 bAddSize,Size_All,getskilllv("SC_AUTOSHADOWSPELL");
bonus bPerfectHitAddRate,2*getskilllv("SC_AUTOSHADOWSPELL");
bonus2 bSkillAtk,"SC_TRIANGLESHOT",50*getskilllv("SC_MAELSTROM");
bonus2 bSkillAtk,"SC_FEINTBOMB",15*getskilllv("SC_MAELSTROM");
if (getskilllv("SC_TRIANGLESHOT") == 10) {
   bonus2 bSubEle,Ele_Wind,50;
   bonus2 bSubEle,Ele_Earth,50;
}
if (getskilllv("SC_FEINTBOMB") == 10) {
   bonus bSPDrainValue,2;
   bonus bHPGainValue,100;
   bonus bSPGainValue,10;
}
if (.@r>=7) {
   bonus bMaxHPrate,5;
   bonus bAgi,10;
   bonus bDex,10;
}
if (.@r>=9) {
   bonus bMaxHPrate,7;
   bonus bAgi,10;
   bonus bDex,10;
}