Boxed Title
This commit is contained in:
@@ -149,9 +149,12 @@ public class VendorDialogMsg extends ClientNetMsg {
|
|||||||
currentBoxes.add(pc);
|
currentBoxes.add(pc);
|
||||||
}
|
}
|
||||||
playerCharacter.isBoxed = false;
|
playerCharacter.isBoxed = false;
|
||||||
|
playerCharacter.title = CharacterTitle.NONE;
|
||||||
playerCharacter.removeEffectBySource(Enum.EffectSourceType.DeathShroud,50,true);
|
playerCharacter.removeEffectBySource(Enum.EffectSourceType.DeathShroud,50,true);
|
||||||
for(PlayerCharacter box : currentBoxes)
|
for(PlayerCharacter box : currentBoxes) {
|
||||||
box.isBoxed = true;
|
box.isBoxed = true;
|
||||||
|
box.title = CharacterTitle.BOX;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Dispatch dispatch = Dispatch.borrow(playerCharacter, msg);
|
Dispatch dispatch = Dispatch.borrow(playerCharacter, msg);
|
||||||
DispatchMessage.dispatchMsgDispatch(dispatch, DispatchChannel.SECONDARY);
|
DispatchMessage.dispatchMsgDispatch(dispatch, DispatchChannel.SECONDARY);
|
||||||
|
|||||||
@@ -156,7 +156,7 @@ public class PlayerCharacter extends AbstractCharacter {
|
|||||||
private NPC lastNPCDialog;
|
private NPC lastNPCDialog;
|
||||||
private Mob pet;
|
private Mob pet;
|
||||||
//Used for skill/Power calculation optimization
|
//Used for skill/Power calculation optimization
|
||||||
private CharacterTitle title = CharacterTitle.NONE;
|
public CharacterTitle title = CharacterTitle.NONE;
|
||||||
private boolean asciiLastName = true;
|
private boolean asciiLastName = true;
|
||||||
private int spamCount = 0;
|
private int spamCount = 0;
|
||||||
private boolean initialized = false;
|
private boolean initialized = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user