mirror of
https://github.com/taoneill/war.git
synced 2025-02-17 11:51:21 +01:00
Removed the SY as they are worthless now
This commit is contained in:
parent
84452d6654
commit
15d4497c5e
@ -73,7 +73,7 @@ public class War extends JavaPlugin {
|
||||
private boolean defaultAutoAssignOnly = false;
|
||||
private int defaultTeamCap = 7;
|
||||
private int defaultScoreCap = 10;
|
||||
private int defaultMonumentHeal = 5; //SY
|
||||
private int defaultMonumentHeal = 5;
|
||||
private boolean defaultBlockHeads = true;
|
||||
private boolean defaultDropLootOnDeath = false;
|
||||
private String defaultSpawnStyle = TeamSpawnStyles.BIG;
|
||||
@ -1041,7 +1041,7 @@ public class War extends JavaPlugin {
|
||||
if(namedParams.containsKey("lifepool")){
|
||||
warzone.setLifePool(Integer.parseInt(namedParams.get("lifepool")));
|
||||
}
|
||||
if(namedParams.containsKey("monumentheal")){ //SY
|
||||
if(namedParams.containsKey("monumentheal")){
|
||||
warzone.setMonumentHeal(Integer.parseInt(namedParams.get("monumentheal")));
|
||||
}
|
||||
if(namedParams.containsKey("teamsize")){
|
||||
@ -1120,7 +1120,7 @@ public class War extends JavaPlugin {
|
||||
if(namedParams.containsKey("lifepool")){
|
||||
setDefaultLifepool(Integer.parseInt(namedParams.get("lifepool")));
|
||||
}
|
||||
if(namedParams.containsKey("monumentheal")){ //SY
|
||||
if(namedParams.containsKey("monumentheal")){
|
||||
setDefaultMonumentHeal(Integer.parseInt(namedParams.get("monumentheal")));
|
||||
}
|
||||
if(namedParams.containsKey("teamsize")){
|
||||
@ -1370,11 +1370,11 @@ public class War extends JavaPlugin {
|
||||
return defaultLifepool;
|
||||
}
|
||||
|
||||
public void setDefaultMonumentHeal(int defaultMonumentHeal) { //SY
|
||||
public void setDefaultMonumentHeal(int defaultMonumentHeal) {
|
||||
this.defaultMonumentHeal = defaultMonumentHeal;
|
||||
}
|
||||
|
||||
public int getDefaultMonumentHeal() { //SY
|
||||
public int getDefaultMonumentHeal() {
|
||||
return defaultMonumentHeal;
|
||||
}
|
||||
|
||||
@ -1631,4 +1631,4 @@ public class War extends JavaPlugin {
|
||||
return loaded;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
@ -355,7 +355,7 @@ public class WarPlayerListener extends PlayerListener {
|
||||
return;
|
||||
}
|
||||
|
||||
// Monuments //SY
|
||||
// Monuments
|
||||
if(playerTeam != null
|
||||
&& playerWarzone.nearAnyOwnedMonument(playerLoc, playerTeam)
|
||||
&& player.getHealth() < 20
|
||||
|
@ -330,11 +330,11 @@ public class Warzone {
|
||||
return lifePool;
|
||||
}
|
||||
|
||||
public void setMonumentHeal(int monumentHeal) { //SY
|
||||
public void setMonumentHeal(int monumentHeal) {
|
||||
this.monumentHeal = monumentHeal;
|
||||
}
|
||||
|
||||
public int getMonumentHeal() { //SY
|
||||
public int getMonumentHeal() {
|
||||
return monumentHeal;
|
||||
}
|
||||
|
||||
|
@ -79,7 +79,7 @@ public class WarMapper {
|
||||
// defaultLifePool
|
||||
war.setDefaultLifepool(warConfig.getInt("defaultLifePool"));
|
||||
|
||||
// defaultMonumentHeal //SY
|
||||
// defaultMonumentHeal
|
||||
war.setDefaultLifepool(warConfig.getInt("defaultMonumentHeal"));
|
||||
|
||||
// defaultFriendlyFire
|
||||
@ -187,7 +187,7 @@ public class WarMapper {
|
||||
// defaultLifepool
|
||||
warConfig.setInt("defaultLifePool", war.getDefaultLifepool());
|
||||
|
||||
// defaultMonumentHeal //SY
|
||||
// defaultMonumentHeal
|
||||
warConfig.setInt("defaultMonumentHeal", war.getDefaultMonumentHeal());
|
||||
|
||||
// defaultFriendlyFire
|
||||
|
@ -146,7 +146,7 @@ public class WarzoneMapper {
|
||||
// life pool (always set after teams, so the teams' remaining lives get initialized properly by this setter)
|
||||
warzone.setLifePool(warzoneConfig.getInt("lifePool"));
|
||||
|
||||
// monument heal //SY
|
||||
// monument heal
|
||||
warzone.setMonumentHeal(warzoneConfig.getInt("monumentHeal"));
|
||||
|
||||
// drawZoneOutline
|
||||
@ -353,7 +353,7 @@ public class WarzoneMapper {
|
||||
// life pool
|
||||
warzoneConfig.setInt("lifePool", warzone.getLifePool());
|
||||
|
||||
// monument heal //SY
|
||||
// monument heal
|
||||
warzoneConfig.setInt("monumentHeal", warzone.getMonumentHeal());
|
||||
|
||||
// drawZoneOutline
|
||||
|
Loading…
Reference in New Issue
Block a user