Class: PfrpgClasses::MysticTheurge
- Inherits:
-
Heroclass
show all
- Defined in:
- lib/pfrpg_classes/heroclass/mystic_theurge.rb
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_class_list, prestige_list_json, #pretty_choice_string, #pretty_feature_string, #saves, #spells, #spells_per_day, #starting_feats, #starting_wealth, #starting_wealth_avg, #starting_wealth_str
Instance Method Details
#alignment ⇒ Object
15
16
17
|
# File 'lib/pfrpg_classes/heroclass/mystic_theurge.rb', line 15
def alignment
PfrpgUtility::Alignment.any
end
|
#bonuses_for_level(level) ⇒ Object
31
32
33
|
# File 'lib/pfrpg_classes/heroclass/mystic_theurge.rb', line 31
def bonuses_for_level(level)
PfrpgTables::Tables::Heroclasses::MysticTheurge.level_bonus(level)
end
|
#description ⇒ Object
19
20
21
|
# File 'lib/pfrpg_classes/heroclass/mystic_theurge.rb', line 19
def description
" The mystic theurge is a powerful component for any party, supplying magic for attack, defense, and healing. Mystic theurges travel the world in search of arcane and holy artifacts, magical lore, or divine revelations, and most have no qualms about teaming up with groups of adventurers so long as that group's goals do not directly conflict with their own."
end
|
#feature_type ⇒ Object
44
45
46
|
# File 'lib/pfrpg_classes/heroclass/mystic_theurge.rb', line 44
def feature_type
'MysticTheurgeFeature'
end
|
#get_spells_table ⇒ Object
35
36
37
38
|
# File 'lib/pfrpg_classes/heroclass/mystic_theurge.rb', line 35
def get_spells_table
return PfrpgTables::Tables::Spells::SpellsPerDay.empty
end
|
#hit_die ⇒ Object
11
12
13
|
# File 'lib/pfrpg_classes/heroclass/mystic_theurge.rb', line 11
def hit_die
PfrpgUtility::Dice.new(1,6)
end
|
#name ⇒ Object
3
4
5
|
# File 'lib/pfrpg_classes/heroclass/mystic_theurge.rb', line 3
def name
"Mystic Theurge"
end
|
#prerequisites ⇒ Object
48
49
50
51
52
53
54
55
56
|
# File 'lib/pfrpg_classes/heroclass/mystic_theurge.rb', line 48
def prerequisites
[
PfrpgUtility::Prerequisite::SkillPrereq.new('knowledge : arcana', 3),
PfrpgUtility::Prerequisite::SkillPrereq.new('knowledge : religion', 3),
PfrpgUtility::Prerequisite::MiscPrereq.new('divine', nil),
PfrpgUtility::Prerequisite::MiscPrereq.new('caster', nil),
PfrpgUtility::Prerequisite::MiscPrereq.new('caster level', 2)
]
end
|
#prestige ⇒ Object
7
8
9
|
# File 'lib/pfrpg_classes/heroclass/mystic_theurge.rb', line 7
def prestige
true
end
|
#skills ⇒ Object
23
24
25
26
27
28
29
|
# File 'lib/pfrpg_classes/heroclass/mystic_theurge.rb', line 23
def skills
[PfrpgSkills::Skill::Knowledge.new("Arcana"),
PfrpgSkills::Skill::Knowledge.new("Religion"),
PfrpgSkills::Skill::SenseMotive.new,
PfrpgSkills::Skill::Spellcraft.new,
]
end
|
#skills_per_level ⇒ Object
40
41
42
|
# File 'lib/pfrpg_classes/heroclass/mystic_theurge.rb', line 40
def skills_per_level
2
end
|