mirror of
https://github.com/Relintai/broken_seals_roguelike.git
synced 2024-11-21 13:17:17 +01:00
More renames.
This commit is contained in:
parent
6009e332de
commit
8c7c3e29ab
@ -136,7 +136,7 @@ func _notification_scharacter_level_up(value: int) -> void:
|
|||||||
refresh_spells(value)
|
refresh_spells(value)
|
||||||
|
|
||||||
func refresh_spells(value: int):
|
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
|
return
|
||||||
|
|
||||||
var ecd : EntityClassData = sentity_data.entity_class_data
|
var ecd : EntityClassData = sentity_data.entity_class_data
|
||||||
|
@ -137,7 +137,7 @@ func refresh_all() -> void:
|
|||||||
_page = _max_pages
|
_page = _max_pages
|
||||||
|
|
||||||
if ESS.use_spell_points:
|
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()
|
refresh_entries()
|
||||||
|
|
||||||
@ -162,7 +162,7 @@ func set_player(p_player: Entity) -> void:
|
|||||||
centity_data_changed(null)
|
centity_data_changed(null)
|
||||||
|
|
||||||
func cfree_spell_points_changed(entity: Entity, value: int) -> void:
|
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):
|
func centity_data_changed(data: EntityData):
|
||||||
_spells.clear()
|
_spells.clear()
|
||||||
|
Loading…
Reference in New Issue
Block a user