Merge branch 'crew' into 'master'

Crew fix

See merge request core-developers/forge!6126
This commit is contained in:
Hans Mackowiak
2022-02-02 12:28:05 +00:00
4 changed files with 6 additions and 3 deletions

View File

@@ -54,6 +54,9 @@ public class StaticAbilityCrewValue {
if (!stAb.getParam("Mode").equals(MODE) || stAb.isSuppressed() || !stAb.checkConditions()) {
continue;
}
if (!stAb.matchesValidParam("ValidCard", card)) {
continue;
}
int t = Integer.parseInt(stAb.getParam("Value"));
i = i + t;
}

View File

@@ -2,6 +2,6 @@ Name:Giant Ox
ManaCost:1 W
Types:Creature Ox
PT:0/6
S:Mode$ CrewValue | Affected$ Card.Self | Value$ Toughness | Description$ CARDNAME crews Vehicles using its toughness rather than its power.
S:Mode$ CrewValue | ValidCard$ Card.Self | Value$ Toughness | Description$ CARDNAME crews Vehicles using its toughness rather than its power.
DeckHints:Type$Vehicle
Oracle:Giant Ox crews Vehicles using its toughness rather than its power.

View File

@@ -2,6 +2,6 @@ Name:Hotshot Mechanic
ManaCost:W
Types:Artifact Creature Fox Pilot
PT:2/1
S:Mode$ CrewValue | Affected$ Card.Self | Value$ 2 | Description$ CARDNAME crews Vehicles as though its power were 2 greater.
S:Mode$ CrewValue | ValidCard$ Card.Self | Value$ 2 | Description$ CARDNAME crews Vehicles as though its power were 2 greater.
DeckHints:Type$Vehicle
Oracle:Hotshot Mechanic crews Vehicles as though its power were 2 greater.

View File

@@ -2,5 +2,5 @@ Name:Pilot Token
ManaCost:no cost
Types:Creature Pilot
PT:1/1
S:Mode$ CrewValue | Affected$ Card.Self | Value$ 2 | Description$ This creature crews Vehicles as though its power were 2 greater.
S:Mode$ CrewValue | ValidCard$ Card.Self | Value$ 2 | Description$ This creature crews Vehicles as though its power were 2 greater.
Oracle:This creature crews Vehicles as though its power were 2 greater.