Package schlachtfeld :: Module Char :: Class Hero
[hide private]
[frames] | no frames]

Class Hero

source code

Char --+
       |
      Hero

A battle hero. Might be external or emerging from Char() during battle.

Instance Methods [hide private]
  __init__(self, host=None, exp=3, weap=4, arm=2, base_tp=24, base_attack=12, morale=18, source=u"tag:1w6.org,2007:Mensch")
Basic creation of a single soldier.
  checkmorale(self)
Heroes hail their masters, no morale check!
  motivate(self)
Heroes motivate the surrounding fighters.

Inherited from Char: __repr__, attack, checkalive, damage, escape_check, manual_sytle, name_me, queue_up, sethost, upgrade


Instance Variables [hide private]

Inherited from Char: WS, armor, bTP, dam, morale, wounds


Method Details [hide private]

__init__(self, host=None, exp=3, weap=4, arm=2, base_tp=24, base_attack=12, morale=18, source=u"tag:1w6.org,2007:Mensch")
(Constructor)

source code 
Basic creation of a single soldier.
Overrides: Char.__init__
(inherited documentation)

checkmorale(self)

source code 
Heroes hail their masters, no morale check!
Overrides: Char.checkmorale

motivate(self)

source code 
Heroes motivate the surrounding fighters.