Support sealing mob skill

This commit is contained in:
P0nk
2022-08-29 19:40:24 +02:00
parent 4baf06e4f9
commit 84890ac308
4 changed files with 37 additions and 1 deletions

View File

@@ -1448,7 +1448,7 @@ public class Monster extends AbstractLoadedLife {
}
public boolean canUseSkill(MobSkill toUse, boolean apply) {
if (toUse == null) {
if (toUse == null || isBuffed(MonsterStatus.SEAL_SKILL)) {
return false;
}