Jump to content

How To Change Skill Group - Visual Bug Fix


Recommended Posts

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

 

  • Love 4
Link to comment
https://metin2.dev/topic/17937-how-to-change-skill-group-visual-bug-fix/
Share on other sites

  • 4 weeks later...

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.