mirror of
https://github.com/Relintai/broken_seals_2d.git
synced 2024-11-11 20:35:10 +01:00
More renames.
This commit is contained in:
parent
05a368c089
commit
0edfc00fb8
@ -135,7 +135,7 @@ func _notification_scharacter_level_up(value: int) -> void:
|
||||
refresh_spells(value)
|
||||
|
||||
func refresh_spells(value: int):
|
||||
if free_spell_points_gets() == 0 and class_talent_points_gets_free() == 0:
|
||||
if spell_points_gets_free() == 0 and class_talent_points_gets_free() == 0:
|
||||
return
|
||||
|
||||
var ecd : EntityClassData = sentity_data.entity_class_data
|
||||
|
@ -137,7 +137,7 @@ func refresh_all() -> void:
|
||||
_page = _max_pages
|
||||
|
||||
if ESS.use_spell_points:
|
||||
_spell_points_label.text = "Free spell points: " + str(_player.free_spell_points_getc())
|
||||
_spell_points_label.text = "Free spell points: " + str(_player.spell_points_getc_free())
|
||||
|
||||
refresh_entries()
|
||||
|
||||
@ -164,7 +164,7 @@ func set_player(p_player: Entity) -> void:
|
||||
centity_data_changed(null)
|
||||
|
||||
func cfree_spell_points_changed(entity: Entity, value: int) -> void:
|
||||
_spell_points_label.text = "Free spell points: " + str(_player.free_spell_points_getc())
|
||||
_spell_points_label.text = "Free spell points: " + str(_player.spell_points_getc_free())
|
||||
|
||||
func centity_data_changed(data: EntityData):
|
||||
_spells.clear()
|
||||
|
Loading…
Reference in New Issue
Block a user