mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
update wrongly used Capitals
This commit is contained in:
parent
4c869eb78d
commit
e36eb5782b
7 changed files with 10 additions and 10 deletions
|
|
@ -71,7 +71,7 @@ public class MadnessAbility extends StaticAbility {
|
|||
return new MadnessAbility(this);
|
||||
}
|
||||
|
||||
public static Condition GetCondition() {
|
||||
public static Condition getCondition() {
|
||||
return MadnessCondition.instance;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -185,7 +185,7 @@ public abstract class ExpansionSet implements Serializable {
|
|||
return theBooster;
|
||||
}
|
||||
|
||||
protected int AddMissingPartner(List<Card> booster, boolean partnerAllowed, int max, int i) {
|
||||
protected int addMissingPartner(List<Card> booster, boolean partnerAllowed, int max, int i) {
|
||||
|
||||
for (Ability ability : booster.get(booster.size() - 1).getAbilities()) {
|
||||
//Check if fetched card has the PartnerWithAbility
|
||||
|
|
@ -328,7 +328,7 @@ public abstract class ExpansionSet implements Serializable {
|
|||
for (int i = 0; i < numBoosterUncommon; i++) {
|
||||
while (true) {
|
||||
addToBooster(booster, uncommons);
|
||||
int check = AddMissingPartner(booster, partnerAllowed, numBoosterUncommon - 1, i);
|
||||
int check = addMissingPartner(booster, partnerAllowed, numBoosterUncommon - 1, i);
|
||||
if (check == 1) {
|
||||
break;
|
||||
}
|
||||
|
|
@ -358,7 +358,7 @@ public abstract class ExpansionSet implements Serializable {
|
|||
if (ratioBoosterMythic > 0 && RandomUtil.nextInt(ratioBoosterMythic) == 0) {
|
||||
while (true) {
|
||||
addToBooster(booster, mythics);
|
||||
int check = AddMissingPartner(booster, partnerAllowed, -1, 1);
|
||||
int check = addMissingPartner(booster, partnerAllowed, -1, 1);
|
||||
if (check == 1) {
|
||||
break;
|
||||
}
|
||||
|
|
@ -370,7 +370,7 @@ public abstract class ExpansionSet implements Serializable {
|
|||
} else {
|
||||
while (true) {
|
||||
addToBooster(booster, rares);
|
||||
int check = AddMissingPartner(booster, partnerAllowed, -1, 1);
|
||||
int check = addMissingPartner(booster, partnerAllowed, -1, 1);
|
||||
if (check == 1) {
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -476,7 +476,7 @@ public abstract class TournamentImpl implements Tournament {
|
|||
@Override
|
||||
public void cleanUpOnTournamentEnd() {
|
||||
for (TournamentPlayer tournamentPlayer : players.values()) {
|
||||
tournamentPlayer.CleanUpOnTournamentEnd();
|
||||
tournamentPlayer.cleanUpOnTournamentEnd();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -179,7 +179,7 @@ public class TournamentPlayer {
|
|||
* Free resources no longer needed if tournament has ended
|
||||
*
|
||||
*/
|
||||
public void CleanUpOnTournamentEnd() {
|
||||
public void cleanUpOnTournamentEnd() {
|
||||
this.deck = null;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ public class PermanentsEnteredBattlefieldWatcher extends Watcher {
|
|||
return enteringBattlefield.get(playerId);
|
||||
}
|
||||
|
||||
public boolean AnotherCreatureEnteredBattlefieldUnderPlayersControlLastTurn(Permanent sourcePermanent, Game game) {
|
||||
public boolean anotherCreatureEnteredBattlefieldUnderPlayersControlLastTurn(Permanent sourcePermanent, Game game) {
|
||||
if (enteringBattlefieldLastTurn.containsKey(sourcePermanent.getControllerId())) {
|
||||
for (Permanent permanent : enteringBattlefieldLastTurn.get(sourcePermanent.getControllerId())) {
|
||||
if (!permanent.getId().equals(sourcePermanent.getId())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue