master #10

Merged
Failure merged 7 commits from External/mage:master into master 2024-12-27 16:18:30 -08:00

7 commits

Author SHA1 Message Date
Grath
6b9532febd
[refactor/bugfix] use rule 802.2a where appropriate. (#13179)
* [refactor/bugfix] use rule 802.2a where appropriate.

Many effects which relied on getDefendingPlayerId would fail if the attacking creature had been removed from combat before they resolved, in which case the defending player ID would be null. This fixes these issues.

* Add test for removing attacking creature with Defending Player triggered ability.

Change allowFormer to be true by default, reduce falses to only necessary cases.
2024-12-25 14:18:01 -05:00
Grath
8de9fb03a4
Break deadlock for one must/can't be blocked pair. (#13182)
Handle the case where a 'must be blocked if able' creature is attacking but there aren't enough available creatures to block it.
2024-12-25 14:17:40 -05:00
Oleg Agafonov
f4572faf8b AI, combat: fixed that computer blocking an attacker by biggest creature instead optimal;
refactor: fixed that Defiant Vanguard depends on debug data;
2024-12-25 18:43:26 +04:00
Oleg Agafonov
138788659a AI, combat: fixed that computer safely blocks the weakest creature instead most powerfull 2024-12-23 01:54:04 +04:00
xenohedron
89b2509fa5 fix #13177 (Zurgo and Ojutai)
trigger on combat damage only, regression from #13066
2024-12-22 13:04:16 -05:00
xenohedron
3bfa1443b2 fix Sharae of Numbing Depths properly (from #13176) 2024-12-22 13:02:27 -05:00
padfoothelix
f4eeda743c
fix a bug in Sharae of Numbing Depths (#13176)
* fix a bug in Sharae of Numbing Depths which caused the ability to trigger when owner's permanents got tapped.

* Fix Sharae of Numbing Depths
2024-12-22 11:29:48 -05:00