Change SetPower arguments

Add modify power
https://github.com/ElunaLuaEngine/Eluna/issues/189
This commit is contained in:
Rochet2
2017-07-19 19:53:18 +03:00
parent 963352e4f5
commit 0cba9fc4c3
2 changed files with 34 additions and 3 deletions

View File

@@ -320,6 +320,7 @@ ElunaRegister<Unit> UnitMethods[] =
#endif
{ "SetWaterWalk", &LuaUnit::SetWaterWalk },
{ "SetStandState", &LuaUnit::SetStandState },
{ "ModifyPower", &LuaUnit::ModifyPower },
// Boolean
{ "IsAlive", &LuaUnit::IsAlive },