-
released this
2023-05-14 13:20:11 +00:00 | 1388 commits to main since this releaseVersion 1.3 is here!
After another week of work, update 1.3 is finished.
Here are the changes:Player changes
Made mulligan show more information #79
Now when mulligan-ing you will be able to see the entire game like you can when playing a card, instead of just the name of the cards in your hand.
Creator changes
BREAKING CHANGE Removed
add_to_handandcloneparameters frominteract.discovergame.interact.discoverno longer has theadd_to_handandcloneparameters. You will have to manually clone and add the card to your hand. The example in the wiki has been updated, so check that out.Added a condition system #59
You can now get a card to automatically say if it's condition is cleared. Check out
cards/Tests/condition.jsandcards/Tests/condition2.jsAdded a placeholder system #88
You can now put a placeholder in the card's description like this:
Draw cards equal to how many cards you have played while this was in your hand. (Currently: {amount}). You can then replace the{amount}with anything, and it will automatically keep updating it. Check outcards/Tests/placeholder.js.Added back
typeto card blueprints #49Card blueprints now have the
typevariable. Set this toMinion,Spell,Weapon, etc...Small changes
Added support for vanilla deckcodes #56
The game now supports vanilla Hearthstone deckcodes.
Just put in a vanilla deckcode and it should work if every card in the deckcode is implemented in Hearthstone.js
The good thing about this is that if the card isn't implemented, the game can just look up all of the information of that card and run it through thevanilla card creatorto immediately create that card. The only thing you need to do is program the logic of the card.Made a crash log system #105
Now when the game crashes, a file will be created in the new
logsfolder calledcrashlog-XX.XX.XX-XX.XX.XX.txt(The X's is the date it crashed at. Example:crashlog-04.05.23-23.59.59.txt).
Drag this file into theLogssection when making a bug report.Made a log system #106
This is the same as the crash log system, but it generates a
log-XX.XX-----(etc...)instead.
Drag this file into theLogssection when making a bug report where the game doesn't crash.Renamed
card generatortovanilla card creator#55This just helps with clarity.
Fixed an infuse bug #90
Fixed a bug with the infuse keyword. I forgot to update a part of the code in 1.2.
Made cast on draw spells also trigger when played #89
This is vanilla functionality that i didn't know existed.
Cast on Drawis now a keyword instead of a function.Made the test deck (30 Sheep) only work in debug mode #78
The test deck is a pseudo-valid deck and so shouldn't exist outside of debug mode. Now if you don't enter a deckcode, it will show an error message.
Debug mode is not a requirement if you're on the develop branch.Put the debug cards (
inf mana,10 mana) incards/Debug#75I want to support these cards, but none of the other cards in
cards/Tests, so i just moved these to another folder.Made the card creator even more readable #81
Made the
doCodefunction more readable (or at least better then what it was). Also renamed the function tocreateCardVersion numbers now end with
-stableor-dev#107This way, when you're on the develop branch, it won't say
V1.2.0orV1.3.0when the stable branch is onV1.2.0, because that's a bit confusing.Changelog:
- Added condition system by @IsakSkole123 in https://github.com/LunarTides/Hearthstone.js/pull/74
- Added back type to cards by @LunarTides in https://github.com/LunarTides/Hearthstone.js/pull/76
- Renamed card generator to vanilla card creator by @LunarTides in https://github.com/LunarTides/Hearthstone.js/pull/77
- Made mulligan show more information by @LunarTides in https://github.com/LunarTides/Hearthstone.js/pull/80
- Made source code use card copy functions by @LunarTides in https://github.com/LunarTides/Hearthstone.js/pull/83
- Made some visual changes by @LunarTides in https://github.com/LunarTides/Hearthstone.js/pull/84
- Fixed infuse bug by @IsakSkole123 in https://github.com/LunarTides/Hearthstone.js/pull/92
- Fixed a bug when applying enchantments to minions by @IsakSkole123 in https://github.com/LunarTides/Hearthstone.js/pull/93
- Replaced
castondrawwith a keyword by @IsakSkole123 in https://github.com/LunarTides/Hearthstone.js/pull/94 - Made the debug deck only work in debug mode by @IsakSkole123 in https://github.com/LunarTides/Hearthstone.js/pull/95
- Removed redundant arguments from discover by @IsakSkole123 in https://github.com/LunarTides/Hearthstone.js/pull/96
- Created debug cards folder by @IsakSkole123 in https://github.com/LunarTides/Hearthstone.js/pull/97
- Added placeholder system by @IsakSkole123 in https://github.com/LunarTides/Hearthstone.js/pull/98
- Added missing types to cards by @IsakSkole123 in https://github.com/LunarTides/Hearthstone.js/pull/101
- Fixed double-digit placeholder ids by @IsakSkole123 in https://github.com/LunarTides/Hearthstone.js/pull/102
- Made placeholders use objects instead of arrays by @IsakSkole123 in https://github.com/LunarTides/Hearthstone.js/pull/103
- Made the card creator code a LOT more readable by @IsakSkole123 in https://github.com/LunarTides/Hearthstone.js/pull/104
- Bumped to develop version by @IsakSkole123 in https://github.com/LunarTides/Hearthstone.js/pull/108
- Made a crash report system by @IsakSkole123 in https://github.com/LunarTides/Hearthstone.js/pull/109
- Added a log file system by @IsakSkole123 in https://github.com/LunarTides/Hearthstone.js/pull/110
- Support for vanilla deckcodes by @IsakSkole123 in https://github.com/LunarTides/Hearthstone.js/pull/111
Full Changelog: https://github.com/LunarTides/Hearthstone.js/compare/v1.2.0...v1.3.0
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads