Alice Body Pillow

Item ID 460084 Name Alice Body Pillow
None
Weapon Level 0 Identifier Alice_Pillow_US
Attack 0 Type Armor
MATK 0 Equip Locations Off Hand
Defense 50 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();
.@g = getenchantgrade();
bonus bMaxHPrate,10;
bonus bMaxSPrate,10;
bonus bMdef,10;
bonus bPAtk,.@r/2;
bonus bSMatk,.@r/2;
bonus2 bAddClass,Class_All,5*(.@r/3);
bonus bMatkRate,5*(.@r/3);
if (getpetinfo(PETINFO_EGGID) == 9027) {
   bonus bBaseAtk,30;
   bonus bMatk,30;
   bonus2 bHPDrainRate,30,5;
   if (getpetinfo(PETINFO_INTIMATE) >= PET_INTIMATE_LOYAL) {
       bonus bAspd,2;
       bonus bVariableCastrate,-10;
   }
}
if (.@r>=11) {
   autobonus "{ bonus bInt,70; }",60,20000,BF_MAGIC;
   autobonus "{ bonus bStr,70; }",60,20000,BF_WEAPON;
   if (.@r>=12) {
       bonus bFixedCastrate,-50;
   }
}
if (.@g>=ENCHANTGRADE_D) {
   bonus bMaxHPrate,10;
   bonus bMaxSPrate,10;
   if (.@g>=ENCHANTGRADE_C) {
       bonus bDelayrate,-15;
       if (.@g>=ENCHANTGRADE_B) {
            bonus bPow,12;
            bonus bSpl,12;
       }
   }
}

Set Script
Alice Card
Alice Body Pillow
bonus2 bSubClass,Class_Normal,40;
if (getequiprefinerycnt(EQI_HAND_L)>=10) {
   bonus bPAtk,10;
   bonus bSMatk,10;
}