From 346ebc26349dd789d71703e2916eb1866d3c190c Mon Sep 17 00:00:00 2001 From: Dmitry Anderson Date: Sun, 14 Oct 2018 00:38:11 +0300 Subject: [PATCH 1/2] Add the "pivot" action-ability in first level By issue #242 @warriorjs/tower-tick-tick-boom warrior haven't got the "pivot" ability and bashing 'backward' forcedly https://github.com/olistic/warriorjs/issues/242 --- packages/warriorjs-tower-tick-tick-boom/src/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/warriorjs-tower-tick-tick-boom/src/index.js b/packages/warriorjs-tower-tick-tick-boom/src/index.js index 2f8ce377..679afb31 100644 --- a/packages/warriorjs-tower-tick-tick-boom/src/index.js +++ b/packages/warriorjs-tower-tick-tick-boom/src/index.js @@ -12,6 +12,7 @@ import { listen, look, maxHealth, + pivot, rescue, rest, think, @@ -141,6 +142,7 @@ export default { }, abilities: { bind: bind(), + pivot: pivot(), rescue: rescue(), }, }, From 3b1cbb70c9b25efea382596bc3089609934b6751 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=ADas=20Olivera?= Date: Tue, 4 Apr 2023 10:11:05 -0600 Subject: [PATCH 2/2] Move pivot to level 2 --- packages/warriorjs-tower-tick-tick-boom/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/warriorjs-tower-tick-tick-boom/src/index.js b/packages/warriorjs-tower-tick-tick-boom/src/index.js index 679afb31..cb66e1e5 100644 --- a/packages/warriorjs-tower-tick-tick-boom/src/index.js +++ b/packages/warriorjs-tower-tick-tick-boom/src/index.js @@ -81,6 +81,7 @@ export default { feel: feel(), health: health(), maxHealth: maxHealth(), + pivot: pivot(), rest: rest({ healthGain: 0.1 }), }, position: { @@ -142,7 +143,6 @@ export default { }, abilities: { bind: bind(), - pivot: pivot(), rescue: rescue(), }, },