Expansion (#707)

This additional content explores the aftermath of an event in The Ensign. A large dungeon, The Executioner, reveals the fate of one of the Wanderers’ most powerful weapons though multiple wings, each ending with a unique boss encounter. The fabricator allows the player to craft powerful items out of alien alloy, introducing new combat mechanics.
This commit is contained in:
Michael Townsend
2023-06-09 12:38:16 -04:00
committed by GitHub
parent 431b72fab8
commit 7ee96fd108
18 changed files with 5123 additions and 2038 deletions
+5 -1
View File
@@ -20,7 +20,8 @@ var Button = {
})
.data("handler", typeof options.click == 'function' ? options.click : function() { Engine.log("click"); })
.data("remaining", 0)
.data("cooldown", typeof options.cooldown == 'number' ? options.cooldown : 0);
.data("cooldown", typeof options.cooldown == 'number' ? options.cooldown : 0)
.data('boosted', options.boosted ?? (() => false));
el.append($("<div>").addClass('cooldown'));
@@ -68,6 +69,9 @@ var Button = {
cooldown: function(btn, option) {
var cd = btn.data("cooldown");
if (btn.data('boosted')()) {
cd /= 2;
}
var id = 'cooldown.'+ btn.attr('id');
if(cd > 0) {
if(typeof option == 'number') {