mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Fixed bug when 2\2 creature was 6\2 on first turn
This commit is contained in:
parent
b0209b6981
commit
742b7c0180
1 changed files with 4 additions and 0 deletions
|
@ -33,6 +33,7 @@ import mage.abilities.*;
|
|||
import mage.abilities.effects.ContinuousEffect;
|
||||
import mage.abilities.effects.ContinuousEffects;
|
||||
import mage.abilities.effects.Effect;
|
||||
import mage.abilities.keyword.KickerAbility;
|
||||
import mage.cards.Card;
|
||||
import mage.choices.Choice;
|
||||
import mage.game.combat.Combat;
|
||||
|
@ -440,6 +441,9 @@ public class GameState implements Serializable, Copyable<GameState> {
|
|||
|
||||
public void addAbility(Ability ability) {
|
||||
if (ability instanceof StaticAbility) {
|
||||
if (ability instanceof KickerAbility) {
|
||||
return;
|
||||
}
|
||||
for (Mode mode: ability.getModes().values()) {
|
||||
for (Effect effect: mode.getEffects()) {
|
||||
if (effect instanceof ContinuousEffect) {
|
||||
|
|
Loading…
Reference in a new issue