forked from External/mage
Improves in some effects:
* ConditionalAsThoughEffect - improved support with target effects (see comments from e6e802033b);
* TargetCardInLibrary - added additional checks on wrong usage (must be used inside effects only, not as ability's target);
* PlayFromNotOwnHandZone - fixed wrong playable mark on battlefield's permanents (AI related too);
This commit is contained in:
parent
aed6a4ac3d
commit
021a2d251c
8 changed files with 173 additions and 3 deletions
|
|
@ -15,6 +15,7 @@ public interface AsThoughEffect extends ContinuousEffect {
|
|||
* Apply to ONE affected ability from the object (sourceId)
|
||||
* <p>
|
||||
* Warning, if you don't need ability to check then ignore it (by default it calls full object check)
|
||||
* Warning, if you use conditional effect then you must override both applies methods to support different types
|
||||
*
|
||||
* @param sourceId
|
||||
* @param affectedAbility ability to check (example: check if spell ability can be cast from non hand)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue