first commit
This commit is contained in:
7
tests/prev_check.gd
Normal file
7
tests/prev_check.gd
Normal file
@@ -0,0 +1,7 @@
|
||||
extends SceneTree
|
||||
func _initialize() -> void:
|
||||
var a := Avatar.new(Data.Role.DPS, [Data.Element.FEUER] as Array[int], 1)
|
||||
var b := Avatar.new(a.role, a.elements + [Data.Element.WIND] as Array[int], a.star + 1)
|
||||
print("vorher: ", a.elements, " star ", a.star, " hp ", int(a.base_stats()["hp"]))
|
||||
print("nachher: ", b.elements, " star ", b.star, " hp ", int(b.base_stats()["hp"]))
|
||||
quit()
|
||||
Reference in New Issue
Block a user