Kardui Ear

Item ID 5966 Name Kardui Ear
An ears ornament modeled after the ears of king of Lapines.
_______________________
For each 10 base DEX:
MATK +2
_______________________
Base DEX at least 108:
MATK +60
Decreases Variable Casting Time by 10%.
_______________________
Base DEX at least 120:
MATK +40
Decreases Variable Casting Time by 5%.
_______________________
When equipped with Book or Staff class weapon and Tendrillion Card:
For each Refine Level of weapon Increases Magical Damage against monsters of Demi-Human race by 2%.
_______________________
When equipped with Lapine Shield:
Refine Level of Lapine Shield is +7 or higher:
Decreases Comet skill cooldown by 20 seconds.

Refine Level of Lapine Shield is +9 or higher:
Decreases Comet skill cooldown by 40 seconds.
When equipped with Fallen Bishop Card or Runaway Magic stone:
The cooldown reduction will not activated.
_______________________
Type: Headgear
Defense: 0
Position: Middle
Weight: 30
Armor Level: 1
Refineable: No
_______________________
Requirement:
Base Level 70
Weapon Level 0 Identifier KarduiEar
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
.@dex = readparam(bDex);
bonus bMatk,(.@dex > 10) ? .@dex/10*2 : 0;
if (.@dex > 107) {
   bonus bVariableCastrate,-10;
   bonus bMatk,60;
}
if (.@dex > 119) {
   bonus bVariableCastrate,-5;
   bonus bMatk,100;
}

Set Script
Lapine Shield
Kardui Ear
.@r = getequiprefinerycnt(EQI_HAND_L);
if (.@r >= 7)
   bonus2 bSkillCooldown,"WL_COMET",-20000+(.@r >= 9 ? -20000 : 0);
Kardui Ear
Lapine Shield
Fallen Bishop Hibram Card
.@r = getequiprefinerycnt(EQI_HAND_L);
if (.@r > 7)
   bonus2 bSkillCooldown,"WL_COMET",+20000+(.@r > 9 ? +20000 : 0);
Kardui Ear
Lapine Shield
Runaway Magic
.@r = getequiprefinerycnt(EQI_HAND_L);
if (.@r > 7)
   bonus2 bSkillCooldown,"WL_COMET",+20000+(.@r > 9 ? +20000 : 0);
Kardui Ear
Tendrilrion Card
.@type = getiteminfo(getequipid(EQI_COMPOUND_ON), ITEMINFO_VIEW);
if (.@type == W_BOOK || .@type == W_STAFF || .@type == W_2HSTAFF) {
   bonus2 bMagicAddRace,RC_Player_Human,getequiprefinerycnt(EQI_HAND_R)*2;
}
Tree Sprout
Kardui Ear
.@a = readparam(bDex);
bonus bMatk,10;
bonus bVariableCastrate,-2;
bonus2 bSubRace,RC_DemiHuman,2;
bonus2 bSubRace,RC_Player_Human,2;
if (.@a >= 108) {
   bonus bMatk,20;
   bonus bVariableCastrate,-3;
   bonus2 bSubRace,RC_DemiHuman,2;
   bonus2 bSubRace,RC_Player_Human,2;
}
if (.@a >= 120) {
   bonus bMatk,30;
   bonus bVariableCastrate,-5;
   bonus2 bSubRace,RC_DemiHuman,4;
   bonus2 bSubRace,RC_Player_Human,4;
}
Kardui Ear
Lapine Prayer Shoes
bonus bMatk,30;
bonus2 bSkillCooldown,"WL_COMET",-20000;