Fire Posted February 1, 2018 Report Share Posted February 1, 2018 Hi, i think that a lot of people know this bug because it afflict a lot of revision. If you are a Body Warrior and you do a skill like Aura of the sword and we try to change our skill group in Mental, we can see that we have got Mental skill group and the Aura of the sword active too. How fix this? Open questlua_pc.cpp and search: int pc_set_skillgroup(lua_State* L) { if (!lua_isnumber(L, 1)) sys_err("QUEST wrong skillgroup number"); else { CQuestManager & q = CQuestManager::Instance(); LPCHARACTER ch = q.GetCurrentCharacterPtr(); ch->SetSkillGroup((BYTE) rint(lua_tonumber(L, 1))); } return 0; } Replace code with: int pc_set_skillgroup(lua_State* L) { if (!lua_isnumber(L, 1)) sys_err("QUEST wrong skillgroup number"); else { CQuestManager & q = CQuestManager::Instance(); LPCHARACTER ch = q.GetCurrentCharacterPtr(); ch->RemoveGoodAffect(); ch->SetSkillGroup((BYTE) rint(lua_tonumber(L, 1))); } return 0; } Rusef 1 Quote Link to comment Share on other sites More sharing options...
Rusef Posted February 1, 2018 Report Share Posted February 1, 2018 Good contribution Alguien lo ha probado? Quote Link to comment Share on other sites More sharing options...
Zart Posted February 1, 2018 Report Share Posted February 1, 2018 hace 4 horas, Rusef dijo: Good contribution Alguien lo ha probado? Funciona, no por haberlo probado, es por la lógica de la función. Rusef 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.