forked from External/mage
Fix bugs with dies triggers due to short living LKI reset (#12438)
* replace applyEffects() with processAction() for card usages * update Goblin Welder and test * add test for Historian's Wisdom * enable other related tests * only reset short living LKI for process action, not all apply effects * update docs * remove applyEffects from condition in Historian's Wisdom * add another test case
This commit is contained in:
parent
be8a52fe60
commit
aeaeccb63b
22 changed files with 103 additions and 49 deletions
|
|
@ -677,11 +677,12 @@ public class GameState implements Serializable, Copyable<GameState> {
|
|||
*/
|
||||
public void processAction(Game game) {
|
||||
game.getState().handleSimultaneousEvent(game);
|
||||
game.resetShortLivingLKI();
|
||||
game.applyEffects();
|
||||
game.getState().getTriggers().checkStateTriggers(game);
|
||||
}
|
||||
|
||||
public void applyEffects(Game game) {
|
||||
void applyEffects(Game game) {
|
||||
applyEffectsCounter++;
|
||||
for (Player player : players.values()) {
|
||||
player.reset();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue