case FORMULA_LEVELMAGIC:
{
min = (int32_t)((player->getLevel() + player->getMagicLevel() * 4) * 1. * mina + minb);
max = (int32_t)((player->getLevel() + player->getMagicLevel() * 4) * 1. * maxa + maxb);
Vocation* vocation = player->getVocation();
float multiplier = 1.0f;
if(max > 0)
multiplier = vocation->getMultiplier(MULTIPLIER_MAGICHEALING);
else
multiplier = vocation->getMultiplier(MULTIPLIER_MAGIC);
min = (int32_t)(min * multiplier);
max = (int32_t)(max * multiplier);
return true;
}