#First steps coding, default character tweek
Showing
1 changed file
with
11 additions
and
0 deletions
... | @@ -29,4 +29,15 @@ class Character(DefaultCharacter): | ... | @@ -29,4 +29,15 @@ class Character(DefaultCharacter): |
29 | at_post_puppet - Echoes "PlayerName has entered the game" to the room. | 29 | at_post_puppet - Echoes "PlayerName has entered the game" to the room. |
30 | 30 | ||
31 | """ | 31 | """ |
32 | |||
33 | def at_object_creation(self): | ||
34 | self.db.strength = 5 | ||
35 | self.db.agility = 4 | ||
36 | self.db.magic = 2 | ||
37 | |||
38 | |||
39 | def get_abilities(self): | ||
40 | return self.db.strength, self.db.agility, self.db.magic | ||
41 | |||
42 | |||
32 | pass | 43 | pass | ... | ... |
-
Please register or sign in to post a comment