Whike Black Tail

Item ID 28351 Name Whike Black Tail
It imitates the black tail worn by Wikebine in Morocc.
Unfortunately, it doesn't seem to work ...
_______________________
Critical +7
Increases Attack Speed (decreases After Attack Delay by 3%).
_______________________
When equipped with Wickebine's Black Cat Ears:
Increases Critical Damage by 10%.

Refine Level of Wickebine's Black Cat Ears is +7 or higher:
Critical +5
_______________________
When equipped with Black Cat Ears Beret
Random chance to transform wearer into Wild Rose for 5 seconds when dealing physical damage.
During transformation:
All Basic Stats +8

For each Refine Level of Black Cat Ears Beret:
Increases the trigger chance.
_______________________
Type: Accessory
Weight: 10
Armor Level: 1
_______________________
Requirement:
Base Level 45
Weapon Level 0 Identifier Whike_Black_Tail_S
Attack 0 Type Armor
MATK 0 Equip Locations Accessory Left/Right
Defense 0 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 10 Min Equip Level 45
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable No
Credit Price None Trade restriction None
Item Script
bonus bCritical,7;
bonus bAspdRate,3;

Set Script
Whike Black Tail
Wickebine's Black Cat Ears
bonus bCritAtkRate,10;
if (getequiprefinerycnt(EQI_HEAD_TOP) >= 7)
   bonus bCritical,5;
Whike Black Tail
Black Cat Ears Beret
.@r =  getequiprefinerycnt(EQI_HEAD_TOP);
autobonus "{ bonus bAllStats,8; }",10+.@r,5000,BF_WEAPON,"{ active_transform 1261,5000; }";