Class: PfrpgClasses::Shadowdancer
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/shadowdancer.rb', line 15
def alignment
PfrpgUtility::Alignment.any
end
|
#bonuses_for_level(level) ⇒ Object
36
37
38
|
# File 'lib/pfrpg_classes/heroclass/shadowdancer.rb', line 36
def bonuses_for_level(level)
PfrpgTables::Tables::Heroclasses::Shadowdancer.level_bonus(level)
end
|
#description ⇒ Object
19
20
21
|
# File 'lib/pfrpg_classes/heroclass/shadowdancer.rb', line 19
def description
"Shadowdancers adventure for a wide variety of reasons. Many adventuring parties find shadowdancers valuable members of their teams due to their incredible stealth and ability to surprise enemies with lightning-quick attacks where they're least expected. For this reason, their services are often sought out by those groups in need of scouts or spies."
end
|
#feature_type ⇒ Object
48
49
50
|
# File 'lib/pfrpg_classes/heroclass/shadowdancer.rb', line 48
def feature_type
'ShadowdancerFeature'
end
|
#get_spells_table ⇒ Object
40
41
42
|
# File 'lib/pfrpg_classes/heroclass/shadowdancer.rb', line 40
def get_spells_table
return PfrpgTables::Tables::Spells::SpellsPerDay.empty
end
|
#hit_die ⇒ Object
11
12
13
|
# File 'lib/pfrpg_classes/heroclass/shadowdancer.rb', line 11
def hit_die
PfrpgUtility::Dice.new(1,8)
end
|
#name ⇒ Object
3
4
5
|
# File 'lib/pfrpg_classes/heroclass/shadowdancer.rb', line 3
def name
"Shadowdancer"
end
|
#prerequisites ⇒ Object
52
53
54
55
56
57
58
59
60
|
# File 'lib/pfrpg_classes/heroclass/shadowdancer.rb', line 52
def prerequisites
[
PfrpgUtility::Prerequisite::SkillPrereq.new('stealth', 5),
PfrpgUtility::Prerequisite::SkillPrereq.new('perform', 2),
PfrpgUtility::Prerequisite::FeatPrereq.new('Combat Reflexes', nil),
PfrpgUtility::Prerequisite::FeatPrereq.new('Dodge', nil),
PfrpgUtility::Prerequisite::FeatPrereq.new('Mobility', nil),
]
end
|
#prestige ⇒ Object
7
8
9
|
# File 'lib/pfrpg_classes/heroclass/shadowdancer.rb', line 7
def prestige
true
end
|
#skills ⇒ Object
23
24
25
26
27
28
29
30
31
32
33
34
|
# File 'lib/pfrpg_classes/heroclass/shadowdancer.rb', line 23
def skills
[PfrpgSkills::Skill::Acrobatics.new,
PfrpgSkills::Skill::Bluff.new,
PfrpgSkills::Skill::Diplomacy.new,
PfrpgSkills::Skill::Disguise.new,
PfrpgSkills::Skill::EscapeArtist.new,
PfrpgSkills::Skill::Perception.new,
PfrpgSkills::Skill::Perform.new,
PfrpgSkills::Skill::SleightOfHand.new,
PfrpgSkills::Skill::Stealth.new,
]
end
|
#skills_per_level ⇒ Object
44
45
46
|
# File 'lib/pfrpg_classes/heroclass/shadowdancer.rb', line 44
def skills_per_level
6
end
|