#Babbies first Kobold
Showing
1 changed file
with
3 additions
and
3 deletions
... | @@ -4,10 +4,10 @@ Created on Dec 20, 2016 | ... | @@ -4,10 +4,10 @@ Created on Dec 20, 2016 |
4 | @author: Xorfos | 4 | @author: Xorfos |
5 | ''' | 5 | ''' |
6 | 6 | ||
7 | from mobs import npc | 7 | from npc import Npc |
8 | from random import randint | 8 | from random import randint |
9 | 9 | ||
10 | class WeakKobold(npc): | 10 | class WeakKobold(Npc): |
11 | 11 | ||
12 | def at_object_creation(self): | 12 | def at_object_creation(self): |
13 | self.db.strength = randint(1,2) | 13 | self.db.strength = randint(1,2) |
... | @@ -18,7 +18,7 @@ class WeakKobold(npc): | ... | @@ -18,7 +18,7 @@ class WeakKobold(npc): |
18 | return self.db.strength, self.db.agility, self.db.magic | 18 | return self.db.strength, self.db.agility, self.db.magic |
19 | 19 | ||
20 | 20 | ||
21 | class KoboldShaman(npc): | 21 | class KoboldShaman(Npc): |
22 | 22 | ||
23 | def at_object_creation(self): | 23 | def at_object_creation(self): |
24 | self.db.strength = 1 | 24 | self.db.strength = 1 | ... | ... |
-
Please register or sign in to post a comment