-
Notifications
You must be signed in to change notification settings - Fork 152
PlayRequirements
Jerome Leclanche edited this page Aug 9, 2015
·
1 revision
Hearthstone powers can have one or more PlayRequirement
assigned to them. They determine the conditions that have to be met in order for the power to be usable.
Concretely, they are only used for battlecries / "main" powers, in order to determine whether the card is playable and what it can be played on. Targeting is a separate step from the power triggering, and as such, once targeting is successful, an action can proceed on its target even if the target is no longer valid.
PlayRequirements are set in the CardDefs.xml file. Fireplace uses them to automatically determine all the targeting requirements on cards which have them.
- The Fireplace Card API
- The Fireplace DSL
- Card introspection
- Creating and playing a Game
- The CardDefs.xml file
- Developer Quick Start
- How to enable logging in Hearthstone
- Frequently Asked Questions
- Game State
- Game Actions
- Powers and Card Actions
- Target Selection
- Events
- Enchantments