Class: PfrpgUtility::Prerequisite::BabPrereq

Inherits:
PfrpgUtility::Prerequisite
  • Object
show all
Defined in:
lib/pfrpg_utility/prerequisite/bab_prereq.rb

Instance Method Summary collapse

Instance Method Details

#match(character) ⇒ Object



2
3
4
# File 'lib/pfrpg_utility/prerequisite/bab_prereq.rb', line 2

def match(character)
  character.get_highest_attack_bonus >= @value.to_i
end