Class: Studio::Group::Encounter::ShinySetup
Overview
Data class helping to know the shiny setup of a creature
Instance Method Summary collapse
-
#initialize(hash) ⇒ ShinySetup
constructor
Create a new shiny setup.
-
#not_shiny ⇒ Boolean
Get the forbid shiny attribute.
-
#shiny(rate = rand) ⇒ Boolean
Get the shiny attribute of the creature.
Constructor Details
#initialize(hash) ⇒ ShinySetup
Create a new shiny setup
320 321 |
# File 'docs/3_Studio.rb', line 320 def initialize(hash) end |
Instance Method Details
#not_shiny ⇒ Boolean
Get the forbid shiny attribute
329 330 |
# File 'docs/3_Studio.rb', line 329 def not_shiny end |
#shiny(rate = rand) ⇒ Boolean
Get the shiny attribute of the creature
325 326 |
# File 'docs/3_Studio.rb', line 325 def shiny(rate = rand) end |