mortar + mini gun cannot hit weak points
This commit is contained in:
parent
f73f093ae2
commit
045faf2333
10 changed files with 77 additions and 1 deletions
|
|
@ -10,6 +10,7 @@ var health: int = 1:
|
|||
if v == 0:
|
||||
queue_free()
|
||||
var damage := 10.
|
||||
var can_hit_weak_points := true
|
||||
|
||||
func _on_collision(node: Node3D):
|
||||
if node.has_method("hit"):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue