Jump to content

Metin2 Source Facts


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

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.