Updated an another property.

This commit is contained in:
Relintai 2023-10-09 12:46:20 +02:00
parent 23de01fd0e
commit 3b86f3bee5

View File

@ -535,7 +535,7 @@ func process_movement_mob(delta : float) -> void:
if translation.y < -2000.0:
print("killed mob with fall damage")
var sdi : SpellDamageInfo = SpellDamageInfo.new()
sdi.damage_source_type = SpellDamageInfo.DAMAGE_SOURCE_UNKNOWN
sdi.source_type = SpellDamageInfo.DAMAGE_SOURCE_UNKNOWN
sdi.damage = 999999999
entity.stake_damage(sdi)