Jump to content

Recommended Posts

hello metin2dev

A problem is that the skill books you can do together, you'll take the gray piece.
Looking around a bit source into the game, and I found one of these.

ITEM_MANAGER :: instance () RemoveItem (item).;
I deleted it, but took the books.
And I found the t-char_skill.cpp.
There are the texts may appear to be good or bad for learning.

Someone have any tips on how to abort a piece of the skill books?

Regards
dukaibalu1

Link to comment
Share on other sites

change

        if (true == LearnSkillByBook(dwVnum))
        {
            ITEM_MANAGER::instance().RemoveItem(item);
 
            int iReadDelay = number(SKILLBOOK_DELAY_MIN, SKILLBOOK_DELAY_MAX);
 
            if (distribution_test_server)
                iReadDelay /= 3;
 
            //Çѱ¹ º»¼·ÀÇ °æ¿ì¿¡´Â ½Ã°£À» 24½Ã°£ °íÁ¤
            if (LC_IsKorea())
                iReadDelay = 86400;
 
            SetSkillNextReadTime(dwVnum, get_global_time() + iReadDelay);
        }
    }
    break;

to

        if (true == LearnSkillByBook(dwVnum))
        {
            item->SetCount(item->GetCount()-1);
 
            int iReadDelay = number(SKILLBOOK_DELAY_MIN, SKILLBOOK_DELAY_MAX);
 
            if (distribution_test_server)
                iReadDelay /= 3;
 
            //Çѱ¹ º»¼·ÀÇ °æ¿ì¿¡´Â ½Ã°£À» 24½Ã°£ °íÁ¤
            if (LC_IsKorea())
                iReadDelay = 86400;
 
            SetSkillNextReadTime(dwVnum, get_global_time() + iReadDelay);
        }
    }
    break;
  • Love 1
Link to comment
Share on other sites

  • 3 weeks later...
  • 11 months later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.