Since the fall damage along with the mountain fall damage is ridiculous is there any way to fix it?
Printable View
Since the fall damage along with the mountain fall damage is ridiculous is there any way to fix it?
Find this;
Code:void obj_ServerPlayer::OnNetPacket(const PKT_C2S_FallingDamage_s& n)
{
r3dOutToLog("Falling damage to %s, damage=%.2f\n", Name.c_str(), n.damage); CLOG_INDENT;
gServerLogic.ApplyDamage(this, this, GetPosition(), n.damage, true, storecat_INVALID);
}
DELETE and replace this;
and save... :)Code:/* void obj_ServerPlayer::OnNetPacket(const PKT_C2S_FallingDamage_s& n)
{
r3dOutToLog("Falling damage to %s, damage=%.2f\n", Name.c_str(), n.damage); CLOG_INDENT;
gServerLogic.ApplyDamage(this, this, GetPosition(), n.damage, true, storecat_INVALID);
}
*/
void obj_ServerPlayer::OnNetPacket(const PKT_C2S_FallingDamage_s& n)
{
float nulldamage = 0.f;
r3dOutToLog("Falling damage to %s, damage=%.2f\n", Name.c_str(), nulldamage); CLOG_INDENT;
gServerLogic.ApplyDamage(this, this, GetPosition(), nulldamage, true, storecat_INVALID);
}