Libra Diadem

Item ID 19468 Name Libra Diadem
None
Weapon Level 0 Identifier Libra_Diadem_J
Attack 0 Type Armor
MATK 0 Equip Locations Upper Headgear
Defense 12 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 0 Equip Upper None
Weight 10 Min Equip Level None
NPC Buy 20 Max Equip Level None
NPC Sell 10 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus bUnbreakableHelm;
bonus bMdef,15;
bonus bStr,10;
bonus bBaseAtk,50;
bonus bDelayrate,-20;
if (eaclass()&EAJL_THIRD && BaseJob == Job_Knight) {
   bonus2 bSubClass,Class_Boss,20;
   bonus bHPGainValue,500;
   bonus bSPGainValue,50;
   bonus2 bSkillAtk,"RK_STORMBLAST",(.@r>=8?70:(.@r>=6?50:30));
   bonus2 bFixedCastrate,"RK_REFRESH",-100;
   autobonus3 "{ bonus bAtkRate,-50; bonus bMatkRate,-50; bonus3 bAutoSpellWhenHit,\"RK_MILLENNIUMSHIELD\",1,10; }",1000,60000,"RK_MILLENNIUMSHIELD";
   autobonus3 "{ percentheal 100,100; sc_end UNLUCKY; sc_end IGNORANCE; sc_end WEAKNESS; sc_end ENERVATION; sc_end LAZINESS; }",1000,1000,"RK_REFRESH";
   autobonus3 "{ bonus bNoKnockback; }",1000,30000,"RK_CRUSHSTRIKE";
   autobonus3 "{ bonus bStr,30; bonus bInt,-30; }",1000,300000,"RK_GIANTGROWTH";
   autobonus3 "{ bonus2 bSPRegenRate,40,10000; }",1000,300000,"RK_ABUNDANCE";
   autobonus3 "{ bonus bShortWeaponDamageReturn,10; heal -1000,0; }",1000,300000,"RK_STONEHARDSKIN";
   autobonus3 "{ bonus2 bHPRegenRate,500,10000; }",1000,300000,"RK_VITALITYACTIVATION";
   autobonus3 "{ bonus bBaseAtk,10; bonus bAspdRate,10; }",1000,300000,"RK_FIGHTINGSPIRIT";
   if (.@r>=6)
      autobonus3 "{ bonus3 bAutoSpellWhenHit,\"RK_MILLENNIUMSHIELD\",1,20; }",1000,60000,"RK_MILLENNIUMSHIELD";
   if (.@r>=8) {
      bonus bAllStats,10;
      bonus2 bHPRegenRate,500,5000;
      bonus2 bSPRegenRate,50,5000;
      autobonus3 "{ bonus3 bAutoSpellWhenHit,\"RK_MILLENNIUMSHIELD\",1,30; }",1000,60000,"RK_MILLENNIUMSHIELD";
   }
}

Set Script
Zodiac
Libra Diadem
.@r = getequiprefinerycnt(EQI_HEAD_TOP);
if (eaclass()&EAJL_THIRD && BaseJob == Job_Knight)
   bonus bLongAtkRate,2*.@r;