mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-14 17:58:01 +00:00
Fix Kaalia of the Vast
This commit is contained in:
@@ -468,7 +468,7 @@ public class ComputerUtilCost {
|
||||
continue;
|
||||
|
||||
try {
|
||||
extraManaNeeded += Integer.parseInt(snem);
|
||||
extraManaNeeded += Integer.parseInt(parts[0]);
|
||||
} catch (final NumberFormatException e) {
|
||||
System.out.println("wrong SpellsNeedExtraMana SVar format on " + c);
|
||||
}
|
||||
|
||||
@@ -125,10 +125,10 @@ public class TriggerAttacks extends Trigger {
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public final void setTriggeringObjects(final SpellAbility sa) {
|
||||
sa.setTriggeringObject(AbilityKey.Defender, getFromRunParams(AbilityKey.Attacked));
|
||||
sa.setTriggeringObjectsFrom(
|
||||
this,
|
||||
AbilityKey.Attacker,
|
||||
AbilityKey.Defender,
|
||||
AbilityKey.Defenders,
|
||||
AbilityKey.DefendingPlayer
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user