mirror of
https://github.com/correl/mage.git
synced 2024-12-25 19:25:41 +00:00
update wrongly used Capitals
This commit is contained in:
parent
4c869eb78d
commit
e36eb5782b
7 changed files with 10 additions and 10 deletions
|
@ -73,6 +73,6 @@ enum HadAnotherCreatureEnterTheBattlefieldCondition implements Condition {
|
|||
PermanentsEnteredBattlefieldWatcher watcher = (PermanentsEnteredBattlefieldWatcher) game.getState().getWatchers().get(PermanentsEnteredBattlefieldWatcher.class.getSimpleName());
|
||||
return sourcePermanent != null
|
||||
&& watcher != null
|
||||
&& watcher.AnotherCreatureEnteredBattlefieldUnderPlayersControlLastTurn(sourcePermanent, game);
|
||||
&& watcher.anotherCreatureEnteredBattlefieldUnderPlayersControlLastTurn(sourcePermanent, game);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,7 +32,7 @@ public final class GraveScrabbler extends CardImpl {
|
|||
//you may return target creature card from a graveyard to its owner's hand.
|
||||
TriggeredAbility ability = new EntersBattlefieldTriggeredAbility(new ReturnToHandTargetEffect(), true);
|
||||
ability.addTarget(new TargetCardInGraveyard(new FilterCreatureCard("creature card in a graveyard")));
|
||||
this.addAbility(new ConditionalInterveningIfTriggeredAbility(ability, MadnessAbility.GetCondition(),
|
||||
this.addAbility(new ConditionalInterveningIfTriggeredAbility(ability, MadnessAbility.getCondition(),
|
||||
"When {this} enters the battlefield, if its madness cost was paid, you may return target creature card from a graveyard to its owner's hand."));
|
||||
}
|
||||
|
||||
|
|
|
@ -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…
Reference in a new issue