Skip to content

Commit 2876b0b

Browse files
tool4EvErHanmac
authored andcommitted
Fix links
1 parent ba7fe2c commit 2876b0b

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docs/Card-scripting-API/AbilityFactory.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,19 @@ Syntax definitions like the above will use different symbols to separate the var
2828

2929
Secondary abilities such as the DB executed by triggers or replacements (usually) don't need costs. (This is one reason to use DB over AB in these cases.)
3030

31-
Read more about it in [Costs](Costs)
31+
Read more about it in [Costs](Costs.md)
3232

3333
## Defined / ValidTgts
3434
Most effects need to know (at least implicitly) which players or objects they're trying to affect. There are two different ways for that:
3535
- `Defined$ {Defined}` if the ability describes on what it's applied
3636
- `ValidTgts$ {Valid}` for abilities that target
3737

38-
Read more about it in [Affected / Targets](Targeting)
38+
Read more about it in [Affected / Targets](Targeting.md)
3939

4040
## Restrictions / Conditions
4141
Restrictions limit when abilities can be put on the stack and Conditions apply during resolving. Typical examples are "Activate only once each turn" or "If this spell’s additional cost was paid, [...]".
4242

43-
Read more about it in [Restriction](Restrictions)
43+
Read more about it in [Restriction](Restrictions.md)
4444

4545
## SpellDescription
4646
`SpellDescription$ {String}` is how the text of the ability will display on the card and in the option dialog for cards with multiple abilities.

docs/Card-scripting-API/Card-scripting-API.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ There are a few other properties that will appear in many cards. These are
2323

2424
| Property | Description
2525
| - | -
26-
|`A`|[Ability effect](Card-scripting-API/AbilityFactory.md)
26+
|`A`|[Ability effect](AbilityFactory.md)
2727
|`AI`|`RemoveDeck:`<br />* `All`<br />This will prevent the card from appearing in random AI decks. It is applicable for cards the AI can't use at all and also for cards that the AI could use, but only ineffectively. The AI won't draft these cards.<br />* `Random`<br /> This will prevent the card from appearing in random decks. It is only applicable for cards that are too narrow for random decks like *Root Cage* or *Into the North*. The AI won't draft these cards.<br />* `NonCommander`<br />
2828
|`Colors`|Color(s) of the card<br /><br />When a card's color is determined by a color indicator rather than shards in a mana cost, this property must be defined. If no identifier is needed, this property should be omitted.<br /><br />Example:<br />`Colors:red,green` - Since *Arlinn, Embraced by the Moon* has no mana cost (it's the back of a double-faced card), the red and green indicator must be included.
2929
|`DeckHints`|AI-related hints for a deck including this card<br /><br />To improve synergy this will increase the rank of of all other cards that share some of its DeckHints types. The following types are supported:<br />* Color<br />* Keyword<br />* Name<br />* Type<br /><br />This helps with smoothing the selection so cards without these Entries won't be at an unfair disadvantage.<br /><br />The relevant code can be found in the [CardRanker](https://github.com/Card-Forge/forge/blob/master/forge-gui/src/main/java/forge/gamemodes/limited/CardRanker.java) class.
@@ -35,10 +35,10 @@ There are a few other properties that will appear in many cards. These are
3535
|`Name`|Name of the card<br /><br />A string of text that serves as the name of the card. Note that the registered trademark symbol cannot be included, and this property must have at least one character.
3636
|`Oracle`|The current Oracle text used by the card.<br /><br />We actually have a Python Script that runs to be able to fill in this information, so don't worry about manually editing a lot of cards when Wizards decides to change the rules. <br /><br />This field is used by the Deck Editor to allow non-Legendary Creatures to be marked as potential commanders. Make sure "CARDNAME can be your commander." appears in the oracle text.
3737
|`PT`|Power and toughness
38-
|`R`|[Replacement effect](Card-scripting-API/Replacements.md)
39-
|`S`|[Static ability](Card-scripting-API/Statics.md)
38+
|`R`|[Replacement effect](Replacements.md)
39+
|`S`|[Static ability](Statics.md)
4040
|`SVar`|String variable. Used throughout scripting in a handful of different ways.
41-
|`T`|[Triggered ability](Card-scripting-API/Triggers.md)
41+
|`T`|[Triggered ability](Triggers.md)
4242
|`Text`|Additional text that needs to be displayed on the CardDetailPanel that doesn't have any spell/ability that generates a description for it, e.g. "CARDNAME can be your commander." or "X can't be 0.".
4343
|`Types`|Card types and subtypes<br /><br />Include all card types and subtypes, separated by spaces.<br /><br />Example:<br />`Types:Enchantment Artifact Creature Golem` for a card that reads "Enchantment Artifact Creature -- Golem"
4444

0 commit comments

Comments
 (0)