Nene needs help about programming, can you help her /g/?void Destructible::ReceiveDamage(float sourceDamage){
auto resolvedDamage = sourceDamage;
for(const auto& debuf : m_debuf) {
resolvedDamage = debuf->ApplyToDamage(resolvedDamage);
m_current -= resolvedDamage;
if(m_currentHealth <= 0.f){
m_currentHealth = 0.f;
DestroyMe();
}
}
}
>>61252676
Stop being so smug and maybe I'll help.
>>61252815
She's cute when she smug so no.
nenecchi should use a cute programming language like lua
We can't even see line 52.
>>61253738
Check the ReciveDamage function calling DestroyMe function.