gemwarrior 0.14.0 → 0.14.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 013f343ab91678e182886ffec17724c6b942c9f4
4
- data.tar.gz: 008817eed3ccfc661eb4a0ec949835b2ad899656
3
+ metadata.gz: 026011f50b16aeb1f2b14d5913ec550b60262b86
4
+ data.tar.gz: 8dcab9d44b89645167dbb6498c42b11eeb8c1c9d
5
5
  SHA512:
6
- metadata.gz: fc2d5dec4ed87f2328ad3147eaf5090ea3c1a9b4b0bb5b0943032cbc8301c8ace837b5297def8a54a4b1723f6f03b9d4fc0a51ae6c31254ae6eddd8a5360a2e9
7
- data.tar.gz: 1bacbb48b49710eedd77fa29a1c8cd3a12ea3abf98a1476f67bc13b8ac1050ac9723adb20ba629cb17dc7be51f439c780e115b45fcdf616ba326c2dfe309ed60
6
+ metadata.gz: d9577d1d1588d9d105ada320bef891023f133686a184fc5fb8a6cbb99bcdd9612d0e82271bfcba20d1f03da31ef5702792ecf78c42a97cd85604e77358f6c2a3
7
+ data.tar.gz: 4940d07abbef3a8b26ae6ec6bfb75f71694ddd1bbf05e79dde831d2460a32dabcccbbd018761afa756c87b5320169149f01cbb4df80579815be9eb82fdd18145
@@ -12,7 +12,7 @@ module Gemwarrior
12
12
  ATTEMPT_SUCCESS_LO_DEFAULT = 0
13
13
  ATTEMPT_SUCCESS_HI_DEFAULT = 100
14
14
  MISS_CAP_DEFAULT = 20
15
- LV3_MOD_LO = 6
15
+ LV4_ROCK_SLIDE_MOD_LO = 6
16
16
  LV5_MOD_LO = 7
17
17
  LV5_MOD_HI = 14
18
18
  ESCAPE_TEXT = '** POOF **'
@@ -64,7 +64,7 @@ module Gemwarrior
64
64
  monster_attacks_player
65
65
  end
66
66
 
67
- # LV4:STONE_FACE modifier (chance to auto-win)
67
+ # LV6:STONE_FACE modifier (chance to auto-win)
68
68
  # Doesn't work against bosses, nor if battle is an event or in the arena
69
69
  if player.special_abilities.include?(:stone_face) && !monster.is_boss && !is_event && !is_arena
70
70
  level_diff = (player.level - monster.level) * 4
@@ -73,7 +73,7 @@ module Gemwarrior
73
73
 
74
74
  if GameOptions.data['debug_mode']
75
75
  puts
76
- puts " (MOD) LV4: Stone Face"
76
+ puts " (MOD) LV6: Stone Face"
77
77
  puts " SUCCESS_RANGE: #{chance_range}"
78
78
  puts " SUCCESS_ROLL : #{roll}"
79
79
  end
@@ -299,19 +299,19 @@ module Gemwarrior
299
299
  ### DEBUG:BEAST_MODE modifier (ludicrously higher damage range)
300
300
  if GameOptions.data['beast_mode']
301
301
  dmg_range = BEAST_MODE_ATTACK_LO..BEAST_MODE_ATTACK_HI
302
- ### LV3:ROCK_SLIDE modifier (increased damage range)
302
+ ### LV4:ROCK_SLIDE modifier (increased damage range)
303
303
  elsif player.special_abilities.include?(:rock_slide)
304
304
  lo_boost = rand(0..9)
305
305
  hi_boost = lo_boost + rand(5..10)
306
306
 
307
307
  if GameOptions.data['debug_mode']
308
308
  puts
309
- puts " (MOD) LV3: Rock Slide"
309
+ puts ' (MOD) LV4: Rock Slide'
310
310
  puts " Rock Slide lo_boost: #{lo_boost}"
311
311
  puts " Rock Slide hi_boost: #{hi_boost}"
312
312
  end
313
313
 
314
- if lo_boost >= LV3_MOD_LO
314
+ if lo_boost >= LV4_ROCK_SLIDE_MOD_LO
315
315
  puts " You use Rock Slide for added damage!"
316
316
  dmg_range = (player.atk_lo + lo_boost)..(player.atk_hi + hi_boost)
317
317
  else
@@ -27,7 +27,7 @@ module Gemwarrior
27
27
  hp_max: 45, stam_max: 30,
28
28
  atk_lo: 3, atk_hi: 5,
29
29
  defense: 5, dexterity: 6,
30
- special_abilities: :rock_slide
30
+ special_abilities: :gleam
31
31
  }
32
32
  when 4
33
33
  {
@@ -35,7 +35,7 @@ module Gemwarrior
35
35
  hp_max: 55, stam_max: 35,
36
36
  atk_lo: 5, atk_hi: 6,
37
37
  defense: 6, dexterity: 8,
38
- special_abilities: :stone_face
38
+ special_abilities: :rock_slide
39
39
  }
40
40
  when 5
41
41
  {
@@ -51,7 +51,7 @@ module Gemwarrior
51
51
  hp_max: 85, stam_max: 60,
52
52
  atk_lo: 8, atk_hi: 10,
53
53
  defense: 10, dexterity: 11,
54
- special_abilities: :gleam
54
+ special_abilities: :stone_face
55
55
  }
56
56
  when 7
57
57
  {
@@ -94,15 +94,16 @@ module Gemwarrior
94
94
 
95
95
  def self.get_ability_description(ability)
96
96
  case ability
97
- when :rocking_vision
97
+ when :rocking_vision # LV2
98
98
  'Allows you to see the enemy hit points while in battle.'
99
- when :rock_slide
99
+ when :gleam # LV3
100
+ 'The map now shows every place in Jool, whether you have been there or not.'
101
+ when :rock_slide # LV4
100
102
  'Adds a random boost to the player\'s attack in battle.'
101
- when :stone_face
102
- 'Chance to auto-win in battle against any non-boss monster (does not work in arena or if ambushed).'
103
- when :graniton
103
+ when :graniton # LV5
104
104
  'Chance to be much more accurate in your attacks.'
105
- #when :gleam
105
+ when :stone_face # LV6
106
+ 'Chance to auto-win in battle against any non-boss monster (does not work in arena or if ambushed).'
106
107
  #when :break_through
107
108
  else
108
109
  'Unsure, but it\'s probably cool!'
@@ -2,5 +2,5 @@
2
2
  # Version of Gem Warrior
3
3
 
4
4
  module Gemwarrior
5
- VERSION = '0.14.0'
5
+ VERSION = '0.14.1'
6
6
  end
@@ -236,7 +236,7 @@ module Gemwarrior
236
236
  if self.player.cur_coords.eql?(cur_map_coords)
237
237
  print "|#{'O'.colorize(:cyan)}|"
238
238
  elsif location_by_coords(cur_map_coords)
239
- if GameOptions.data['debug_mode'] || location_by_coords(cur_map_coords).visited
239
+ if GameOptions.data['debug_mode'] || location_by_coords(cur_map_coords).visited || self.player.special_abilities.include?(:gleam)
240
240
  print '|X|'
241
241
  else
242
242
  print '| |'
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.0
4
+ version: 0.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Chadwick