mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Update eluna
This commit is contained in:
@@ -222,6 +222,19 @@ namespace LuaGroup
|
||||
return 0;
|
||||
}
|
||||
|
||||
int SetTargetIcon(lua_State* L, Group* group)
|
||||
{
|
||||
uint8 icon = sEluna->CHECKVAL<uint8>(L, 2);
|
||||
uint64 target = sEluna->CHECKVAL<uint64>(L, 3);
|
||||
uint64 setter = sEluna->CHECKVAL<uint64>(L, 4, 0);
|
||||
|
||||
if (icon >= TARGETICONCOUNT)
|
||||
return luaL_argerror(L, 2, "valid target icon expected");
|
||||
|
||||
group->SetTargetIcon(icon, setter, target);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*int ConvertToLFG(lua_State* L, Group* group) // TODO: Implementation
|
||||
{
|
||||
group->ConvertToLFG();
|
||||
|
||||
Reference in New Issue
Block a user