Fix parameter order of method SetSkill for mangos

This commit is contained in:
ryancheung
2017-07-26 23:09:31 +03:00
committed by Rochet2
parent 98397c65f2
commit 9dbe004bcc

View File

@@ -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;
} }