Peco Warrior Hat

Item ID 400667 Name Peco Warrior Hat
None
Weapon Level 0 Identifier Peco_Warrior_Hat_US
Attack 0 Type Armor
MATK 0 Equip Locations Upper Headgear
Defense 10 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 30 Min Equip Level 1
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus bMaxHPrate,10;
bonus bAllStats,5;
bonus bDelayrate,-20;
if (BaseLevel>=100)
   bonus3 bAutoSpell,"GC_CROSSIMPACT",3,50;
else if (BaseLevel<=99)
   bonus3 bAutoSpell,"AS_SONICBLOW",10,50;
if (getpetinfo(PETINFO_EGGID) == 9014) {
   bonus bBaseAtk,50;
   bonus bAspd,5;
   if (getpetinfo(PETINFO_INTIMATE) >= PET_INTIMATE_LOYAL) {
       bonus bSpeedRate,25;
       bonus bAllStats,5;
       if (.@r>=10) {
            bonus bMaxHPrate,10;
            bonus bMaxSPrate,10;
            if (.@r>=11) {
                bonus bAtkRate,25;
                if (.@r>=12) {
                    bonus bMaxHPrate,20;
                    bonus bMaxSPrate,20;
                }
            }
       }
   }
}

Set Script
Peco Peco Card
Peco Warrior Hat
bonus bAtkRate,15;
bonus bMaxHPrate,15;
bonus bUnbreakableArmor;
bonus bUnbreakableWeapon;