Fast fix for hp/mp regeneration after NPC or community board buffing player.
This commit is contained in:
parent
2178de8b65
commit
d048556921
@ -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();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user