Class: Fools::Rules::Sense
- Inherits:
-
CARPS::Rule
- Object
- CARPS::Rule
- Fools::Rules::Sense
- 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
-
#initialize ⇒ Sense
constructor
Add the actions.
Methods included from Dice
#combat, #drink, #resist_romance, #talk_sense
Constructor Details
#initialize ⇒ Sense
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 |