idk
This commit is contained in:
parent
ac6c4c433f
commit
553f8ea77a
7 changed files with 55 additions and 7 deletions
|
|
@ -20,6 +20,7 @@ registry_entry = &"mm_molik"
|
|||
visibility_target = &"sp"
|
||||
max_ammo = 3
|
||||
ammo_mags = 0
|
||||
speed_modifier = 0.9
|
||||
can_be_previous = false
|
||||
destroy_when_empty = true
|
||||
enter_state = NodePath("Intro")
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ properties/0/replication_mode = 1
|
|||
collision_layer = 8
|
||||
collision_mask = 2
|
||||
script = ExtResource("1_qokq0")
|
||||
dps = 25.0
|
||||
dps = 33.333
|
||||
damage_timer = NodePath("DamageTimer")
|
||||
|
||||
[node name="Decal" type="Decal" parent="."]
|
||||
|
|
|
|||
|
|
@ -26,4 +26,4 @@ func fire() -> void:
|
|||
var molotov: CharacterBody3D = molik.instantiate()
|
||||
Session.dynamic_objects_parent.add_child(molotov,true)
|
||||
molotov.global_transform = machine.player_camera.global_transform
|
||||
molotov.velocity = -molotov.global_basis.z * 25
|
||||
molotov.velocity = -molotov.global_basis.z * 25 + machine.player.velocity
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue