Bazaar developer reference

CvLuaUnit::lChangeMaxHitPointsBase(lua_State *)

Defined in
Lua/CvLuaUnit.cpp, line 2307
Class
CvLuaUnit
Not a hook point
member without a separate declaration

Code

2307int CvLuaUnit::lChangeMaxHitPointsBase(lua_State* L)2308{2309	CvUnit* pkUnit = GetInstance(L);2310	const int iValue = lua_tointeger(L, 2);23112312	pkUnit->changeMaxHitPointsBase(iValue);2313	return 0;2314}

Calls

Called by