mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Fix issue with Targeting being cleared in certain Triggers (I didn't fully test this so if it breaks something else we should undo this changelist)
This commit is contained in:
@@ -3283,22 +3283,14 @@ public class GameAction {
|
||||
sa.setActivatingPlayer(AllZone.HumanPlayer);
|
||||
|
||||
if (sa.getPayCosts() != null){
|
||||
Target_Selection ts = null;
|
||||
if(skipTargeting)
|
||||
{
|
||||
ts = new Target_Selection(null, sa);
|
||||
}
|
||||
else
|
||||
{
|
||||
ts = new Target_Selection(sa.getTarget(),sa);
|
||||
}
|
||||
Target_Selection ts = new Target_Selection(sa.getTarget(),sa);
|
||||
Cost_Payment payment = new Cost_Payment(sa.getPayCosts(), sa);
|
||||
|
||||
payment.changeCost();
|
||||
|
||||
SpellAbility_Requirements req = new SpellAbility_Requirements(sa, ts, payment);
|
||||
req.setSkipStack(true);
|
||||
req.fillRequirements();
|
||||
req.fillRequirements(skipTargeting);
|
||||
}
|
||||
else{
|
||||
ManaCost manaCost = new ManaCost(sa.getManaCost());
|
||||
|
||||
Reference in New Issue
Block a user