RWC Memory Mace

Item ID 16026 Name RWC Memory Mace
A mace made of pure gold created for the 2012 RWC (Ragnarok World Championship)
_______________________
For each 3 Refine Levels:
ATK +30
_______________________
Refine Level +6:
ATK +5%
_______________________
Refine Level +9:
ATK +5%
Random chance to auto-cast Level 1 Weapon Perfection when dealing physical damage.
_______________________
When equipped with RWC Memorial Ring:
For each Refine Level of RWC Memory Mace:
ATK +5
These set bonuses do not work with the card-slotted RWC accessories
_______________________
Type: Mace
Attack: 100
Weight: 80
Weapon Level: 3
_______________________
Requirement:
Swordsman, Acolyte and Merchant
Weapon Level 3 Identifier RWC_Memory_Mace
Attack 100 Type Weapon - Mace
MATK 0 Equip Locations Main Hand
Defense 0 Equippable Jobs Swordman, Acolyte, Merchant, Knight, Priest, Blacksmith, Crusader, Monk, Alchemist
Range 1 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 80 Min Equip Level 1
NPC Buy 20 Max Equip Level None
NPC Sell 10 Refineable Yes
Credit Price None Trade restriction Can't be dropped
Item Script
.@r = getrefine();
bonus bBaseAtk,(.@r/3)*30;
if (.@r>=9) {
   bonus2 bAddRace,RC_All,5;
   bonus3 bAutoSpell,"BS_WEAPONPERFECT",1,10;
}
if (.@r>=6) {
   bonus2 bAddRace,RC_All,5;
}

Set Script
RWC 2012 Ring
Chambered RWC 2012 Ring
RWC Memory Mace
bonus bBaseAtk,-(getequiprefinerycnt(EQI_HAND_R)*5);
RWC 2012 Ring
RWC Memory Mace
bonus bBaseAtk,getequiprefinerycnt(EQI_HAND_R)*5;
Chambered RWC 2012 Ring
RWC Memory Mace
bonus bBaseAtk,getequiprefinerycnt(EQI_HAND_R)*5;