bane placement and no more PVE furies

This commit is contained in:
2025-03-28 19:01:30 -05:00
parent b51eb34410
commit ab42e87310
2 changed files with 11 additions and 3 deletions
@@ -568,7 +568,15 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
return false;
}
serverCity = ZoneManager.getCityAtLocation(buildingList.getLoc());
//serverCity = ZoneManager.getCityAtLocation(buildingList.getLoc());
Bane validBane = null;
serverCity = null;
for(Bane b : Bane.banes.values()){
if(b.getOwner().guild.equals(player.guild)){
serverCity = b.getCity();
}
}
// No valid player city found
+2 -2
View File
@@ -5216,7 +5216,7 @@ public class PlayerCharacter extends AbstractCharacter {
//DS: 1672601862
if(this.isBoxed){
if(this.getPromotionClassID() == 0) {//fury cannot be PVE anymore, fuck them
if(this.getPromotionClassID() == 2511) {//fury cannot be PVE anymore, fuck them
if (!this.containsEffect(1672601862))
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false);
}else {
@@ -5224,7 +5224,7 @@ public class PlayerCharacter extends AbstractCharacter {
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, -935138707, 40, false);
}
}else{
if(this.getPromotionClassID() == 0) {//fury cannot be PVE anymore, fuck them
if(this.getPromotionClassID() == 2511) {//fury cannot be PVE anymore, fuck them
if (this.containsEffect(1672601862)) {
this.removeEffectBySource(EffectSourceType.DeathShroud,41,false);
}