Fix mismatch between the card in Game.activeCards and the actual card ingame #410
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#410
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?
Something strange is going on here. After rewriting the enchantment system in #400 i noticed that querying the host card of an enchantment doesn't show the changes the enchantment causes.
This is maybe caused by the cards in
activeCardsnot being proper references to the actual card, and that they get desynced because of that?? Idk...Edit: This is worse than I thought. Running
/eval await @abcdefg.destroy()doesn't work, whereas running/eval await b#c#1.destroy()does. It does change the card inactiveCards, but not the actual card itself. This means that the theory above is most likely true. This is bad...