Prevent overlapping buildings
This commit is contained in:
@ -57,21 +57,21 @@ func set_character_data():
|
||||
health = 100
|
||||
shield = 100
|
||||
damage = 2
|
||||
value = 20
|
||||
value = 2
|
||||
"Ork":
|
||||
self.name = "Ork-" + str(randi())
|
||||
speed = 80
|
||||
health = 150
|
||||
shield = 200
|
||||
damage = 5
|
||||
value = 30
|
||||
value = 3
|
||||
"Cobold":
|
||||
self.name = "Cobold-" + str(randi())
|
||||
speed = 200
|
||||
health = 50
|
||||
shield = 0
|
||||
damage = 1
|
||||
value = 10
|
||||
value = 1
|
||||
|
||||
adjust_speed_of_animation() #adjust animation speed based on the character speed
|
||||
current_health = health
|
||||
|
Reference in New Issue
Block a user