// Only transfer dmg up to current HP, it should not be killed
if (summon.getCurrentHp() < tDmg) tDmg = (int)summon.getCurrentHp() - 1;
if (tDmg > 0)
{
summon.reduceCurrentHp(tDmg, attacker);
value -= tDmg;
fullValue = (int) value; // reduce the annouced value here as player will get a message about summon dammage
}
}