Baby Red Dragon Hat-LT

Item ID 400400 Name Baby Red Dragon Hat-LT
MaxHP +3000, �MaxSP +200?
_______________________
Base Level at least 200:
POW +3, P.ATK +2
_______________________
For each 2 Refine Levels:
Increases damage of Dragon Breath and Dragon Breath - Water by 10%.
_______________________
For each 3 Refine Levels:
Increases Ranged Physical Damage by 5%.
_______________________
Refine Level +7:
ASPD +1
_______________________
Refine Level +9:
MaxHP +15%
_______________________
Refine Level +11:
Decreases After Skill Delay by 10%.
_______________________
Refine Level +13:
Has a chance to transform into Red Ferus for 10 seconds when dealing Physical Damage.
During transformation:
Increases Ranged Physical Damage by additional 25%.
_______________________
[Bonus by Grade]
[Grade D]: P.ATK +5
[Grade C]: Refine Level +11: After Skill Delay -8%.
[Grade B]: Refine Level +13: Fixed Casting Time -0.5 seconds.
[Grade A]: Damage of Dragon Breath and Dragon Breath - Water +30%.
_______________________
Type: Headgear
Defense: 0
Position: Upper
Weight: 70
Armor Level: 2
_______________________
Requirement:
Base Level 190
Weapon Level 0 Identifier Red_Baby_Dragon_LT
Attack 0 Type Armor
MATK 0 Equip Locations Upper Headgear
Defense 0 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 70 Min Equip Level 190
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@g = getenchantgrade();
.@r = getrefine();
bonus bMaxHP,3000;
bonus bMaxSP,200;
bonus2 bSkillAtk,"RK_DRAGONBREATH",10*(.@r/2);
bonus2 bSkillAtk,"RK_DRAGONBREATH_WATER",10*(.@r/2);
bonus bLongAtkRate,5*(.@r/3);
if (BaseLevel>=200) {
   bonus bPow,3;
   bonus bPAtk,2;
}
if (.@r>=7) {
   bonus bAspd,1;
   if (.@r>=9) {
       bonus bMaxHPrate,15;
       if (.@r>=11) {
           bonus bDelayrate,-10;
           if (.@r>=13) {
               autobonus "{ bonus bLongAtkRate,25; }",20,10000,BF_WEAPON,"{ active_transform 1714,10000; }";
           }
       }
   }
}
if (.@g >= ENCHANTGRADE_D) {
   bonus bPAtk,5;
   if (.@g >= ENCHANTGRADE_C) {
       if (.@r>=11) {
           bonus bDelayrate,-8;
           if (.@g >= ENCHANTGRADE_B) {
               if (.@r>=13) {
                   bonus bFixedCast,-500;
                   if (.@g >= ENCHANTGRADE_A) {
                       bonus2 bSkillAtk,"RK_DRAGONBREATH",30;
                       bonus2 bSkillAtk,"RK_DRAGONBREATH_WATER",30;
                   }
               }
           }
       }
   }
}