Class: Lich::Gemstone::Warcry
- Inherits:
-
Object
- Object
- Lich::Gemstone::Warcry
- Defined in:
- documented/gemstone/psms/warcry.rb
Overview
Represents a Warcry in the Lich Gemstone module.
This class manages various warcries, their properties, and actions.
Constant Summary collapse
- @@warcries =
{ "bertrandts_bellow" => { :long_name => "bertrandts_bellow", :short_name => "bellow", :type => :setup, :cost => { stamina: 20 }, # @todo only 10 for single :regex => /You glare at .+ and let out a nerve-shattering bellow!/, }, "yerties_yowlp" => { :long_name => "yerties_yowlp", :short_name => "yowlp", :type => :buff, :cost => { stamina: 20 }, :regex => /You throw back your shoulders and let out a resounding yowlp!/, :buff => "Yertie's Yowlp", }, "gerrelles_growl" => { :long_name => "gerrelles_growl", :short_name => "growl", :type => :setup, :cost => { stamina: 14 }, # @todo only 7 for single :regex => /Your face contorts as you unleash a guttural, deep-throated growl at .+!/, }, "seanettes_shout" => { :long_name => "seanettes_shout", :short_name => "shout", :type => :buff, :cost => { stamina: 20 }, :regex => /You let loose an echoing shout!/, :buff => 'Empowered (+20)', }, "carns_cry" => { :long_name => "carns_cry", :short_name => "cry", :type => :setup, :cost => { stamina: 20 }, :regex => /You stare down .+ and let out an eerie, modulating cry!/, }, "horlands_holler" => { :long_name => "horlands_holler", :short_name => "holler", :type => :buff, :cost => { stamina: 20 }, :regex => /You throw back your head and let out a thundering holler!/, :buff => 'Enh. Health (+20)', }, }
Class Method Summary collapse
-
.warcry_lookups ⇒ Array<Hash>
Returns a list of warcry lookups with their long and short names and costs.
Class Method Details
.warcry_lookups ⇒ Array<Hash>
Returns a list of warcry lookups with their long and short names and costs.
61 62 63 64 65 66 67 68 69 |
# File 'documented/gemstone/psms/warcry.rb', line 61 def self.warcry_lookups @@warcries.map do |long_name, psm| { long_name: long_name, short_name: psm[:short_name], cost: psm[:cost] } end end |