Topic: [Solved] [Help] Disable grenade-damage for owner?
Like the title says, I need to disable explosion damage for the owner of that explosion. How can you do that? Probably in GameServer, but where is that class? (Sry, C++ noob )
Solve:
character.cpp:
Changed
if(From == m_pPlayer->GetCID())
Dmg = max(1, Dmg/2);
to
if(From == m_pPlayer->GetCID())
Dmg = 0;
in TakeDamage()