equipment-test/modules/tabtargeting/actor_body.cpp
2025-06-13 14:37:16 +02:00

11 lines
312 B
C++

#include "actor_body.h"
#include "core/string/print_string.h"
void ActorBody::_bind_methods() {
}
void ActorBody::receive_damage(DamageEvent event) {
this->health -= event.compound_damage;
print_line(vformat("Damage dealth (%d to %s, %d remaining", event.compound_damage, this->get_name(), this->health));
}