Class: GamesAndRpgParadise::MightAndMagic::HeroTypes::Fighter
- Inherits:
-
GamesAndRpgParadise::MightAndMagic::Hero
- Object
- Character
- GamesAndRpgParadise::MightAndMagic::Hero
- GamesAndRpgParadise::MightAndMagic::HeroTypes::Fighter
- Defined in:
- lib/games_and_rpg_paradise/games/might_and_magic/hero_types.rb
Constant Summary collapse
- ONE_ATTACK_EVERY_N_LEVELS =
5
Constants inherited from Character
Instance Attribute Summary
Attributes inherited from GamesAndRpgParadise::MightAndMagic::Hero
#gender, #hp, #level, #n_attacks, #name, #race
Instance Method Summary collapse
-
#initialize ⇒ Fighter
constructor
initialize.
Methods inherited from GamesAndRpgParadise::MightAndMagic::Hero
Methods inherited from Character
#alive=, #alive?, #do_die, #hero_type?, #reset, #select_random_race, #set_age, #set_gender, #set_hero_type, #set_level, #set_number_of_attacks
Constructor Details
#initialize ⇒ Fighter
initialize
76 |
# File 'lib/games_and_rpg_paradise/games/might_and_magic/hero_types.rb', line 76 def initialize; super('fighter','rand',6,ONE_ATTACK_EVERY_N_LEVELS); end |