PVE flag
This commit is contained in:
@@ -21,6 +21,7 @@ public enum CharacterTitle {
|
|||||||
CSR_3(255, 0, 0, "CCR"),
|
CSR_3(255, 0, 0, "CCR"),
|
||||||
CSR_4(251, 181, 13, "CCR"),
|
CSR_4(251, 181, 13, "CCR"),
|
||||||
DEVELOPER(166, 153, 114, "Programmer"),
|
DEVELOPER(166, 153, 114, "Programmer"),
|
||||||
|
PVE(166, 153, 114, "PvE"),
|
||||||
QA(88, 250, 244, "GIRLFRIEND");
|
QA(88, 250, 244, "GIRLFRIEND");
|
||||||
|
|
||||||
int headerLength, footerLength;
|
int headerLength, footerLength;
|
||||||
|
|||||||
@@ -5198,8 +5198,17 @@ public class PlayerCharacter extends AbstractCharacter {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.isBoxed && !this.containsEffect(1672601862)) {
|
if (this.isBoxed){// && !this.containsEffect(1672601862)) {
|
||||||
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false);
|
//PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false);
|
||||||
|
if(!this.title.equals(CharacterTitle.PVE)){
|
||||||
|
this.title = CharacterTitle.PVE;
|
||||||
|
InterestManager.forceLoad(this);
|
||||||
|
}
|
||||||
|
}else {
|
||||||
|
if (!this.title.equals(CharacterTitle.NONE)) {
|
||||||
|
this.title = CharacterTitle.NONE;
|
||||||
|
InterestManager.forceLoad(this);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (this.isFlying()) {
|
if (this.isFlying()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user