Skip to content

Commit

Permalink
add note to other cores
Browse files Browse the repository at this point in the history
  • Loading branch information
55Honey committed Feb 9, 2024
1 parent 9e3c593 commit c9dbe7f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions CMangos/UnitMethods.h
Original file line number Diff line number Diff line change
Expand Up @@ -1601,7 +1601,7 @@ namespace LuaUnit
int SetRooted(Eluna* E, Unit* unit)
{
bool apply = Eluna::CHECKVAL<bool>(E->L, 2, true);

unit->SetImmobilizedState(apply);
return 0;
}
Expand Down Expand Up @@ -2447,7 +2447,7 @@ namespace LuaUnit
#endif
return 0;
}

ElunaRegister<Unit> UnitMethods[] =
{
// Getters
Expand Down Expand Up @@ -2644,6 +2644,7 @@ namespace LuaUnit
{ "RemoveCharmAuras", nullptr, METHOD_REG_NONE }, // not implemented
{ "DisableMelee", nullptr, METHOD_REG_NONE }, // not implemented
{ "SummonGuardian", nullptr, METHOD_REG_NONE }, // not implemented
{ "SetImmuneTo", nullptr }, // not implemented

{ NULL, NULL, METHOD_REG_NONE }
};
Expand Down
3 changes: 2 additions & 1 deletion Mangos/UnitMethods.h
Original file line number Diff line number Diff line change
Expand Up @@ -3112,7 +3112,7 @@ namespace LuaUnit
E->Push(summon);
return 1;
}*/

ElunaRegister<Unit> UnitMethods[] =
{
// Getters
Expand Down Expand Up @@ -3298,6 +3298,7 @@ namespace LuaUnit
{ "RemoveCharmAuras", nullptr }, // not implemented
{ "DisableMelee", nullptr }, // not implemented
{ "SummonGuardian", nullptr }, // not implemented
{ "SetImmuneTo", nullptr }, // not implemented

{ NULL, NULL }
};
Expand Down
3 changes: 2 additions & 1 deletion VMangos/UnitMethods.h
Original file line number Diff line number Diff line change
Expand Up @@ -2972,7 +2972,7 @@ namespace LuaUnit
Eluna::Push(L, summon);
return 1;
}*/

ElunaRegister<Unit> UnitMethods[] =
{
// Getters
Expand Down Expand Up @@ -3158,6 +3158,7 @@ namespace LuaUnit
{ "RemoveCharmAuras", nullptr }, // not implemented
{ "DisableMelee", nullptr }, // not implemented
{ "SummonGuardian", nullptr }, // not implemented
{ "SetImmuneTo", nullptr }, // not implemented

{ NULL, NULL }
};
Expand Down

0 comments on commit c9dbe7f

Please sign in to comment.