Sword Master Crown

Item ID 18865 Name Sword Master Crown
A crown given to sword saint whose master of any weapons.
_______________________
Base Level at least 50:
ATK +5
_______________________
Base Level at least 100:
ATK +10
_______________________
Base Level at least 150:
ATK +15
_______________________
When mastered Level 10 Sword Mastery:
HIT +10
_______________________
When mastered Level 10 Two-Handed Sword Mastery:
Decreases SP Consumption by 5%.
_______________________
When mastered Level 10 Spear Mastery:
Decreases After Skill Delay by 10%.
_______________________
When mastered Level 10 Axe Mastery:
Decreases Variable Casting Time by 15%.
_______________________
When mastered Level 10 Katar Mastery:
Increases Critical Damage by 20%.
_______________________
When mastered Level 10 Mace Mastery:
Increases Attack Speed (decreases After Attack Delay by 10%).
_______________________
When equipped with Mysteltainn Card:
Increases Physical Damage against enemies of Small size by 5%.
_______________________
When equipped with Tirfing Card:
Increases Physical Damage against enemies of Medium size by 5%.
_______________________
When equipped with Executioner Card:
Increases Physical Damage against enemies of Large size by 5%.
_______________________
Type: Headgear
Defense: 30
Position: Upper
Weight: 100
Armor Level: 1
_______________________
Requirement:
Base Level 50
Weapon Level 0 Identifier Sword_Master_Crown
Attack 0 Type Armor
MATK 0 Equip Locations Upper Headgear
Defense 30 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 100 Min Equip Level 50
NPC Buy 10 Max Equip Level None
NPC Sell 5 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@i = BaseLevel;
bonus bBaseAtk,(.@i>150)?(15):((.@i>100)?(10):((.@i>50)?(5):(0)));
if (getskilllv("SM_SWORD") == 10)
   bonus bHit,10;
if (getskilllv("SM_TWOHAND") == 10)
   bonus bUseSPrate,-5;
if (getskilllv("AM_AXEMASTERY") == 10)
   bonus bVariableCastrate,-5;
if (getskilllv("AS_KATAR") == 10)
   bonus bCritAtkRate,20;
if (getskilllv("PR_MACEMASTERY") == 10)
   bonus bAspdRate,10;

Set Script
Mysteltainn Card
Sword Master Crown
bonus2 bAddSize,Size_All,5;
bonus2 bMagicAddSize,Size_All,5;
Executioner Card
Sword Master Crown
bonus2 bAddSize,Size_All,5;
bonus2 bMagicAddSize,Size_All,5;
Ogretooth Card
Sword Master Crown
bonus2 bAddSize,Size_All,5;
bonus2 bMagicAddSize,Size_All,5;