mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Fix parameter order of method SetSkill for mangos
This commit is contained in:
@@ -1694,7 +1694,11 @@ namespace LuaPlayer
|
|||||||
uint16 currVal = Eluna::CHECKVAL<uint16>(L, 4);
|
uint16 currVal = Eluna::CHECKVAL<uint16>(L, 4);
|
||||||
uint16 maxVal = Eluna::CHECKVAL<uint16>(L, 5);
|
uint16 maxVal = Eluna::CHECKVAL<uint16>(L, 5);
|
||||||
|
|
||||||
|
#ifdef TRINITY
|
||||||
player->SetSkill(id, step, currVal, maxVal);
|
player->SetSkill(id, step, currVal, maxVal);
|
||||||
|
#else
|
||||||
|
player->SetSkill(id, currVal, maxVal, step);
|
||||||
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user