Former Staff .InyaProduction 1124 Posted December 15, 2014 Former Staff Share Posted December 15, 2014 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_SKILLThe 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 6 Link to comment Share on other sites More sharing options...
Former Staff .InyaProduction 1124 Posted April 1, 2015 Author Former Staff Share Posted April 1, 2015 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) 3 Link to comment Share on other sites More sharing options...
Premium MrLibya 554 Posted April 1, 2015 Premium Share Posted April 1, 2015 this is not very import but it's part of it anyway 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 More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now