Crown of Good and Evil (Trouvere & Troubadour)

Item ID 400385 Name Crown of Good and Evil (Trouvere & Troubadour)
A helmet that resonates with the power of heroes and calamities.
It has the effect of amplifying the Good and Evil Weapons.
_______________________
For each 3 Refine Levels:
Increases Physical Damage against enemies of every race by 5%.
Increases Magical Damage against enemies of every race by 5%.
_______________________
For each 4 Refine Levels:
Increases Ranged Physical Damage by 7%.
Increases Magical Damage with every element by 7%.
_______________________
Refine Level +7:
RES +50
_______________________
Refine Level +9:
Decreases Variable Casting Time by 10%.
_______________________
Refine Level +11:
ATK +5%, MATK +5%
Decreases Fixed Casting Time by 0.3 seconds.
_______________________
When equipped with Crime Violin or Crime Whip:
For each 3 Refine Levels of Crime Violin or Crime Whip:
Increases damage of Metallic Fury by 4%.
Increases damage of Sound Blend by 5%.

If Crime Violin or Crime Whip's Grade is B or higher:
Increases damage of Metallic Fury by additional 10%.

When equipped with Evil Spell:
Increases damage of Metallic Fury by additional 15%.
Increases damage of Sound Blend by additional 20%.
_______________________
When equipped with Light Power Harp or Light Power Harp:
For each 3 Refine Levels of Light Power Harp or Light Power Harp:
Increases damage of Rhythm Shooting by 4%.
Increases damage of Rose Blossom by 5%.

If Light Power Harp or Light Power Harp's Grade is B or higher:
Increases damage of Rhythm Shooting by additional 10%.

When equipped with Good Spell:
Increases damage of Rhythm Shooting by additional 15%.
Increases damage of Rose Blossom by additional 20%.
_______________________
[Bonus by Grade]
[Grade D]: MaxHP +5%
[Grade C]: P.ATK +3, S.MATK +3
[Grade B]: S.MATK +2, S.MATK +2, POW +2, SPL +2
[Grade A]: RES +50, MRES +50, Refine Level +12: Fixed Casting Time -0.2 seconds.
_______________________
Type: Headgear
Defense: 10
Position: Upper
Weight: 10
Armor Level: 2
_______________________
Requirement:
Base Level 215
Troubadour, Trouvere
Weapon Level 0 Identifier GoodnEvil_Circlet_TR
Attack 0 Type Armor
MATK 0 Equip Locations Upper Headgear
Defense 10 Equippable Jobs Bard / Dancer
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 10 Min Equip Level 215
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@g = getenchantgrade();
.@r = getrefine();
bonus2 bAddRace,RC_All,5*(.@r/3);
bonus2 bMagicAddRace,RC_All,5*(.@r/3);
bonus bLongAtkRate,7*(.@r/4);
bonus2 bMagicAtkEle,Ele_All,7*(.@r/4);
if (.@r>=7) {
   bonus bRes,50;
   if (.@r>=9) {
      bonus bVariableCastrate,-10;
      if (.@r>=11) {
         bonus bFixedCast,-300;
         bonus bMatkRate,5;
         bonus bAtkRate,5;
      }
   }
}
if (.@g>=ENCHANTGRADE_D) {
   bonus bMaxHPrate,5;
   if (.@g>=ENCHANTGRADE_C) {
      bonus bPAtk,3;
      bonus bSMatk,3;
      if (.@g>=ENCHANTGRADE_B) {
         bonus bPAtk,2;
         bonus bSMatk,2;
         bonus bSpl,2;
         bonus bCon,2;
         if (.@g>=ENCHANTGRADE_A) {
            bonus bMRes,50;
            bonus bRes,50;
            if (.@r>=12) {
               bonus bFixedCast,-200;
            }
         }
      }
   }
}

Set Script
Crown of Good and Evil (Trouvere & Troubadour)
Good Spell
Light Power Harp
bonus2 bSkillAtk,"TR_ROSEBLOSSOM",20;
bonus2 bSkillAtk,"TR_ROSEBLOSSOM_ATK",20;
bonus2 bSkillAtk,"TR_RHYTHMSHOOTING",15;
Crown of Good and Evil (Trouvere & Troubadour)
Good Spell
Light Power Spark
bonus2 bSkillAtk,"TR_ROSEBLOSSOM",20;
bonus2 bSkillAtk,"TR_ROSEBLOSSOM_ATK",20;
bonus2 bSkillAtk,"TR_RHYTHMSHOOTING",15;
Crown of Good and Evil (Trouvere & Troubadour)
Evil Spell
Crime Violin
bonus2 bSkillAtk,"TR_SOUNDBLEND",20;
bonus2 bSkillAtk,"TR_METALIC_FURY",15;
Crown of Good and Evil (Trouvere & Troubadour)
Evil Spell
Crime Whip
bonus2 bSkillAtk,"TR_SOUNDBLEND",20;
bonus2 bSkillAtk,"TR_METALIC_FURY",15;
Crown of Good and Evil (Trouvere & Troubadour)
Crime Violin
.@r = getequiprefinerycnt(EQI_HAND_R)/3;
bonus2 bSkillAtk,"TR_SOUNDBLEND",5*.@r;
bonus2 bSkillAtk,"TR_METALIC_FURY",4*.@r;
if (getenchantgrade(EQI_HAND_R)>=ENCHANTGRADE_B) {
   bonus2 bSkillAtk,"TR_METALIC_FURY",10;
}
Crown of Good and Evil (Trouvere & Troubadour)
Crime Whip
.@r = getequiprefinerycnt(EQI_HAND_R)/3;
bonus2 bSkillAtk,"TR_SOUNDBLEND",5*.@r;
bonus2 bSkillAtk,"TR_METALIC_FURY",4*.@r;
if (getenchantgrade(EQI_HAND_R)>=ENCHANTGRADE_B) {
   bonus2 bSkillAtk,"TR_METALIC_FURY",10;
}
Crown of Good and Evil (Trouvere & Troubadour)
Light Power Harp
.@r = getequiprefinerycnt(EQI_HAND_R)/3;
bonus2 bSkillAtk,"TR_RHYTHMSHOOTING",4*.@r;
bonus2 bSkillAtk,"TR_ROSEBLOSSOM",5*.@r;
bonus2 bSkillAtk,"TR_ROSEBLOSSOM_ATK",5*.@r;
if (getenchantgrade(EQI_HAND_R)>=ENCHANTGRADE_B) {
   bonus2 bSkillAtk,"TR_RHYTHMSHOOTING",10;
}
Crown of Good and Evil (Trouvere & Troubadour)
Light Power Spark
.@r = getequiprefinerycnt(EQI_HAND_R)/3;
bonus2 bSkillAtk,"TR_RHYTHMSHOOTING",4*.@r;
bonus2 bSkillAtk,"TR_ROSEBLOSSOM",5*.@r;
bonus2 bSkillAtk,"TR_ROSEBLOSSOM_ATK",5*.@r;
if (getenchantgrade(EQI_HAND_R)>=ENCHANTGRADE_B) {
   bonus2 bSkillAtk,"TR_RHYTHMSHOOTING",10;
}