death anim speed .8
This commit is contained in:
@@ -1090,6 +1090,7 @@ func take_sword_hit(cause: String = "", hit_pos: Vector3 = Vector3.ZERO) -> void
|
|||||||
_huff_player.play()
|
_huff_player.play()
|
||||||
if _hp <= 0:
|
if _hp <= 0:
|
||||||
if _bull_anim.current_animation != _ANIM_DEATH:
|
if _bull_anim.current_animation != _ANIM_DEATH:
|
||||||
|
_bull_anim.speed_scale = 0.8
|
||||||
_bull_anim.play(_ANIM_DEATH)
|
_bull_anim.play(_ANIM_DEATH)
|
||||||
_dead = true
|
_dead = true
|
||||||
died.emit(cause)
|
died.emit(cause)
|
||||||
|
|||||||
Reference in New Issue
Block a user