Royal Guard Necklace

Item ID 19246 Name Royal Guard Necklace
A necklace designed specifically for Royal Guards. It stands for the act of protecting others.
_______________________
ASPD +1
_______________________
When equipped with Imperial Feather:
ATK +40
Decreases After Attack Delay 3%.
Decreases damage taken from Players by 2%.
Prevents Blind and Silence status.

Base AGI at least 108:
ATK +60
Decreases After Attack Delay 5%.
Decreases damage taken from Players by 2%.

Base AGI at least 120:
ATK +80
Decreases After Attack Delay 7%.
Decreases damage taken from Players by 4%.
_______________________
Type: Headgear
Defense: 0
Position: Lower
Weight: 30
Armor Level: 1
Refineable: No
_______________________
Requirement:
Base Level 80
Weapon Level 0 Identifier Royalguard_Necklace
Attack 0 Type Armor
MATK 0 Equip Locations Lower Headgear
Defense 0 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 0 Equip Upper None
Weight 30 Min Equip Level 80
NPC Buy 20 Max Equip Level None
NPC Sell 10 Refineable No
Credit Price None Trade restriction None
Item Script
bonus bAspd,1;

Set Script
Imperial Feather
Royal Guard Necklace
.@atk = 40;
.@aspd = 3;
.@dmg = 2;
.@agi = readparam(bAgi);
if (.@agi > 107) {
   .@atk += 60;
   .@aspd += 5;
   .@dmg += 2;
}
if (.@agi > 119) {
   .@atk += 80;
   .@aspd += 7;
   .@dmg += 4;
}
bonus bBaseAtk,.@atk;
bonus bAspdRate,.@aspd;
bonus2 bSubRace,RC_Player_Human,.@dmg;
bonus2 bResEff,Eff_Blind,10000;
bonus2 bResEff,Eff_Silence,10000;