-
released this
2023-08-05 17:35:08 +00:00 | 1217 commits to main since this releaseVersion 1.6 is here!
Here are the changes:
Player changes
None
Creator changes
BREAKING CHANGE: Removed update parameter from all functions #230
BC Prompt: None, sorry
Removed the
updateparameter from all functions that had it.
Instead function docstrings show what events they can broadcast.
Then you need to add this piece of code:game.suppressedEvents.push("[Event]"); // Run the function that had the remove parameter game.suppressedEvents.pop();This might become easier to do in the future.
BREAKING CHANGE: Rewrote
game.functions.createWall.BC Prompt: \.createWall
Previously, walls were created like this:
let [wall, finishWall] = functions.createWall("-"); wall.push(someArray); let finishedWall = finishWall();Now, walls are created like this:
let finishedWall = functions.createWall(someArray, "-");Discover now filters class cards by default #221
game.interact.discovernow filters bygame.functions.validateClassby default. The third parameter toggles it.Added ticks and tick hooks
Alt version of passives with certain advantages and disadvantages.
Added better documentation #218
Added better documentation to nearly all functions / fields.
Small changes
Seperated the custom card creator into its own file #226
The custom card creator and the card creator library are now in two different files.
Added the version command
This shows some information about the game. It also shows a todo-list.
Removed the events debug command
This command is now entirely useless because of the history command
Massively improved the history command
The history command now shows A LOT more information.
Merged the two log files #214
Merged the normal log file and the ai log file into 1 file.
Made renathal actually work with the deck creator #212
Renathal now works again. However there is still a bug where if you add renathal to your deck, then remove him, the deck will still require 40 cards. This bug is only on the card creator side, and the resulting deck will be rejected when trying to use it in a game. The only way to fix the bug currently is to restart the deck creator.
Look up vanilla cards using their dbfId #172
You can now look up vanilla cards using their dbfId. Find a card's dbfId by searching it up on the Hearthstone Wiki then CTRL+F on the webpage and type
dbfId. For example, the dbfId of Brann Bronzebeard is2949Added a regex toggle prompt to the breaking change script #198
You can now choose if you want to use regex or not when using the breaking change script. Speaking of the breaking change script, for any changes here labelled
BREAKING CHANGE, the thing under it that saysBC Prompt:is a prompt which you can enter into the breaking change script to search for that breaking change and fix any of your cards that are affected.Fixed a class creator bug #229
Bugged when any answer starts with
b, it would think you wrotebackif the answer to ANY of the class creator's question started withbFixed bug related to Reborn #228
When minions with reborn die, and their reborn effect kicks in, still grant 1 corpse, and add move the original minion to the graveyard (spoilers, when a minion with reborn dies, a new minion gets summoned in it's place)
Removed
game.dirname#199game.dirnamewas added since i once wrote__dirname__instead of__dirnamein a file, and thought you could only use__dirnamein certain files.Began work on future updates
Began work on things that couldn't fit into this update.
A lot of small things that didn't make it on this list
There is a list of things to cover to see a list of commits, go to #195.
Fixed bugs
Fixed a lot of bugs
Changelog
- Removed the history warning by @IsakSkole123 in https://github.com/LunarTides/Hearthstone.js/pull/193
- Look up vanilla cards using their dbfid by @IsakSkole123 in https://github.com/LunarTides/Hearthstone.js/pull/194
- Some small stuff by @LunarTides in https://github.com/LunarTides/Hearthstone.js/pull/197
- Add a regex toggle prompt to the bc by @LunarTides in https://github.com/LunarTides/Hearthstone.js/pull/200
- Remove game.dirname by @LunarTides in https://github.com/LunarTides/Hearthstone.js/pull/201
- Ported some general changes from the topic branches by @LunarTides in https://github.com/LunarTides/Hearthstone.js/pull/206
- Add a description to config todos by @LunarTides in https://github.com/LunarTides/Hearthstone.js/pull/207
- Merge the two log files by @LunarTides in https://github.com/LunarTides/Hearthstone.js/pull/216
- Make renathal actually work with the deck creator by @LunarTides in https://github.com/LunarTides/Hearthstone.js/pull/217
- Update old name in package.json by @LunarTides in https://github.com/LunarTides/Hearthstone.js/pull/225
- Seperate the custom card creator into its own file by @LunarTides in https://github.com/LunarTides/Hearthstone.js/pull/227
- Discover filter class cards by default by @LunarTides in https://github.com/LunarTides/Hearthstone.js/pull/231
- Remove this by @LunarTides in https://github.com/LunarTides/Hearthstone.js/pull/232
- Fix class creator bug by @LunarTides in https://github.com/LunarTides/Hearthstone.js/pull/233
- Remove update parameter from all functions by @LunarTides in https://github.com/LunarTides/Hearthstone.js/pull/234
- Adding more documentation by @LunarTides in https://github.com/LunarTides/Hearthstone.js/pull/219
Full Changelog: https://github.com/LunarTides/Hearthstone.js/compare/v1.5.1...v1.6.0
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads