Class: Moves::Descriptive

Inherits:
Move show all
Defined in:
app/models/moves/descriptive.rb

Overview

used for Playbook moves that are purely test-based

Constant Summary

Constants inherited from Move

Move::MOVE_TYPES

Instance Attribute Summary

Attributes inherited from Move

#created_at, #description, #haven, #id, #name, #playbook_id, #rating, #seven_to_nine, #six_and_under, #ten_plus, #twelve_plus, #type, #updated_at

Instance Method Summary collapse

Methods inherited from Move

policy_class

Methods inherited from ApplicationRecord

policy_class

Instance Method Details

#roll_results(_hunter) ⇒ Object

Raises:

  • (NotImplementedError)

45
46
47
# File 'app/models/moves/descriptive.rb', line 45

def roll_results(_hunter)
  raise NotImplementedError
end

#rollable?Boolean

Returns:

  • (Boolean)

49
50
51
# File 'app/models/moves/descriptive.rb', line 49

def rollable?
  false
end