Jump to content

Metin2 Source Facts


.InyaProduction

Recommended Posts

  • Former Staff

Soul Stone Drop

// ADD_GRANDMASTER_SKILL
// È¥¼® ¾ÆÀÌÅÛ µå·Ó
if (pkChr->GetLevel() >= 40 && pkChr->GetMobRank() >= MOB_RANK_BOSS && GetDropPerKillPct(/* minimum */ 1, /* default */ 1000, iDeltaPercent, "three_skill_item") / GetThreeSkillLevelAdjust(pkChr->GetLevel()) >= number(1, iRandRange))
{
const DWORD ITEM_VNUM = 50513;

if ((item = CreateItem(ITEM_VNUM, 1, 0, true)))
vec_item.push_back(item);
}
// END_OF_ADD_GRANDMASTER_SKILL
The thing i focus on is GetThreeSkillLevelAdjust. This function is following:

 

int GetThreeSkillLevelAdjust(int level)
{
	if (level < 40)
		return 32;
	if (level < 45)
		return 16;
	if (level < 50)
		return 8;
	if (level < 55)
		return 4;
	if (level < 60)
		return 2;
	return 1;
}
So you will only drop Soulstones from bosses if youre lvl 40 and above. All levels below 60 got much decreased chances of getting one

 

 


I will add more facts when i find them ;)

  • Love 6
Link to comment
Share on other sites

  • 3 months later...
  • Former Staff

Part from ACMD(do_block_chat):

 

if (ch && (ch->GetGMLevel() < GM_HIGH_WIZARD && ch->GetQuestFlag("chat_privilege.block") <= 0))
So if you give somebody the quest flag chat.privilege.block set over 1 he will be able to block others chat with block_chat (usefull for undercover GMs) :D
  • Love 3
Link to comment
Share on other sites

  • Premium

this is not very import but it's part of it anyway :D

 

the BLACKSMITH + BLACKSMITH2 RefineSet

 

char_item:

        case BLACKSMITH_MOB:
            if (item->GetRefinedVnum() && item->GetRefineSet() < 500)
            {
                return true;
            }
            else
            {
                return false;
            }

        case BLACKSMITH2_MOB:
            if (item->GetRefineSet() >= 500)
            {
                return true;
            }
            else
            {
                return false;
            }

If you're going to do something, then do it right.

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

      Metin2 2003 Beta Client!!!!!

    2. 32

      Boss Effect Over Head

    3. 0

      Open Source API for Metin2 Server Management - Early Development

    4. 0

      Official Item Combination [18.4]

    5. 2

      Proper SIGNAL management for Windows

    6. 2

      Proper SIGNAL management for Windows

    7. 4

      syserr erorr ( not working OK button on client )

    8. 2

      Proper SIGNAL management for Windows

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