added models and changed spawnpoint
This commit is contained in:
parent
2cf0846597
commit
877ebafc74
1007 changed files with 120779 additions and 37 deletions
|
|
@ -28,7 +28,7 @@ var level: int = 1
|
|||
var xp: int = 1
|
||||
|
||||
|
||||
# the ID is the filename of the monster from res://entities/monsters/<filename>.tres
|
||||
# The ID is the filename of the monster from res://entities/monsters/<filename>.tres
|
||||
func set_data(p_unique_id = "", current_values: Dictionary = {}, p_level: int = 1) -> void:
|
||||
if p_unique_id.is_empty():
|
||||
printerr("Monster.gd: No ID given")
|
||||
|
|
@ -49,6 +49,7 @@ func set_data(p_unique_id = "", current_values: Dictionary = {}, p_level: int =
|
|||
self.base_defense = base_monster.base_defense
|
||||
self.base_tempo = base_monster.base_tempo
|
||||
self.base_xp_for_next_level = base_monster.base_xp_for_next_level
|
||||
self.level = p_level
|
||||
|
||||
# process custom and current values
|
||||
if current_values.is_empty():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue