Skip to content

Commit d557cd6

Browse files
committed
Reduced attack cost further.
1 parent eee8c05 commit d557cd6

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

dev/js/Player.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ js13k.Player = class extends js13k.Creature {
168168
const list = [
169169
// DMG, range, cost
170170
[12, 1.5, 2], // normal attack
171-
[ 8, 4.5, 5], // hatchet throw
172-
[10, 1.5, 8], // sweeping blow
171+
[ 8, 4.5, 4], // hatchet throw
172+
[10, 1.5, 6], // sweeping blow
173173
];
174174

175175
const attack = list[type];

dev/js/UI.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ js13k.UI = {
4646
player.attackType == 0 ? '#c7e' : '#fff', '#000'
4747
);
4848
this.writeText(
49-
'[2] Throw Hatchet, -5 SP',
49+
'[2] Throw Hatchet, -4 SP',
5050
16, 116,
5151
player.attackType == 1 ? '#c7e' : '#fff', '#000'
5252
);
5353
this.writeText(
54-
'[3] Sweeping Blow, -8 SP',
54+
'[3] Sweeping Blow, -6 SP',
5555
16, 138,
5656
player.attackType == 2 ? '#c7e' : '#fff', '#000'
5757
);
@@ -215,8 +215,8 @@ js13k.UI = {
215215
const attacks = this.buildNode(
216216
'<div class="b">' +
217217
'<button style="top:0">[1] Direct Attack, -2 SP</button>' +
218-
'<button style="top:22px">[2] Throw Hatchet, -5 SP</button>' +
219-
'<button style="top:44px">[3] Sweeping Blow, -8 SP</button>' +
218+
'<button style="top:22px">[2] Throw Hatchet, -4 SP</button>' +
219+
'<button style="top:44px">[3] Sweeping Blow, -6 SP</button>' +
220220
'</div>'
221221
);
222222

0 commit comments

Comments
 (0)