Ribbon Piamat

Item ID 20725 Name Ribbon Piamat
A huge ribbon worn by Piamette. Blessed with strong magical power.
_______________________
INT +1
DEX +1
MATK +10
_______________________
When equipped with Mad Bunny:
When magically attacking, a certain chance to transform into Piamette for 10 seconds.
While transformed, drains 30 HP each second but adds MATK +5 for every 3 Refine upgrade.
Chance to transform increases as Refine goes higher.
_______________________
Type: Garment
Defense: 0
Weight: 10
Armor Level: 1
_______________________
Requirement:
Base Level 30
Weapon Level 0 Identifier Ribbon_Piamat
Attack 0 Type Armor
MATK 0 Equip Locations Garment
Defense 0 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 10 Min Equip Level 30
NPC Buy 10 Max Equip Level None
NPC Sell 5 Refineable Yes
Credit Price None Trade restriction None
Item Script
bonus bMatk,10;
bonus bInt,1;
bonus bDex,1;

Set Script
Ribbon Piamat
Mad Bunny Shield
.@a = getequiprefinerycnt(EQI_GARMENT);
autobonus "{ bonus2 bHPLossRate,30,1000; bonus bMatk,5*("+.@a+"/3); }",30+.@a,10000,BF_MAGIC,"{ active_transform 1930,10000; specialeffect2 EF_POTION_BERSERK; /*Confirm Special Effect*/ }";
.@b = getequiprefinerycnt(EQI_HAND_L);
if (.@b >= 7)
   bonus2 bSubEle,Ele_All,2*.@b;