Browse Source

Boxed Title

lakebane-master
FatBoy-DOTC 7 months ago
parent
commit
1bb4e17ead
  1. 3
      src/engine/net/client/msg/VendorDialogMsg.java

3
src/engine/net/client/msg/VendorDialogMsg.java

@ -12,6 +12,7 @@ package engine.net.client.msg; @@ -12,6 +12,7 @@ package engine.net.client.msg;
import engine.Enum;
import engine.Enum.DispatchChannel;
import engine.Enum.GuildHistoryType;
import engine.InterestManagement.InterestManager;
import engine.exception.MsgSendException;
import engine.gameManager.*;
import engine.math.Vector3fImmutable;
@ -150,10 +151,12 @@ public class VendorDialogMsg extends ClientNetMsg { @@ -150,10 +151,12 @@ public class VendorDialogMsg extends ClientNetMsg {
}
playerCharacter.isBoxed = false;
playerCharacter.title = CharacterTitle.NONE;
InterestManager.reloadCharacter(playerCharacter);
playerCharacter.removeEffectBySource(Enum.EffectSourceType.DeathShroud,50,true);
for(PlayerCharacter box : currentBoxes) {
box.isBoxed = true;
box.title = CharacterTitle.BOX;
InterestManager.reloadCharacter(box);
}
}
Dispatch dispatch = Dispatch.borrow(playerCharacter, msg);

Loading…
Cancel
Save