Is it possible to done DamageCounter on gunz? if yes then how..?
Is it possible to done DamageCounter on gunz? if yes then how..?
Count damage dealt/sent to a player through ZCharacter::OnDamaged? Can't really remember which OnDamaged is it. It's really basic.
More like
idk, didn't really try to do it. not yet.Code:int DamageCount = 0; DamageCount += fDamage;
char szFmt[256];
memset( szFmt, 0, 256 );
sprintf( szFmt, "(%s) %d(HP) e %d(AP) ", MyHPAndAPWithName, MyHPValue, MyAPValue );
ZChatOutput( szFmt );
old, I calculate that one just right.
What about fActualDamage?