Sha256: 65a9921afd50018ba83649f6ac9a01ee8026c727232a6e8bea682b43420520af
Contents?: true
Size: 319 Bytes
Versions: 2
Compression:
Stored size: 319 Bytes
Contents
require_relative "c-combatController" require_relative "m-events" module AdventureController def eventDecider eventRNG = rand(1..10) case eventRNG when (1..8) ::CombatSim.start else ::Adventure.event end end module_function :eventDecider end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lotrd-0.1.6 | lib/lotrd/c-adventureController.rb |
lotrd-0.1.5 | lib/lotrd/c-adventureController.rb |