CoC-Calc 1.2.4 → 1.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/CoC-Calc.rb +4 -4
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6e5e88313b4323f28c97594138871279080b133f
4
- data.tar.gz: 84abff244dd7bc65c5e0b9b61a4d33d1084489dc
3
+ metadata.gz: eff7ba9f4400eca5760cc0dd3b0234258dd46c68
4
+ data.tar.gz: f6391bad544b9c8b835a86535036094a52f94d0c
5
5
  SHA512:
6
- metadata.gz: 48adcb49c2ebd783c64eec01ff51aa0a6bc3e6ed805e539aea499aa0a7dd118231a505da9104840f6f0ca9d879331416bee44ac89a489ec93a0bb4ae7a4fd3f2
7
- data.tar.gz: ade71848eb04209f0201acd69113a55341b46b20874a8d8647b0760c0e1e216ecf69cf97939c511572b390ccdec3437a066b3f8462ed67eca6bb5e9e128ece5c
6
+ metadata.gz: 0c1e319e3c0f5d01f4ac508c15f049769c1f05c830229857d2ff0eba08d1bb46a22780c4ae102e1d1363c2ffff42c1b6f7427ece9bdea965b87e44e7692015fa
7
+ data.tar.gz: 59f1b70399c5401141df1916d2d53be7525dc8646ff1fb019f84f9df7598727c7053edaf1c7db1af24681b7f9c63da392761bf3959b8f737d0303b0ba48b445e
@@ -1,5 +1,5 @@
1
1
  def stand
2
- puts "CoC-Calc up and running, Sir! Version: 1.2.4"
2
+ puts "CoC-Calc up and running, Sir! Version: 1.2.5"
3
3
  end
4
4
 
5
5
  def init
@@ -105,7 +105,7 @@ def get_troop_cost
105
105
  #giants
106
106
 
107
107
  if $lvls[3].to_i == 1 or $lvls[3].to_i == 2 or $lvls[3].to_i == 3 or $lvls[3].to_i == 4 or $lvls[3].to_i == 5 or $lvls[3].to_i == 6
108
- $cost_wizards = $lvls[3].to_1 * 500
108
+ $cost_wizards = $lvls[3].to_i * 500
109
109
  else
110
110
  puts "Your giant lvl is invalid"
111
111
  $troopLvlErr = true
@@ -132,7 +132,7 @@ def get_troop_cost
132
132
  #ballons
133
133
 
134
134
  if $lvls[5].to_i == 1 or $lvls[5].to_i == 2 or $lvls[5].to_i == 3 or $lvls[5].to_i == 4 or $lvls[5].to_i == 5 or $lvls[5].to_i == 6
135
- $cost_wizards = 1500 + $lvls[5].to_1 * 500
135
+ $cost_wizards = 1500 + $lvls[5].to_i * 500
136
136
  else
137
137
  puts "Your ballon lvl is invalid"
138
138
  $troopLvlErr = true
@@ -140,7 +140,7 @@ def get_troop_cost
140
140
 
141
141
  #wizards
142
142
  if $lvls[6].to_i == 1 or $lvls[6].to_i == 2 or $lvls[6].to_i == 3 or $lvls[6].to_i == 4 or $lvls[6].to_i == 5 or $lvls[6].to_i == 6
143
- $cost_wizards = 1000 + $lvls[6].to_1 * 500
143
+ $cost_wizards = 1000 + $lvls[6].to_i * 500
144
144
  else
145
145
  puts "Your wizard lvl is invalid"
146
146
  $troopLvlErr = true
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: CoC-Calc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Bals