Module: GamesAndRpgParadise::MUD::Encounters
- Defined in:
- lib/games_and_rpg_paradise/mud/encounters/ocean.rb
Class Method Summary collapse
-
.in_the_ocean ⇒ Object
# === RpgParadise::MUD::Encounters.in_the_ocean ========================================================================= #.
Class Method Details
.in_the_ocean ⇒ Object
#
RpgParadise::MUD::Encounters.in_the_ocean
#
16 17 18 19 20 21 22 23 24 25 |
# File 'lib/games_and_rpg_paradise/mud/encounters/ocean.rb', line 16 def self.in_the_ocean i = rand(100) case i when 0 .. 10 e 'You encounter a large sea snake.' spawn_monster(:sea_snake) else e 'No encounter.' end end |