added models and changed spawnpoint
This commit is contained in:
parent
2cf0846597
commit
877ebafc74
1007 changed files with 120779 additions and 37 deletions
|
|
@ -3,7 +3,7 @@ extends CharacterBody3D
|
|||
|
||||
signal level_up
|
||||
|
||||
@export var stats: MonsterData = MonsterData.new()
|
||||
@export var data: MonsterData = MonsterData.new()
|
||||
|
||||
var spawn_point: Vector3 = Vector3(0, 0, 0)
|
||||
|
||||
|
|
@ -15,7 +15,7 @@ var in_battle: bool = false
|
|||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
var model_instance = stats.model.instantiate()
|
||||
var model_instance = data.model.instantiate()
|
||||
frequency = randf_range(1.0, 4.0)
|
||||
amplitude = randf_range(1.0, 6.0)
|
||||
spawn_point = position
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue