mirror of
https://github.com/magefree/mage.git
synced 2025-12-27 05:52:06 -08:00
* Fixed a recently added bug of AttacksIfAbleAllEffect (e.g. causing Goblin Rabblemaster to not working correctly).
This commit is contained in:
parent
d5c1f35aca
commit
75d7ae2a6e
3 changed files with 5 additions and 4 deletions
|
|
@ -64,11 +64,9 @@ public class GoblinRabblemaster extends CardImpl {
|
|||
static {
|
||||
otherGoblinFilter.add(new AnotherPredicate());
|
||||
otherGoblinFilter.add(new ControllerPredicate(TargetController.YOU));
|
||||
otherGoblinFilter.add(new SubtypePredicate("Goblin"));
|
||||
|
||||
attackingFilter.add(new AttackingPredicate());
|
||||
attackingFilter.add(new AnotherPredicate());
|
||||
attackingFilter.add(new SubtypePredicate("Goblin"));
|
||||
}
|
||||
|
||||
public GoblinRabblemaster(UUID ownerId) {
|
||||
|
|
|
|||
|
|
@ -51,12 +51,12 @@ public class AttacksIfAbleAllEffect extends RequirementEffect {
|
|||
|
||||
@Override
|
||||
public boolean mustAttack(Game game) {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean mustBlock(Game game) {
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -84,6 +84,9 @@ git log c4ad51c4af2467f3483204e29f23b76c53f8f880..HEAD --diff-filter=A --name-st
|
|||
since 1.3.0-2014-11-29v7 (2015-01-01)
|
||||
git log c370189787cff7fc129b1ccf1b223807143460de..HEAD --diff-filter=A --name-status | sed -ne "s/^A[^u]Mage.Sets\/src\/mage\/sets\///p" | sort > added_cards.txt
|
||||
|
||||
since 1.3.0-2014-11-29v8 (2015-01-17)
|
||||
git log 79ceae999a72151e2fadd1e15ddd37ec76c3f205..HEAD --diff-filter=A --name-status | sed -ne "s/^A[^u]Mage.Sets\/src\/mage\/sets\///p" | sort > added_cards.txt
|
||||
|
||||
3. Copy added_cards.txt to trunk\Utils folder
|
||||
4. Run script:
|
||||
> perl extract_in_wiki_format.perl
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue