forked from MagicBane/Server
fury cannot flag PVE, fuckem
This commit is contained in:
@@ -5214,9 +5214,20 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
|
||||
this.timestamps.put("nextBoxCheck", System.currentTimeMillis() + 3000);
|
||||
|
||||
//DS: 1672601862
|
||||
if(this.isBoxed){
|
||||
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);
|
||||
}
|
||||
}else{
|
||||
if(this.getPromotionClassID() == 0) {//fury cannot be PVE anymore, fuck them
|
||||
if (this.containsEffect(1672601862)) {
|
||||
this.removeEffectBySource(EffectSourceType.DeathShroud,41,false);
|
||||
}
|
||||
}else {
|
||||
if (this.containsEffect(-654906771)) {
|
||||
try {
|
||||
@@ -5228,6 +5239,7 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void auditFlightStatus(){
|
||||
if (this.effects.containsKey("MoveBuff")) {
|
||||
|
||||
Reference in New Issue
Block a user