You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/wiki/custom_costs.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,9 +84,9 @@ This is false by default, meaning negative costs on cards will be read as 0 by t
84
84
You can use SetCanBeNegative to change this value, or directly modify the CanBeNegative field.
85
85
86
86
Cost tier is an integer denoting how expensive a card is, with each cost having its own formula that adds to the tier.
87
-
From example, the formula for Bones' tier is (amount / 3), rounded down.
87
+
For example, the formula for Bones' tier is (amount / 3), rounded down.
88
88
89
-
By default, custom costs are not accounted when determining a card's cost tier;
89
+
By default, custom costs are not accounted for when determining a card's cost tier;
90
90
this can be fixed using SetCostTier to define the function to use.
91
91
92
92
```c#
@@ -106,7 +106,7 @@ public static int CostTier(int amount)
106
106
A vital part of Inscryption's gameplay is the fair hand mechanic;
107
107
when a battle starts, the game will give you at least one card that can be played immediately, as well as a card that can be played by the second turn.
108
108
109
-
By default, when the game checks if a card with custom costs can be played by turn 2, it will return 2 - even if it can't be.
109
+
By default, when the game checks if a card with custom costs can be played by turn 2, it will return true - even if it can't be.
110
110
111
111
To fix this, you'll need to set your cost's CanBePlayedByTurn2WithHand function (long name, I know):
0 commit comments