Exemplo n.º 1
0
 def to_string(self) -> str:
     return Actor.to_string(self) + "\nBow Strength : " + str(
         self.bow_strength) + "\nMagic : " + "\nRange : " + str(self.range)
Exemplo n.º 2
0
 def to_string(self):
     return Actor.to_string(
         self) + "\nHuman Pride : " + str(self.human_pride)
Exemplo n.º 3
0
 def to_string(self):
     return Actor.to_string(self) + "\nArmor : " + str(
         self.armor) + "\nAxe Strength : " + str(self.axe_strength)
Exemplo n.º 4
0
def test_to_string():
    actor = Actor(25)
    assert actor.to_string().__contains__("Name : Unit_25")
Exemplo n.º 5
0
 def to_string(self) -> str:
     return Actor.to_string(self) + "\nStealth : " + str(
         self.stealth) + "\nHas Dagger : " + str(
             self.has_dagger) + "\nDependence : " + str(
                 self.dependence) + "\nFear : " + str(self.fear)
Exemplo n.º 6
0
 def to_string(self) -> str:
     return Actor.to_string(self) + "\nAnger : " + str(
         self.anger) + "\nSize : " + str(self.size)
Exemplo n.º 7
0
 def to_string(self):
     return Actor.to_string(self) + "\nHas Staff : " + str(
         self.has_staff) + "\nMagic : " + str(
             self.magic) + "\nWill : " + str(
                 self.will) + "\nIntelligence : " + str(self.intelligence)