Class: PfrpgRaces::Race::Human

Inherits:
PfrpgRaces::Race show all
Defined in:
lib/pfrpg_races/races/human.rb

Instance Method Summary collapse

Methods inherited from PfrpgRaces::Race

#as_json, #attributes, #bonus_feats, fetch, race_list, #size_modifier

Instance Method Details

#attribute_bonusesObject



15
16
17
# File 'lib/pfrpg_races/races/human.rb', line 15

def attribute_bonuses
  nil
end

#bonus_choicesObject



19
20
21
# File 'lib/pfrpg_races/races/human.rb', line 19

def bonus_choices
  [ChooseFeat.new]
end

#choose_ability_bonus?Boolean

Returns:

  • (Boolean)


39
40
41
# File 'lib/pfrpg_races/races/human.rb', line 39

def choose_ability_bonus?
  true
end

#descriptionObject



7
8
9
# File 'lib/pfrpg_races/races/human.rb', line 7

def description
  "Human characters gain a +2 racial bonus to one ability score of their choice at creation to represent their varied nature. Humans select one extra feat at 1st level, and gain an additional skill rank at first level and one additional rank whenever they gain a level."
end

#int_languagesObject



31
32
33
# File 'lib/pfrpg_races/races/human.rb', line 31

def int_languages
  PfrpgTables::Tables::Languages.int_languages
end

#languagesObject



27
28
29
# File 'lib/pfrpg_races/races/human.rb', line 27

def languages
  ["Common"]
end

#nameObject



3
4
5
# File 'lib/pfrpg_races/races/human.rb', line 3

def name
  "Human"
end

#sizeObject



35
36
37
# File 'lib/pfrpg_races/races/human.rb', line 35

def size
  "MEDIUM"
end

#sourceObject



11
12
13
# File 'lib/pfrpg_races/races/human.rb', line 11

def source
  "PFRPG"
end

#speedObject



23
24
25
# File 'lib/pfrpg_races/races/human.rb', line 23

def speed
  30
end

#traitsObject



47
48
49
# File 'lib/pfrpg_races/races/human.rb', line 47

def traits
  []
end

#weapon_familiarityObject



43
44
45
# File 'lib/pfrpg_races/races/human.rb', line 43

def weapon_familiarity
  []
end