Class: PfrpgClasses::Barbarian
Instance Attribute Summary
Attributes inherited from Heroclass
#level_for_json
Instance Method Summary
collapse
Methods inherited from Heroclass
#as_json, #bab, #bonus_choices_for_level, #bonus_features_for_level, by_name, class_list, class_list_json, #features, fetch, #initialize, #meets_prerequisites?, #prestige, prestige_class_list, prestige_list_json, #pretty_choice_string, #pretty_feature_string, #saves, #spells, #spells_per_day, #starting_wealth_str
Instance Method Details
#alignment ⇒ Object
27
28
29
|
# File 'lib/pfrpg_classes/heroclass/barbarian.rb', line 27
def alignment
PfrpgUtility::Alignment.never_lawful
end
|
#bonuses_for_level(level) ⇒ Object
19
20
21
|
# File 'lib/pfrpg_classes/heroclass/barbarian.rb', line 19
def bonuses_for_level(level)
PfrpgTables::Tables::Heroclasses::Barbarian.level_bonus(level)
end
|
#create_feature(f) ⇒ Object
23
24
25
|
# File 'lib/pfrpg_classes/heroclass/barbarian.rb', line 23
def create_feature(f)
BarbarianFeature.new(:ability_name => f)
end
|
#description ⇒ Object
39
40
41
|
# File 'lib/pfrpg_classes/heroclass/barbarian.rb', line 39
def description
"Barbarians excel in combat, possessing the martial prowess and fortitude to take on foes seemingly far superior to themselves. With rage granting them boldness and daring beyond that of most other warriors, barbarians charge furiously into battle and ruin all who would stand in their way."
end
|
#feature_type ⇒ Object
57
58
59
|
# File 'lib/pfrpg_classes/heroclass/barbarian.rb', line 57
def feature_type
"BarbarianFeature"
end
|
#get_spells_table(level) ⇒ Object
35
36
37
|
# File 'lib/pfrpg_classes/heroclass/barbarian.rb', line 35
def get_spells_table(level)
return PfrpgTables::Tables::Spells::SpellsPerDay.empty
end
|
#hit_die ⇒ Object
7
8
9
|
# File 'lib/pfrpg_classes/heroclass/barbarian.rb', line 7
def hit_die
PfrpgUtility::Dice.new(1,12)
end
|
#name ⇒ Object
3
4
5
|
# File 'lib/pfrpg_classes/heroclass/barbarian.rb', line 3
def name
"Barbarian"
end
|
#skills ⇒ Object
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# File 'lib/pfrpg_classes/heroclass/barbarian.rb', line 43
def skills
[PfrpgSkills::Skill::Acrobatics.new,
PfrpgSkills::Skill::Climb.new,
PfrpgSkills::Skill::Craft.new,
PfrpgSkills::Skill::HandleAnimal.new,
PfrpgSkills::Skill::Intimidate.new,
PfrpgSkills::Skill::Knowledge.new("Nature"),
PfrpgSkills::Skill::Perception.new,
PfrpgSkills::Skill::Ride.new,
PfrpgSkills::Skill::Survival.new,
PfrpgSkills::Skill::Swim.new,
]
end
|
#skills_per_level ⇒ Object
31
32
33
|
# File 'lib/pfrpg_classes/heroclass/barbarian.rb', line 31
def skills_per_level
4
end
|
#starting_feats ⇒ Object
61
62
63
64
65
66
67
68
69
|
# File 'lib/pfrpg_classes/heroclass/barbarian.rb', line 61
def starting_feats
[
"Light Armor Proficiency",
"Medium Armor Proficiency",
"Shield Proficiency",
"Simple Weapon Proficiency",
"Martial Weapon Proficiency, All"
]
end
|
#starting_wealth ⇒ Object
11
12
13
|
# File 'lib/pfrpg_classes/heroclass/barbarian.rb', line 11
def starting_wealth
PfrpgUtility::Dice.new(3,6, multiplier = 10)
end
|
#starting_wealth_avg ⇒ Object
15
16
17
|
# File 'lib/pfrpg_classes/heroclass/barbarian.rb', line 15
def starting_wealth_avg
105
end
|
#suggested_items ⇒ Object
71
72
73
74
75
|
# File 'lib/pfrpg_classes/heroclass/barbarian.rb', line 71
def suggested_items
[
['Greatsword', 'Leather']
]
end
|