ソースを参照

Changing breath type has no cooldown. Adjusted tail buttons

tags/v0.7.4
Fen Dweller 7年前
コミット
3d69ca5839
2個のファイルの変更9行の追加4行の削除
  1. +7
    -2
      game.js
  2. +2
    -2
      stroll.html

+ 7
- 2
game.js ファイルの表示

@@ -3733,6 +3733,10 @@ function magic_shrink()

function cooldown_start(name) {
let button = document.querySelector("#" + "button-action-" + name);

if (button.dataset.free) {
return;
}
let parent = button.parentElement;

let category = parent.id.replace("actions-", "");
@@ -3752,7 +3756,6 @@ function cooldown(category, time, timestart) {
let button = document.getElementById("action-part-" + category);

let amount = Math.round((timestart - time) / timestart * 100);
console.log(amount);

let unselect = dark ? "#111" : "#ddd";
let select = dark ? "#444" : "#555";
@@ -4245,7 +4248,9 @@ function startGame(e) {
enable_victim("tail-vore","Tailmaw'd");
if (macro.tailCount > 1) {
enable_button("tail_vore_one");
enable_button("tail_vore_some");
if (macro.tailCount > 2) {
enable_button("tail_vore_some");
}
enable_button("tail_vore_all");
} else {
enable_button("tail_vore_only");


+ 2
- 2
stroll.html ファイルの表示

@@ -330,8 +330,8 @@
</div>

<div class="action-tab" id="actions-breath">
<button class="action-button" id="button-action-breath_line">Line Shape</button>
<button class="action-button" id="button-action-breath_cone">Cone Shape</button>
<button class="action-button" id="button-action-breath_line" data-free="true">Line Shape</button>
<button class="action-button" id="button-action-breath_cone" data-free="true">Cone Shape</button>
<button class="action-button" id="button-action-breath_fire">Fire</button>
<button class="action-button" id="button-action-breath_ice">Ice</button>
<button class="action-button" id="button-action-breath_electric">Electric</button>


読み込み中…
キャンセル
保存