ImpUnit 0.2.6 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/ImpUnit/version.rb +1 -1
- data/lib/ImpUnit.rb +7 -10
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5c34b71fdf6b568017ef6f347318a87d30c35226c5c2707c22fe6445ea8156c
|
4
|
+
data.tar.gz: 114c89c916474366ad986f770e6667c18fade0bb1753d58f455778ec39ee4345
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0c8f52c2092b84aba17f65310bbdb84663a5d4201fc355740861237bd38135df0fd9af73799a59d6d96586027815a5b42d2edc9a466dc5ebe220b76f7f93001
|
7
|
+
data.tar.gz: b4aab126467240f9093d8f2939cfa96fcec4c7c385d04a15eb0bf17b73ff10b94fbff205fff012ed96491c5dc9986c2d0feb57f04f8e7369d0a72d27c7c3a985
|
data/lib/ImpUnit/version.rb
CHANGED
data/lib/ImpUnit.rb
CHANGED
@@ -498,10 +498,10 @@ end"
|
|
498
498
|
|
499
499
|
class BotWings
|
500
500
|
def self.reset_evo
|
501
|
-
|
501
|
+
reset_bot_input = 0
|
502
502
|
|
503
|
-
open("data/
|
504
|
-
f.puts
|
503
|
+
open("data/bot_input/input.txt", "w") { |f|
|
504
|
+
f.puts reset_bot_input
|
505
505
|
}
|
506
506
|
end
|
507
507
|
|
@@ -542,17 +542,14 @@ end"
|
|
542
542
|
|
543
543
|
if current_wingset == current_botwings
|
544
544
|
ImpUnit::BotWings.use_form
|
545
|
-
|
546
|
-
sleep(3)
|
547
|
-
# ImpUnit::BotWings.reset_evo
|
548
545
|
else
|
549
|
-
|
546
|
+
if bot_input > 2
|
547
|
+
ImpUnit::BotWings.reset_evo
|
548
|
+
end
|
550
549
|
|
551
550
|
puts "Form status: Changing form..."
|
552
551
|
|
553
|
-
|
554
|
-
|
555
|
-
new_value = number + 1
|
552
|
+
new_value = bot_input + 1
|
556
553
|
|
557
554
|
open("data/bot_input/input.txt", "w") { |f|
|
558
555
|
f.puts new_value
|