Class: Fools::Rules::Sense

Inherits:
CARPS::Rule
  • Object
show all
Includes:
Dice
Defined in:
lib/fools/rules/romance/rule.rb

Overview

A rule which handles talking sense into a soppy fool

Instance Method Summary collapse

Methods included from Dice

#combat, #drink, #resist_romance, #talk_sense

Constructor Details

#initializeSense

Add the actions



117
118
119
120
121
# File 'lib/fools/rules/romance/rule.rb', line 117

def initialize
   super
   add_action :>=, 0, SensePrevails
   add_action :<, 0, SenseUseless
end