Akció animációk
This commit is contained in:
@@ -39,12 +39,13 @@ class StatusChange:
|
||||
|
||||
# where = reference to the target, who = reference to the inflictor
|
||||
class Action:
|
||||
def __init__(self, name, who, where, damage, status):
|
||||
self.name = name
|
||||
self.who = who
|
||||
self.where = where
|
||||
self.damage = damage
|
||||
self.status = status
|
||||
def __init__(self, name, who, where, damage, status, animation):
|
||||
self.name = name
|
||||
self.who = who
|
||||
self.where = where
|
||||
self.damage = damage
|
||||
self.status = status
|
||||
self.animation = animation
|
||||
|
||||
def __str__(self):
|
||||
return (
|
||||
@@ -113,4 +114,4 @@ class Action:
|
||||
target.ko = True
|
||||
target.stone = False
|
||||
target.def_up = False
|
||||
print(f" -> {target.name} got hurt and collapsed!")
|
||||
print(f" -> {target.name} got hurt and collapsed!")
|
||||
|
||||
Reference in New Issue
Block a user