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