Add a condition system #59
Labels
No labels
breaking change
duplicate
good first issue
help wanted
invalid
question
scope: card
scope: docs
scope: game
scope: registry
scope: script
scope: tool
scope: universe
tracker
type: bug
type: card request
type: documentation
type: enhancement
type: improvement
type: parity
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
LunarTides/Hearthstone.js#59
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Is your feature request related to a problem? Please describe.
Currently cards that have conditions don't always tell you that the condition is cleared or not. This is in vanilla, which gives the card a gold outline.
Describe the description of what you want to happen.
Add a function to the bp card, like a battlecry, called
condition. It returns if the condition is cleared or not. This can then be called inEventManager.updateCards, remove(Condition cleared!)if the card has it, and if the function returns true, add(Condition cleared!)in green to the card.Describe alternatives you've considered
The alternatives are:
None of these alternatives are ideal.
Additional context
None