forked from MagicBane/Server
fury cannot flag PVE, fuckem
This commit is contained in:
@@ -5214,20 +5214,32 @@ public class PlayerCharacter extends AbstractCharacter {
|
|||||||
|
|
||||||
this.timestamps.put("nextBoxCheck", System.currentTimeMillis() + 3000);
|
this.timestamps.put("nextBoxCheck", System.currentTimeMillis() + 3000);
|
||||||
|
|
||||||
|
//DS: 1672601862
|
||||||
if(this.isBoxed){
|
if(this.isBoxed){
|
||||||
if(!this.containsEffect(-654906771))
|
if(this.getPromotionClassID() == 0) {//fury cannot be PVE anymore, fuck them
|
||||||
|
if (!this.containsEffect(1672601862))
|
||||||
|
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false);
|
||||||
|
}else {
|
||||||
|
if (!this.containsEffect(-654906771))
|
||||||
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, -935138707, 40, false);
|
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, -935138707, 40, false);
|
||||||
|
}
|
||||||
}else{
|
}else{
|
||||||
if(this.containsEffect(-654906771)){
|
if(this.getPromotionClassID() == 0) {//fury cannot be PVE anymore, fuck them
|
||||||
try{
|
if (this.containsEffect(1672601862)) {
|
||||||
|
this.removeEffectBySource(EffectSourceType.DeathShroud,41,false);
|
||||||
|
}
|
||||||
|
}else {
|
||||||
|
if (this.containsEffect(-654906771)) {
|
||||||
|
try {
|
||||||
this.effects.get("1258").endEffect();
|
this.effects.get("1258").endEffect();
|
||||||
//this.effects.remove("1258");
|
//this.effects.remove("1258");
|
||||||
}catch(Exception ignored){
|
} catch (Exception ignored) {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void auditFlightStatus(){
|
public void auditFlightStatus(){
|
||||||
if (this.effects.containsKey("MoveBuff")) {
|
if (this.effects.containsKey("MoveBuff")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user