class BCDice::GameSystem::HuntersMoon::StrangeAbilityTable1
Constants
- BODY
Attributes
chosen[R]
dice[R]
Public Instance Methods
roll(randomizer)
click to toggle source
# File lib/bcdice/game_system/HuntersMoon.rb, line 99 def roll(randomizer) dice1 = randomizer.roll_once(6) dice2 = randomizer.roll_once(6) index = (dice1 - 1) * 6 + (dice2 - 1) @dice = dice1 * 10 + dice2 @chosen = BODY[index] end