game: Bewusstlos und getötet getrennt — Marken je Größe
This commit is contained in:
parent
ea2944331b
commit
b15fa65012
47 changed files with 736 additions and 15 deletions
|
|
@ -63,6 +63,15 @@ func _ready() -> void:
|
|||
ok("Angriff tötet und entfernt die Belegung",
|
||||
not bool(e[monster_idx]["alive"]))
|
||||
|
||||
# Bewusstlos vs. getötet: Partei bekommt Zz und neutralen Marker, steht auf.
|
||||
k.call("_todesfall", partei_idx)
|
||||
var pdown: Dictionary = e[partei_idx]
|
||||
ok("Bewusstlos: Zz und Marker", pdown.has("zz") and pdown.has("pool"))
|
||||
k.call("_wieder_aufstehen", pdown)
|
||||
ok("Aufstehen: Zz/Marker weg, 1 TP", not pdown.has("zz")
|
||||
and not pdown.has("pool") and bool(pdown["alive"])
|
||||
and int(pdown["hp"]) == 1)
|
||||
|
||||
var gold_vorher := Game.gold
|
||||
for i in e.size():
|
||||
if e[i]["team"] == "monster" and bool(e[i]["alive"]):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue