mirror of
https://gitlab.com/Deukhoofd/BattleSim.git
synced 2025-10-27 18:00:03 +00:00
Made Primal Evolution objects limit a condition
This commit is contained in:
@@ -301,13 +301,14 @@
|
||||
PRANKSTER_SWAGGER_CLAUSE: 10,
|
||||
PBV_500: 11,
|
||||
VISIBLE_TEAM: 12,
|
||||
TIER_LC: 13,
|
||||
TIER_PU: 14,
|
||||
TIER_NU: 15,
|
||||
TIER_RU: 16,
|
||||
TIER_UU: 17,
|
||||
TIER_OU: 18,
|
||||
TIER_Uber: 19
|
||||
PRIMAL_LIMIT: 13,
|
||||
TIER_LC: 14,
|
||||
TIER_PU: 15,
|
||||
TIER_NU: 16,
|
||||
TIER_RU: 17,
|
||||
TIER_UU: 18,
|
||||
TIER_OU: 19,
|
||||
TIER_Uber: 20
|
||||
};
|
||||
|
||||
this.SelectableConditions = [this.Conditions.VISIBLE_TEAM, this.Conditions.TIMED_BATTLE, this.Conditions.SLEEP_CLAUSE, this.Conditions.EVASION_CLAUSE, this.Conditions.SPECIES_CLAUSE, this.Conditions.PRANKSTER_SWAGGER_CLAUSE, this.Conditions.OHKO_CLAUSE, this.Conditions.UNRELEASED_BAN];
|
||||
@@ -323,7 +324,8 @@
|
||||
EVASION_CLAUSE: "Evasion Clause",
|
||||
OHKO_CLAUSE: "One-Hit KO Clause",
|
||||
UNRELEASED_BAN: "Unreleased Ban",
|
||||
PRANKSTER_SWAGGER_CLAUSE: "Prankster + Swagger Clause"
|
||||
PRANKSTER_SWAGGER_CLAUSE: "Prankster + Swagger Clause",
|
||||
PRIMAL_LIMIT: "Primal Limit"
|
||||
}
|
||||
};
|
||||
|
||||
@@ -332,7 +334,7 @@
|
||||
name: 'insur1000',
|
||||
humanName: 'Insurgence 1000',
|
||||
generation: 'in',
|
||||
conditions: [this.Conditions.PBV_1000, this.Conditions.TEAM_PREVIEW],
|
||||
conditions: [this.Conditions.PBV_1000, this.Conditions.TEAM_PREVIEW, this.Conditions.PRIMAL_LIMIT],
|
||||
playable: true,
|
||||
priority: 5,
|
||||
tierBased: false
|
||||
@@ -341,7 +343,7 @@
|
||||
name: 'xy1000',
|
||||
humanName: '1,000 PBV XY',
|
||||
generation: 'xy',
|
||||
conditions: [this.Conditions.PBV_1000, this.Conditions.TEAM_PREVIEW],
|
||||
conditions: [this.Conditions.PBV_1000, this.Conditions.TEAM_PREVIEW, this.Conditions.PRIMAL_LIMIT],
|
||||
playable: true,
|
||||
priority: 10,
|
||||
tierBased: false
|
||||
@@ -350,7 +352,7 @@
|
||||
name: 'xy500',
|
||||
humanName: '500 PBV XY',
|
||||
generation: 'xy',
|
||||
conditions: [this.Conditions.PBV_500, this.Conditions.TEAM_PREVIEW],
|
||||
conditions: [this.Conditions.PBV_500, this.Conditions.TEAM_PREVIEW, this.Conditions.PRIMAL_LIMIT],
|
||||
playable: true,
|
||||
priority: 10,
|
||||
tierBased: false
|
||||
@@ -398,12 +400,12 @@
|
||||
tierbased = true;
|
||||
if (typeof window !== "undefined" && window !== null) {
|
||||
formatname = GenerationCondition[gen].conditionname + tier;
|
||||
_conditions = [Conditions[key], Conditions.TEAM_PREVIEW];
|
||||
_conditions = [Conditions[key], Conditions.TEAM_PREVIEW, Conditions.PRIMAL_LIMIT];
|
||||
priority = tierData.priority;
|
||||
humanname = "" + GenerationCondition[gen].humanName + " " + tierData.humanName;
|
||||
} else {
|
||||
formatname = this.GenerationCondition[gen].conditionname + tier;
|
||||
_conditions = [this.Conditions[key], this.Conditions.TEAM_PREVIEW];
|
||||
_conditions = [this.Conditions[key], this.Conditions.TEAM_PREVIEW, this.Conditions.PRIMAL_LIMIT];
|
||||
priority = tierData.priority;
|
||||
humanname = "" + this.GenerationCondition[gen].humanName + " " + tierData.humanName;
|
||||
}
|
||||
|
||||
@@ -301,13 +301,14 @@
|
||||
PRANKSTER_SWAGGER_CLAUSE: 10,
|
||||
PBV_500: 11,
|
||||
VISIBLE_TEAM: 12,
|
||||
TIER_LC: 13,
|
||||
TIER_PU: 14,
|
||||
TIER_NU: 15,
|
||||
TIER_RU: 16,
|
||||
TIER_UU: 17,
|
||||
TIER_OU: 18,
|
||||
TIER_Uber: 19
|
||||
PRIMAL_LIMIT: 13,
|
||||
TIER_LC: 14,
|
||||
TIER_PU: 15,
|
||||
TIER_NU: 16,
|
||||
TIER_RU: 17,
|
||||
TIER_UU: 18,
|
||||
TIER_OU: 19,
|
||||
TIER_Uber: 20
|
||||
};
|
||||
|
||||
this.SelectableConditions = [this.Conditions.VISIBLE_TEAM, this.Conditions.TIMED_BATTLE, this.Conditions.SLEEP_CLAUSE, this.Conditions.EVASION_CLAUSE, this.Conditions.SPECIES_CLAUSE, this.Conditions.PRANKSTER_SWAGGER_CLAUSE, this.Conditions.OHKO_CLAUSE, this.Conditions.UNRELEASED_BAN];
|
||||
@@ -323,7 +324,8 @@
|
||||
EVASION_CLAUSE: "Evasion Clause",
|
||||
OHKO_CLAUSE: "One-Hit KO Clause",
|
||||
UNRELEASED_BAN: "Unreleased Ban",
|
||||
PRANKSTER_SWAGGER_CLAUSE: "Prankster + Swagger Clause"
|
||||
PRANKSTER_SWAGGER_CLAUSE: "Prankster + Swagger Clause",
|
||||
PRIMAL_LIMIT: "Primal Limit"
|
||||
}
|
||||
};
|
||||
|
||||
@@ -332,7 +334,7 @@
|
||||
name: 'insur1000',
|
||||
humanName: 'Insurgence 1000',
|
||||
generation: 'in',
|
||||
conditions: [this.Conditions.PBV_1000, this.Conditions.TEAM_PREVIEW],
|
||||
conditions: [this.Conditions.PBV_1000, this.Conditions.TEAM_PREVIEW, this.Conditions.PRIMAL_LIMIT],
|
||||
playable: true,
|
||||
priority: 5,
|
||||
tierBased: false
|
||||
@@ -341,7 +343,7 @@
|
||||
name: 'xy1000',
|
||||
humanName: '1,000 PBV XY',
|
||||
generation: 'xy',
|
||||
conditions: [this.Conditions.PBV_1000, this.Conditions.TEAM_PREVIEW],
|
||||
conditions: [this.Conditions.PBV_1000, this.Conditions.TEAM_PREVIEW, this.Conditions.PRIMAL_LIMIT],
|
||||
playable: true,
|
||||
priority: 10,
|
||||
tierBased: false
|
||||
@@ -350,7 +352,7 @@
|
||||
name: 'xy500',
|
||||
humanName: '500 PBV XY',
|
||||
generation: 'xy',
|
||||
conditions: [this.Conditions.PBV_500, this.Conditions.TEAM_PREVIEW],
|
||||
conditions: [this.Conditions.PBV_500, this.Conditions.TEAM_PREVIEW, this.Conditions.PRIMAL_LIMIT],
|
||||
playable: true,
|
||||
priority: 10,
|
||||
tierBased: false
|
||||
@@ -398,12 +400,12 @@
|
||||
tierbased = true;
|
||||
if (typeof window !== "undefined" && window !== null) {
|
||||
formatname = GenerationCondition[gen].conditionname + tier;
|
||||
_conditions = [Conditions[key], Conditions.TEAM_PREVIEW];
|
||||
_conditions = [Conditions[key], Conditions.TEAM_PREVIEW, Conditions.PRIMAL_LIMIT];
|
||||
priority = tierData.priority;
|
||||
humanname = "" + GenerationCondition[gen].humanName + " " + tierData.humanName;
|
||||
} else {
|
||||
formatname = this.GenerationCondition[gen].conditionname + tier;
|
||||
_conditions = [this.Conditions[key], this.Conditions.TEAM_PREVIEW];
|
||||
_conditions = [this.Conditions[key], this.Conditions.TEAM_PREVIEW, this.Conditions.PRIMAL_LIMIT];
|
||||
priority = tierData.priority;
|
||||
humanname = "" + this.GenerationCondition[gen].humanName + " " + tierData.humanName;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user