Bazaar developer reference

CvPlayer::GetWoundedUnitDamageMod() const

Defined in
CvPlayer.cpp, line 13184
Class
CvPlayer
Hook name
CivHooks::CvPlayer_GetWoundedUnitDamageMod

Hooks

static bool BeforeCvPlayer_GetWoundedUnitDamageMod(const CvPlayer* self, int& result);static void AfterCvPlayer_GetWoundedUnitDamageMod(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetWoundedUnitDamageMod(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetWoundedUnitDamageMod>(host, &BeforeCvPlayer_GetWoundedUnitDamageMod);CivRegisterAfter<CivHooks::CvPlayer_GetWoundedUnitDamageMod>(host, &AfterCvPlayer_GetWoundedUnitDamageMod);CivRegisterReplace<CivHooks::CvPlayer_GetWoundedUnitDamageMod>(host, &ReplaceCvPlayer_GetWoundedUnitDamageMod);

Code

13183/// How much weaker do Units get when wounded?13184int CvPlayer::GetWoundedUnitDamageMod() const13185{13186	return m_iWoundedUnitDamageMod;13187}

Calls

Called by