Kirin Horn

Item ID 28501 Name Kirin Horn
The horn of the legendary beast.
_______________________
AGI +2
DEF +3
Increases Attack Speed (decreases After Attack Delay by 2%).
_______________________
Decreases damage taken from Demi-Human, Brute and Fish race monsters by 1%.
_______________________
Decreases damage taken from Demon and Undead race by 2%.
_______________________
Enables the use of Level 6 Increase Agility.
_______________________
Base AGI at least 100:
Increases Attack Speed (decreases After Attack Delay by 5%).
_______________________
When equipped with DelayafterAttack Lv1:
ASPD +1
Decreases damage taken from Demi-Human, Brute, Fish, Demon and Undead race by 1%.
_______________________
When equipped with DelayAfterAttack Lv2:
ASPD +1
Decreases damage taken from Demi-Human, Brute, Fish, Demon and Undead race by 1%.
_______________________
Type: Accessory
Weight: 50
Armor Level: 1
_______________________
Requirement:
Base Level 50
Weapon Level 0 Identifier Horn_Of_Kirin
Attack 0 Type Armor
MATK 0 Equip Locations Accessory Left/Right
Defense 3 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 50 Min Equip Level 50
NPC Buy 20 Max Equip Level None
NPC Sell 10 Refineable No
Credit Price None Trade restriction None
Item Script
bonus bAgi,2;
bonus bAspdRate,2;
bonus2 bSubRace,RC_DemiHuman,1;
bonus2 bSubRace,RC_Brute,1;
bonus2 bSubRace,RC_Player_Doram,1;
bonus2 bSubRace,RC_Fish,1;
bonus2 bSubRace,RC_Player_Human,1;
bonus2 bSubRace,RC_Demon,2;
bonus2 bSubRace,RC_Undead,2;
skill "AL_INCAGI",6;
if (readparam(bAgi)>=100) {
   bonus bAspdRate,5;
}

Set Script
Kirin Horn
Atk Speed1
bonus bAspd,1;
bonus2 bSubRace,RC_DemiHuman,1;
bonus2 bSubRace,RC_Brute,1;
bonus2 bSubRace,RC_Player_Doram,1;
bonus2 bSubRace,RC_Fish,1;
bonus2 bSubRace,RC_Player_Human,1;
bonus2 bSubRace,RC_Demon,1;
bonus2 bSubRace,RC_Undead,1;
Kirin Horn
Atk Speed2
bonus bAspd,1;
bonus2 bSubRace,RC_DemiHuman,1;
bonus2 bSubRace,RC_Brute,1;
bonus2 bSubRace,RC_Player_Doram,1;
bonus2 bSubRace,RC_Fish,1;
bonus2 bSubRace,RC_Player_Human,1;
bonus2 bSubRace,RC_Demon,1;
bonus2 bSubRace,RC_Undead,1;