bonus bInt,1;
bonus bDex,1;
if (readparam(bInt) >= 120)
   bonus bMatkRate,10;
else if (readparam(bInt) >= 99)
   bonus bMatkRate,7;
else
   bonus bMatkRate,5;
if (getpetinfo(PETINFO_ID) == 9023) {
   if (getpetinfo(PETINFO_INTIMATE) >= PET_INTIMATE_LOYAL)
      bonus bDelayRate,-5;
   else
      bonus bDelayRate,-2;
}