Remove update parameter from all functions #230

Closed
opened 2023-07-26 13:54:04 +00:00 by LunarTides · 1 comment
LunarTides commented 2023-07-26 13:54:04 +00:00 (Migrated from github.com)

Instead of doing

plr.drawCard(false);

do

game.supressedEvents = ["DrawCard"];
plr.drawCard();
game.supressedEvents = null;
Instead of doing ```js plr.drawCard(false); ``` do ```js game.supressedEvents = ["DrawCard"]; plr.drawCard(); game.supressedEvents = null; ```
LunarTides commented 2024-03-05 13:30:57 +00:00 (Migrated from github.com)

Now do:

game.functions.event.withSuppressed("DrawCard", () => plr.drawCard());
Now do: ```ts game.functions.event.withSuppressed("DrawCard", () => plr.drawCard()); ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
LunarTides/Hearthstone.js#230
No description provided.