feature: add GetUnitFlags(), GetUnitFlagsTwo(), SetUnitFlags(flags), SetUnitFlagsTwo(flags), PlayerEvent OnApplyAura/OnRemoveAura (#137)
This commit is contained in:
@@ -813,6 +813,8 @@ ElunaRegister<Creature> CreatureMethods[] =
|
||||
{ "GetLootRecipient", &LuaCreature::GetLootRecipient },
|
||||
{ "GetLootRecipientGroup", &LuaCreature::GetLootRecipientGroup },
|
||||
{ "GetNPCFlags", &LuaCreature::GetNPCFlags },
|
||||
{ "GetUnitFlags", &LuaCreature::GetUnitFlags },
|
||||
{ "GetUnitFlagsTwo", &LuaCreature::GetUnitFlagsTwo },
|
||||
{ "GetExtraFlags", &LuaCreature::GetExtraFlags },
|
||||
#if defined(CLASSIC) || defined(TBC) || defined(WOTLK)
|
||||
{ "GetShieldBlockValue", &LuaCreature::GetShieldBlockValue },
|
||||
@@ -838,6 +840,8 @@ ElunaRegister<Creature> CreatureMethods[] =
|
||||
{ "SetLootMode", &LuaCreature::SetLootMode },
|
||||
#endif
|
||||
{ "SetNPCFlags", &LuaCreature::SetNPCFlags },
|
||||
{ "SetUnitFlags", &LuaCreature::SetUnitFlags },
|
||||
{ "SetUnitFlagsTwo", &LuaCreature::SetUnitFlagsTwo },
|
||||
#if defined(TRINITY) || AZEROTHCORE
|
||||
{ "SetReactState", &LuaCreature::SetReactState },
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user