|
|
|
@ -8,10 +8,14 @@
@@ -8,10 +8,14 @@
|
|
|
|
|
|
|
|
|
|
package engine.InterestManagement; |
|
|
|
|
|
|
|
|
|
import com.sun.corba.se.spi.orbutil.fsm.ActionBase; |
|
|
|
|
import com.sun.corba.se.spi.orbutil.fsm.FSM; |
|
|
|
|
import com.sun.corba.se.spi.orbutil.fsm.Input; |
|
|
|
|
import engine.Enum; |
|
|
|
|
import engine.Enum.DispatchChannel; |
|
|
|
|
import engine.Enum.GameObjectType; |
|
|
|
|
import engine.gameManager.GroupManager; |
|
|
|
|
import engine.gameManager.PowersManager; |
|
|
|
|
import engine.gameManager.SessionManager; |
|
|
|
|
import engine.job.JobScheduler; |
|
|
|
|
import engine.jobs.RefreshGroupJob; |
|
|
|
@ -24,11 +28,13 @@ import engine.net.client.msg.LoadStructureMsg;
@@ -24,11 +28,13 @@ import engine.net.client.msg.LoadStructureMsg;
|
|
|
|
|
import engine.net.client.msg.MoveToPointMsg; |
|
|
|
|
import engine.net.client.msg.UnloadObjectsMsg; |
|
|
|
|
import engine.objects.*; |
|
|
|
|
import engine.powers.ActionsBase; |
|
|
|
|
import engine.server.MBServerStatics; |
|
|
|
|
import org.pmw.tinylog.Logger; |
|
|
|
|
|
|
|
|
|
import java.util.ArrayList; |
|
|
|
|
import java.util.HashSet; |
|
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
|
|
import static engine.math.FastMath.sqr; |
|
|
|
|
|
|
|
|
@ -531,7 +537,16 @@ public enum InterestManager implements Runnable {
@@ -531,7 +537,16 @@ public enum InterestManager implements Runnable {
|
|
|
|
|
ml.promoteToItem(player); |
|
|
|
|
player.getCharItemManager().addGoldToInventory(50000, true); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
player.isBoxed = false; |
|
|
|
|
for (String name : player.effects.keySet()) { |
|
|
|
|
Effect eff = player.effects.get(name); |
|
|
|
|
if (eff == null) { |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
//remove deathshroud here!
|
|
|
|
|
if (eff.getEffectToken() == 1672601862) |
|
|
|
|
player.effects.remove(name); |
|
|
|
|
} |
|
|
|
|
for(PlayerCharacter pc : SessionManager.getAllActivePlayers()){ |
|
|
|
|
if(pc.isActive() == false) |
|
|
|
|
continue; |
|
|
|
|