Improve battle readability and post-move commands
This commit is contained in:
@@ -3858,6 +3858,7 @@ func _grant_experience(unit: Dictionary, amount: int) -> void:
|
||||
return
|
||||
unit["exp"] = int(unit.get("exp", 0)) + amount
|
||||
_emit_log("%s 공적 +%d." % [unit["name"], amount])
|
||||
_emit_combat_feedback(unit, "공적 +%d" % amount, "progress")
|
||||
while int(unit["exp"]) >= EXP_LEVEL:
|
||||
unit["exp"] = int(unit["exp"]) - EXP_LEVEL
|
||||
_level_up(unit)
|
||||
|
||||
Reference in New Issue
Block a user