Jump to content
Phishing - Beware of identity theft... ×
  • 0

Lycan first skill bug.


Speachless

Question

  • Answers 5
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

5 answers to this question

Recommended Posts

  • 0
  • Premium

Solved : char_skill.cpp

bool CHARACTER::CanUseSkill(DWORD dwSkillVnum) const
{
    if (0 == dwSkillVnum) return false;


    if (0 < GetSkillGroup())
    {
        const int SKILL_COUNT = 6;
        static const DWORD SkillList[JOB_MAX_NUM][SKILL_GROUP_MAX_NUM][SKILL_COUNT] =
        {
            {{1, 2,    3, 4, 5, 6}, {16, 17, 18, 19, 20, 21}},
            {{31, 32, 33, 34, 35, 36}, {46, 47, 48, 49, 50, 51}},
            {{61, 62, 63, 64, 65, 66}, {76, 77, 78, 79, 80, 81}},
            {{91, 92, 93, 94, 95, 96}, {106, 107, 108, 109, 110, 111}},
            {{171, 172, 173, 174, 175, 176},},
        };


        const DWORD* pSkill = SkillList[ GetJob() ][ GetSkillGroup()-1 ];
        for (int i=0 ; i < SKILL_COUNT ; ++i)
        {
            if (pSkill[i] == dwSkillVnum) return true;
        }
    }

Rewrite 

  {{171, 172, 173, 174, 175, 176},},

 with   

{{170, 171, 172, 173, 174, 175},},
 
 
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Activity

    1. 1

      Phishing - Beware of identity theft...

    2. 1

      Phishing - Beware of identity theft...

    3. 45

      Official Pickup Slot Effect [REVERSED]

    4. 0

      damage from int to long long

    5. 22

      Green & Purple Potions Effect

    6. 12

      When Uninstalling Gaya System

    7. 12

      When Uninstalling Gaya System

    8. 12

      When Uninstalling Gaya System

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.