double mp = owner.getCurrentMp();
double cp = owner.getCurrentCp();
// Проверка на имунность к бафам/дебафам
if(owner.isEffectImmune() && newEffect.getEffectType() != EffectType.BuffImmunity)
{
SkillType st = newEffect.getSkill().getSkillType();
if(st == SkillType.BUFF || st == SkillType.DEBUFF)
{
return;
}
}