X2AbilityCost_ActionPoints¶
Editor: X2AbilityCostEditor_ActionPoints · extends X2AbilityCostEditor.
Own fields¶
| Config field | Type | Requires | Game field | Description |
|---|---|---|---|---|
NumPoints |
int |
SetNumPoints=true |
iNumPoints |
Action points the ability consumes. |
ConsumeAllPoints |
bool |
SetConsumeAllPoints=true |
bConsumeAllPoints |
Ends the turn by consuming every remaining action point, rather than just NumPoints. |
AddWeaponTypicalCost |
bool |
SetAddWeaponTypicalCost=true |
bAddWeaponTypicalCost |
Adds the weapon's own typical action cost on top of NumPoints. |
MoveCost |
bool |
SetMoveCost=true |
bMoveCost |
Treats the cost as movement, so effects and abilities that key off moving apply. |
AllowedTypes |
array<name> |
AllowedTypesMode (ENameArrayEditMode) |
AllowedTypes |
Action point types that may pay this cost. Restricting it stops the ability being paid for with, say, a Run-and-Gun point. |
DoNotConsumeAllEffects |
array<name> |
DoNotConsumeAllEffectsMode (ENameArrayEditMode) |
DoNotConsumeAllEffects |
If the user is under any of these effects, ConsumeAllPoints is ignored and the turn does not end. |
DoNotConsumeAllSoldierAbilities |
array<name> |
DoNotConsumeAllSoldierAbilitiesMode (ENameArrayEditMode) |
DoNotConsumeAllSoldierAbilities |
If the user has any of these abilities, ConsumeAllPoints is ignored. This is how Blademaster lets Slash keep the turn going. |
Inherited fields¶
From X2AbilityCostEditor (1)
FreeCost
Every one of these is documented under Shared fields or on the page for the class that introduces it.