Because "Calcdamage" is shared, how to hook him so that he only works against enemies! I used Google Translate, sorry!
AND is enemy
is Damage
,
Because "Calcdamage" is shared, how to hook him so that he only works against enemies! I used Google Translate, sorry!
AND is enemy
C++:
public class CCharacter : MonoBehaviour
{
[Address(RVA = "0x3482CF0", Offset = "0x3482CF0", VA = "0x3482CF0")]
public bool IsEnemy(CCharacter _TargetCharacter)
{
return default(bool);
}
C++:
public static class CFormula
[Address(RVA = "0x1275D58", Offset = "0x1275D58", VA = "0x1275D58")]
public static void CalcDamage(CCharacterBattle _Attacker, CCharacterBattle _Defender, CDamageTemplet _DamageTemplet, float _fDamageRate, out int _nDamage, out int _nVampiric, out int _nHitRecovery)
{
}
Because "Calcdamage" is shared, how to hook him so that he only works against enemies! I used Google Translate, sorry!
Last edited: