gemwarrior 0.14.3 → 0.14.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 38447bc039071471e0f4253d2a4dfa13f2b2385f
4
- data.tar.gz: f95e91c4e88e236741636d2dc0ce147eccfae6f7
3
+ metadata.gz: 2116e67dae88fd5d7ed8aaf66aa3893c4f400ea9
4
+ data.tar.gz: 028aaabc8fffe0f2732abf2d8103dd6e0c0c5cab
5
5
  SHA512:
6
- metadata.gz: 16b5cadeeb94eba5cdb8136fd5bd9dd5386aa6f6e4feac28f995c885f2a2f00539b94a43cdfe6527dc68ccaf2d6a9dc67e95e1638aa26349fdec2dd063a6ff60
7
- data.tar.gz: cc40f091d4b533f5d60477452b786b4570c89c174fe30b580ee30762fa677ca92120476b49f12429944416d0adc844342a1c182ce809c9ac5c0c32dac3f1ba37
6
+ metadata.gz: baa12d9a3195ea0c9ea48e025d0f6bf89028eab69e7eb174d5c04b520a8bfe216732bde1acaf0df750f5f1ea1f23fd128db92e7becf543a65ab8487a7d1cebac
7
+ data.tar.gz: bf58ddec9f4cbca65ad6230ebdc6c96a25b9b0ac0e7ce54aaf63c15f428d2154e8253cc75ecb0725c89943387daaf196d8b207c33b70248eab617d60e067cd2c
@@ -2221,8 +2221,6 @@ player: !ruby/object:Gemwarrior::Player
2221
2221
  items: []
2222
2222
  weapon:
2223
2223
  rox: 0
2224
- stam_cur: 20
2225
- stam_max: 20
2226
2224
  cur_coords: *2
2227
2225
  special_abilities: []
2228
2226
  monsters_killed: 0
@@ -20,9 +20,7 @@ module Gemwarrior
20
20
  include PlayerLevels
21
21
  include Formatting
22
22
 
23
- attr_accessor :stam_cur,
24
- :stam_max,
25
- :cur_coords,
23
+ attr_accessor :cur_coords,
26
24
  :special_abilities,
27
25
  :monsters_killed,
28
26
  :bosses_killed,
@@ -195,10 +193,6 @@ module Gemwarrior
195
193
  end
196
194
  end
197
195
 
198
- def stamina_dec
199
- self.stam_cur = stam_cur - 1
200
- end
201
-
202
196
  def modify_name
203
197
  print 'Enter new name: '
204
198
 
@@ -342,9 +336,6 @@ module Gemwarrior
342
336
  self.hp_cur = new_stats[:hp_max]
343
337
  self.hp_max = new_stats[:hp_max]
344
338
  puts "You now have #{self.hp_max.to_s.colorize(:green)} hit points!"
345
- self.stam_cur = new_stats[:stam_max]
346
- self.stam_max = new_stats[:stam_max]
347
- puts "You now have #{self.stam_max.to_s.colorize(:green)} stamina points!"
348
339
  self.atk_lo = new_stats[:atk_lo]
349
340
  self.atk_hi = new_stats[:atk_hi]
350
341
  puts "You now have an attack of #{self.atk_lo.to_s.colorize(:green)}-#{self.atk_hi.to_s.colorize(:green)}!"
@@ -8,7 +8,7 @@ module Gemwarrior
8
8
  when 1
9
9
  {
10
10
  level: 1, xp_start: 0,
11
- hp_max: 30, stam_max: 20,
11
+ hp_max: 30,
12
12
  atk_lo: 1, atk_hi: 2,
13
13
  defense: 1, dexterity: 3,
14
14
  special_abilities: nil
@@ -16,7 +16,7 @@ module Gemwarrior
16
16
  when 2
17
17
  {
18
18
  level: 2, xp_start: 50,
19
- hp_max: 35, stam_max: 25,
19
+ hp_max: 35,
20
20
  atk_lo: 2, atk_hi: 3,
21
21
  defense: 3, dexterity: 4,
22
22
  special_abilities: :rocking_vision
@@ -24,7 +24,7 @@ module Gemwarrior
24
24
  when 3
25
25
  {
26
26
  level: 3, xp_start: 120,
27
- hp_max: 45, stam_max: 30,
27
+ hp_max: 45,
28
28
  atk_lo: 3, atk_hi: 5,
29
29
  defense: 5, dexterity: 6,
30
30
  special_abilities: :gleam
@@ -32,7 +32,7 @@ module Gemwarrior
32
32
  when 4
33
33
  {
34
34
  level: 4, xp_start: 250,
35
- hp_max: 55, stam_max: 35,
35
+ hp_max: 55,
36
36
  atk_lo: 5, atk_hi: 6,
37
37
  defense: 6, dexterity: 8,
38
38
  special_abilities: :rock_slide
@@ -40,7 +40,7 @@ module Gemwarrior
40
40
  when 5
41
41
  {
42
42
  level: 5, xp_start: 600,
43
- hp_max: 70, stam_max: 45,
43
+ hp_max: 70,
44
44
  atk_lo: 7, atk_hi: 8,
45
45
  defense: 8, dexterity: 9,
46
46
  special_abilities: :graniton
@@ -48,7 +48,7 @@ module Gemwarrior
48
48
  when 6
49
49
  {
50
50
  level: 6, xp_start: 1000,
51
- hp_max: 85, stam_max: 60,
51
+ hp_max: 85,
52
52
  atk_lo: 8, atk_hi: 10,
53
53
  defense: 10, dexterity: 11,
54
54
  special_abilities: :stone_face
@@ -56,7 +56,7 @@ module Gemwarrior
56
56
  when 7
57
57
  {
58
58
  level: 7, xp_start: 1500,
59
- hp_max: 100, stam_max: 80,
59
+ hp_max: 100,
60
60
  atk_lo: 10, atk_hi: 12,
61
61
  defense: 13, dexterity: 14,
62
62
  special_abilities: :breakthru
@@ -64,7 +64,7 @@ module Gemwarrior
64
64
  else
65
65
  {
66
66
  level: 8, xp_start: 10000,
67
- hp_max: 200, stam_max: 200,
67
+ hp_max: 200,
68
68
  atk_lo: 50, atk_hi: 100,
69
69
  defense: 50, dexterity: 100,
70
70
  special_abilities: nil
@@ -519,7 +519,7 @@ module Gemwarrior
519
519
 
520
520
  def prompt
521
521
  prompt_template = "\n"
522
- prompt_template += "[LV:%2s][XP:%3s][ROX:%3s] [HP:%3s/%-3s][STM:%2s/%-2s] [".colorize(:yellow)
522
+ prompt_template += "[LV:%2s][XP:%3s][ROX:%3s][HP:%3s/%-3s] [".colorize(:yellow)
523
523
  prompt_template += "%s".colorize(:green)
524
524
  prompt_template += " @ ".colorize(:yellow)
525
525
  prompt_template += "%s".colorize(:cyan)
@@ -532,8 +532,6 @@ module Gemwarrior
532
532
  world.player.rox,
533
533
  world.player.hp_cur,
534
534
  world.player.hp_max,
535
- world.player.stam_cur,
536
- world.player.stam_max,
537
535
  world.player.name,
538
536
  world.location_by_coords(world.player.cur_coords).name_display
539
537
  ]
@@ -2,5 +2,5 @@
2
2
  # Version of Gem Warrior
3
3
 
4
4
  module Gemwarrior
5
- VERSION = '0.14.3'
5
+ VERSION = '0.14.4'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemwarrior
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.3
4
+ version: 0.14.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Chadwick