onReceiveDamage method
Implementation
void onReceiveDamage(
AttackOriginEnum attacker,
double damage,
dynamic identify,
) {
removeLife(damage);
}
void onReceiveDamage(
AttackOriginEnum attacker,
double damage,
dynamic identify,
) {
removeLife(damage);
}