Class change related skill changes.

Contributed by Liamxroy.
This commit is contained in:
MobiusDevelopment
2019-11-05 22:31:36 +00:00
parent 3427bfc71a
commit da932ecae0
24 changed files with 138 additions and 129 deletions

View File

@@ -56,7 +56,7 @@ public class ClassChange extends AbstractEffect
if (effected.isPlayer())
{
final PlayerInstance player = effected.getActingPlayer();
// TODO: FIX ME - Executing 1 second later otherwise interupted exception during storeCharBase()
// TODO: FIX ME - Executing 100 ms later otherwise interupted exception during storeCharBase()
ThreadPool.schedule(() ->
{
final int activeClass = player.getClassId().getId();
@@ -86,7 +86,7 @@ public class ClassChange extends AbstractEffect
player.broadcastUserInfo();
player.sendPacket(new AcquireSkillList(player));
player.sendPacket(new ExSubjobInfo(player, SubclassInfoType.CLASS_CHANGED));
}, 1000);
}, 100);
}
}
}