*/
public void standUp()
{
if(isFakeDeath())
{
broadcastPacket(new ChangeWaitType(this, ChangeWaitType.WT_STANDING));
// Schedule a stand up task to wait for the animation to finish
setIsImobilised(true);
ThreadPoolManager.getInstance().scheduleGeneral(new StandUpTask(this), 2000);
stopFakeDeath(null);
}
if(sittingTaskLaunched){
return;
}
if(L2Event.active && eventSitForced)
{
sendMessage("A dark force beyond your mortal understanding makes your knees to shake when you try to stand up ...");
}
else if((TvT.is_sitForced() && _inEventTvT) || (CTF.is_sitForced() && _inEventCTF) || (DM.is_sitForced() && _inEventDM))
{
sendMessage("The Admin/GM handle if you sit or stand in this match!");
}
else if (Raid._sitForced && _inEventRaid)
{
sendMessage("A dark force beyond your mortal understanding makes your knees shake when you try to stand up ...");
}
else if(VIP._sitForced && _inEventVIP)
{
sendMessage("The Admin/GM handle if you sit or stand in this match!");
}
else if(isAway())
{
sendMessage("You can't stand up if your Status is Away.");
}
else if(_waitTypeSitting && !isInStoreMode() && !isAlikeDead())
{
if(_relax)
{
setRelax(false);
stopEffects(L2Effect.EffectType.RELAXING);
}
broadcastPacket(new ChangeWaitType(this, ChangeWaitType.WT_STANDING));
// Schedule a stand up task to wait for the animation to finish
setIsImobilised(true);
ThreadPoolManager.getInstance().scheduleGeneral(new StandUpTask(this), 2500);
}