Old Rune Circlet

Item ID 18971 Name Old Rune Circlet
An old, abandoned rune circlet that emanates a mysterious aura.
_______________________
All Basic Stats +1
MDEF +5
_______________________
For each Refine Level:
ATK +4
_______________________
For each 2 Refine Levels:
MaxHP +1%
MaxSP +1%
Increases damage of Ignition Break by 20%.
Increases damage of Hundred Spear by 15%.
_______________________
For each 5 Refine Levels:
ASPD +1
_______________________
Type: Headgear
Defense: 10
Position: Upper
Weight: 10
Armor Level: 1
Enchantable: Yes
_______________________
Requirement:
Base Level 170
Rune Knight
Weapon Level 0 Identifier Old_Rune_Circlet
Attack 0 Type Armor
MATK 0 Equip Locations Upper Headgear
Defense 10 Equippable Jobs Knight
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper Third, Third Upper, Third Baby
Weight 10 Min Equip Level 170
NPC Buy 10 Max Equip Level None
NPC Sell 5 Refineable Yes
Credit Price None Trade restriction Can't be dropped, Can't be traded with player, Can't be sold to NPC, Can't be put in Cart, Can't be put in Guild Storage, Can't be attached in Mail, Can't be auctioned
Item Script
bonus bAllStats,1;
bonus bMdef,5;
.@r = getrefine();
bonus bBaseAtk,4*.@r;
bonus bAspd,.@r/5;
bonus bMaxHPrate,.@r/2;
bonus bMaxSPrate,.@r/2;
bonus2 bSkillAtk,"RK_IGNITIONBREAK",20*.@r/2;
bonus2 bSkillAtk,"RK_HUNDREDSPEAR",15*.@r/2;

Set Script
Old Detachment Ring
Old Rune Circlet
bonus2 bFixedCastrate,"RK_STORMBLAST",-100;
Subject Cape (Melee)
Old Rune Circlet
.@r = getequiprefinerycnt(EQI_GARMENT);
bonus bCritAtkRate,3*(.@r/2);
if (.@r>=12)
   skill "TF_DOUBLE",5;
Record of Swordsman
Old Rune Circlet
bonus bLongAtkRate,15;
Great Fallen Manteau
Old Rune Circlet
.@r = getequiprefinerycnt(EQI_GARMENT);
bonus2 bSkillAtk,"RK_WINDCUTTER",20*(.@r/2);
if (.@r >= 12)
   autobonus3 "{ bonus bShortWeaponDamageReturn,10; }",1000,10000,"RK_DEATHBOUND";
Record of Wrath (Swordman)
Old Rune Circlet
bonus bLongAtkRate,15;
bonus2 bSkillAtk,"RK_HUNDREDSPEAR",30;
Old Rune Circlet
[Not for Sale] Record of Swordsman
bonus bLongAtkRate,15;
Old Rune Circlet
Record of Swordsman 2
bonus bLongAtkRate,3*getequiprefinerycnt(EQI_HEAD_TOP);
Old Rune Circlet
[Not For Sale] Record of Swordsman 2
bonus bLongAtkRate,3*getequiprefinerycnt(EQI_HEAD_TOP);
Old Rune Circlet
Record of Swordsman
Record of Swordsman 2
.@r = getequiprefinerycnt(EQI_HEAD_TOP);
bonus bAtkRate,6*(.@r/3);
bonus2 bSkillAtk,"RK_HUNDREDSPEAR",10*(.@r/3);
Old Rune Circlet
[Not for Sale] Record of Swordsman
Record of Swordsman 2
.@r = getequiprefinerycnt(EQI_HEAD_TOP);
bonus bAtkRate,6*(.@r/3);
bonus2 bSkillAtk,"RK_HUNDREDSPEAR",10*(.@r/3);
Old Rune Circlet
Record of Swordsman
[Not For Sale] Record of Swordsman 2
.@r = getequiprefinerycnt(EQI_HEAD_TOP);
bonus bAtkRate,6*(.@r/3);
bonus2 bSkillAtk,"RK_HUNDREDSPEAR",10*(.@r/3);
Old Rune Circlet
[Not for Sale] Record of Swordsman
[Not For Sale] Record of Swordsman 2
.@r = getequiprefinerycnt(EQI_HEAD_TOP);
bonus bAtkRate,6*(.@r/3);
bonus2 bSkillAtk,"RK_HUNDREDSPEAR",10*(.@r/3);
Old Rune Circlet
Fallen Warrior's Shield
Record of Swordsman
.@r = getequiprefinerycnt(EQI_HEAD_TOP)+getequiprefinerycnt(EQI_HAND_L);
if (getskilllv("RK_HUNDREDSPEAR") == 10)
   skill "LG_SHIELDSPELL",1;
if (getskilllv("RK_IGNITIONBREAK") >= 1)
   bonus bBaseAtk,-120;
if (.@r>=18) {
   bonus bDelayrate,-5;
   bonus bAspdRate,10;
}
if (.@r>=21)
   bonus2 bSkillCooldown,"RK_HUNDREDSPEAR",-500;
Old Rune Circlet
Fallen Warrior's Shield
[Not for Sale] Record of Swordsman
.@r = getequiprefinerycnt(EQI_HEAD_TOP)+getequiprefinerycnt(EQI_HAND_L);
if (getskilllv("RK_HUNDREDSPEAR") == 10)
   skill "LG_SHIELDSPELL",1;
if (getskilllv("RK_IGNITIONBREAK") >= 1)
   bonus bBaseAtk,-120;
if (.@r>=18) {
   bonus bDelayrate,-5;
   bonus bAspdRate,10;
}
if (.@r>=21)
   bonus2 bSkillCooldown,"RK_HUNDREDSPEAR",-500;
Old Rune Circlet
Document Swordsman
.@r = getequiprefinerycnt(EQI_HEAD_TOP);
bonus2 bSkillCooldown,"RK_IGNITIONBREAK",-1500;
bonus2 bAddRace,RC_All,4*(.@r/2);
bonus2 bSkillAtk,"RK_IGNITIONBREAK",10*(.@r/2);
Old Rune Circlet
Old Detachment Ring
bonus2 bSkillAtk,"RK_IGNITIONBREAK",60;