Kardui Ears

Item ID 19252 Name Kardui Ears
None
Weapon Level 0 Identifier KarduiEar_BR
Attack 0 Type Armor
MATK 0 Equip Locations Middle Headgear
Defense 0 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 0 Equip Upper None
Weight 30 Min Equip Level 70
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable No
Credit Price None Trade restriction None
Item Script
.@a = readparam(bDex);
bonus bMatk,2*(.@a/10);
if (.@a >= 108) {
   bonus bVariableCastrate,-10;
   bonus bMatk,30;
}
if (.@a >= 120) {
   bonus bVariableCastrate,-5;
   bonus bMatk,80;
}

Set Script
Tendrilrion Card
Kardui Ears
.@type = getiteminfo(getequipid(EQI_COMPOUND_ON), ITEMINFO_VIEW);
if (.@type == W_BOOK || .@type == W_STAFF || .@type == W_2HSTAFF) {
   .@r = getequiprefinerycnt(EQI_HAND_R);
   bonus2 bMagicAddRace,RC_Player_Doram,2*(min(.@r,14)/2);
   bonus2 bMagicAddRace,RC_Player_Human,2*(min(.@r,14)/2);
}
Kardui Ears
Tree Sprout
.@a = readparam(bDex);
bonus bMatk,10;
bonus bVariableCastrate,-2;
bonus2 bSubRace,RC_Player_Doram,2;
bonus2 bSubRace,RC_Player_Human,2;
if (.@a >= 108) {
   bonus bMatk,20;
   bonus bVariableCastrate,-3;
   bonus2 bSubRace,RC_Player_Doram,2;
   bonus2 bSubRace,RC_Player_Human,2;
}
if (.@a >= 120) {
   bonus bMatk,30;
   bonus bVariableCastrate,-5;
   bonus2 bSubRace,RC_Player_Doram,4;
   bonus2 bSubRace,RC_Player_Human,4;
}