Method: BCDice::GameSystem::TrinitySeven#eval_game_system_specific_command

Defined in:
lib/bcdice/game_system/TrinitySeven.rb

#eval_game_system_specific_command(command) ⇒ Object

スパゲッティなコードだけど許して!!! → 絶対に許さない。全力でリファクタリングした。



41
42
43
44
45
46
47
# File 'lib/bcdice/game_system/TrinitySeven.rb', line 41

def eval_game_system_specific_command(command) # スパゲッティなコードだけど許して!!! → 絶対に許さない。全力でリファクタリングした。
  debug("eval_game_system_specific_command command", command)

  roll_hit(command) ||
    roll_damage(command) ||
    roll_name(command)
end