Fast fix for hp/mp regeneration after NPC or community board buffing player.

This commit is contained in:
MobiusDev 2016-12-21 08:23:11 +00:00
parent 2178de8b65
commit d048556921

View File

@ -1229,6 +1229,13 @@ public final class Skill implements IIdentifiable
{ {
info.addEffect(effect); info.addEffect(effect);
} }
// tempfix for hp/mp regeneration
// TODO: Find where regen stops and make a proper fix
if (info.getEffected().isPlayer() && !info.getSkill().isBad())
{
info.getEffected().getActingPlayer().getStatus().startHpMpRegeneration();
}
} }
} }
} }