diff --git a/PlayerMethods.h b/PlayerMethods.h index 73ac167..3c9678b 100644 --- a/PlayerMethods.h +++ b/PlayerMethods.h @@ -1694,7 +1694,11 @@ namespace LuaPlayer uint16 currVal = Eluna::CHECKVAL(L, 4); uint16 maxVal = Eluna::CHECKVAL(L, 5); +#ifdef TRINITY player->SetSkill(id, step, currVal, maxVal); +#else + player->SetSkill(id, currVal, maxVal, step); +#endif return 0; }