gemwarrior 0.14.2 → 0.14.3
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/gemwarrior/battle.rb +48 -2
- data/lib/gemwarrior/entities/monsters/bosses/emerald.rb +2 -2
- data/lib/gemwarrior/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38447bc039071471e0f4253d2a4dfa13f2b2385f
|
4
|
+
data.tar.gz: f95e91c4e88e236741636d2dc0ce147eccfae6f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16b5cadeeb94eba5cdb8136fd5bd9dd5386aa6f6e4feac28f995c885f2a2f00539b94a43cdfe6527dc68ccaf2d6a9dc67e95e1638aa26349fdec2dd063a6ff60
|
7
|
+
data.tar.gz: cc40f091d4b533f5d60477452b786b4570c89c174fe30b580ee30762fa677ca92120476b49f12429944416d0adc844342a1c182ce809c9ac5c0c32dac3f1ba37
|
data/lib/gemwarrior/battle.rb
CHANGED
@@ -54,9 +54,55 @@ module Gemwarrior
|
|
54
54
|
puts
|
55
55
|
puts ' Suddenly, the Shifty Woman appears out of nowhere, and stands between you and Emerald!'
|
56
56
|
STDIN.getc
|
57
|
-
|
57
|
+
print ' '
|
58
|
+
Person.new.speak('Hey, friend. Now it is time to finally get my revenge on ol\' Emer!')
|
58
59
|
STDIN.getc
|
59
|
-
puts '
|
60
|
+
puts ' She brandishes a now-sharpened-to-a-fine-point-and-glowing version of the Sand Jewel you gave to her and plunges it deep into Emerald\'s side, causing him to scream in agony.'
|
61
|
+
puts
|
62
|
+
print ' '
|
63
|
+
Person.new.speak('THAT was for murdering my parents!')
|
64
|
+
STDIN.getc
|
65
|
+
puts ' She uses the hand not gripping the shiny blade to conjure up a small bolt of lightning, which she then flings directly at Emerald\'s chest.'
|
66
|
+
puts
|
67
|
+
print ' '
|
68
|
+
Person.new.speak('And THAT was for stealing the ShinyThing(tm)!')
|
69
|
+
STDIN.getc
|
70
|
+
puts ' Emerald growls mightily, looking quite put off at the turn of events.'
|
71
|
+
STDIN.getc
|
72
|
+
puts ' He is not without strength, however, and pulls the weapon from his body with one hand while conjuring a fireball with his other, sending it right back at the Shifty Woman. Her glee at delivering a seemingly crushing blow is thwarted as she crumples to the floor.'
|
73
|
+
STDIN.getc
|
74
|
+
puts ' Both combatants are breathing heavily and groaning through their injuries. The Shifty Woman looks pretty hurt, and begins eyeing an exit from this mess.'
|
75
|
+
STDIN.getc
|
76
|
+
print ' '
|
77
|
+
Person.new.speak('I may not have been able to finish you off, but my friend here will succeed where I and the land of Jool have failed. Goodbye and good luck!')
|
78
|
+
puts ' The Shifty Woman regains her compsure just enough to limp off to a back door, disappearing.'
|
79
|
+
STDIN.getc
|
80
|
+
|
81
|
+
if GameOptions.data['debug_mode']
|
82
|
+
puts
|
83
|
+
puts ' Emerald Stats Before Altercation'
|
84
|
+
puts " HP : #{monster.hp_cur}"
|
85
|
+
puts " DEF : #{monster.defense}"
|
86
|
+
puts " A_LO : #{monster.atk_lo}"
|
87
|
+
puts " A_HI : #{monster.atk_hi}"
|
88
|
+
end
|
89
|
+
|
90
|
+
monster.hp_cur -= (monster.hp_cur * 0.3).floor
|
91
|
+
monster.defense -= (monster.defense * 0.25).floor
|
92
|
+
monster.atk_lo -= (monster.atk_lo * 0.2).floor
|
93
|
+
monster.atk_hi -= (monster.atk_hi * 0.2).floor
|
94
|
+
|
95
|
+
if GameOptions.data['debug_mode']
|
96
|
+
puts
|
97
|
+
puts ' Emerald Stats After Altercation'
|
98
|
+
puts " HP : #{monster.hp_cur}"
|
99
|
+
puts " DEF : #{monster.defense}"
|
100
|
+
puts " A_LO : #{monster.atk_lo}"
|
101
|
+
puts " A_HI : #{monster.atk_hi}"
|
102
|
+
puts
|
103
|
+
end
|
104
|
+
|
105
|
+
puts ' Emerald has been wounded, but he is not done with this world yet. You approach him, wits about you, ready for battle.'
|
60
106
|
world.shifty_has_jeweled = true
|
61
107
|
end
|
62
108
|
elsif monster_strikes_first?(is_arena, is_event)
|
@@ -15,13 +15,13 @@ module Gemwarrior
|
|
15
15
|
self.name = 'emerald'
|
16
16
|
self.name_display = 'Emerald'
|
17
17
|
self.description = 'A wily, beefy, tower of a man, Emerald looks to be a champion of both wisdom, from what you\'ve heard, AND strength, from what you plainly see. He sports a constant glint in his eyes as he faces you, dead-on.'
|
18
|
-
self.battlecry = 'You\'ve come for the SparklyThing(tm), I see. To that I say: Ha ha ha ha ha! Prepare yourself fool: today your whole life crumbles!'
|
18
|
+
self.battlecry = 'You\'ve come for the SparklyThing(tm), I see. Well, you cannot have it, because it is mine, and I will wield it to my own desire! Oh, you think you are good and I am evil? To that I say: Ha ha ha ha ha! Prepare yourself fool: today your whole life crumbles!'
|
19
19
|
self.face = 'gleaming'
|
20
20
|
self.hands = 'tantalizing'
|
21
21
|
self.mood = 'enraged'
|
22
22
|
|
23
23
|
self.level = 15
|
24
|
-
self.hp_cur = rand((level *
|
24
|
+
self.hp_cur = rand((level * 8)..(level * 9))
|
25
25
|
self.hp_max = hp_cur
|
26
26
|
self.atk_lo = rand((level * 2)..(level * 2.5).floor)
|
27
27
|
self.atk_hi = rand((level * 2.5).floor..(level * 3).floor)
|
data/lib/gemwarrior/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gemwarrior
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.14.
|
4
|
+
version: 0.14.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Chadwick
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: os
|