midori-school/levels/Ceres/honkerrailway.gd

23 lines
535 B
GDScript3
Raw Normal View History

2024-08-16 22:54:37 +02:00
extends Node2D
# Called when the node enters the scene tree for the first time.
func _ready():
if !Global.debug:
_statrebase()
Global.live = 1
2024-09-25 13:35:43 +02:00
Global.quest[1] = 3
Global.quest[2] = 1
2024-08-16 22:54:37 +02:00
#pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
pass
func _statrebase():
for i in 4:
if Global.party[i][0] != null:
for j in 7:
Global.cstats[Global.party[i][0]][j] = Global.basestats[Global.party[i][0]][j] * Global.level[Global.dparty[i][0]]