Jump to content
metin2dev
Metin2International

Search the Community

Showing results for tags 'change skill group'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community
    • Announcements
    • Feedback
  • Metin2
    • General
    • Questions and Answers
    • Guides & HowTo
    • Design
    • Private Servers
    • Services
    • Videos
  • Releases
    • General
    • Tools
    • Programming / Scripts
    • Quests
    • Binaries & Clients/Serverfiles
    • 3D Models
    • 2D Graphics
    • Operating Systems
  • Safe Zone
    • Offtopic
    • Games Talk
    • Music/Videos/Art

Categories

There are no results to display.

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Discord


Skype


ICQ


Yahoo


Location

Found 1 result

  1. 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; }
×