RcDragon Posted February 5, 2018 at 01:49 PM Share Posted February 5, 2018 at 01:49 PM Boas ppl, Alguém sabe como se altera o drop das pedras-espíritas? pensei que fosse na source, no entanto ainda continuo a dropa-las... O que eu fiz, foi apagar isto na source: Spoiler void CHARACTER::DetermineDropMetinStone() { const int METIN_STONE_NUM = 14; static DWORD c_adwMetin[METIN_STONE_NUM] = { 28030, 28031, 28032, 28033, 28034, 28035, 28036, 28037, 28038, 28039, 28040, 28041, 28042, 28043, }; DWORD stone_num = GetRaceNum(); int idx = std::lower_bound(aStoneDrop, aStoneDrop+STONE_INFO_MAX_NUM, stone_num) - aStoneDrop; if (idx >= STONE_INFO_MAX_NUM || aStoneDrop[idx].dwMobVnum != stone_num) { m_dwDropMetinStone = 0; } else { const SStoneDropInfo & info = aStoneDrop[idx]; m_bDropMetinStonePct = info.iDropPct; { m_dwDropMetinStone = c_adwMetin[number(0, METIN_STONE_NUM - 1)]; int iGradePct = number(1, 100); for (int iStoneLevel = 0; iStoneLevel < STONE_LEVEL_MAX_NUM; iStoneLevel ++) { int iLevelGradePortion = info.iLevelPct[iStoneLevel]; if (iGradePct <= iLevelGradePortion) { break; } else { iGradePct -= iLevelGradePortion; m_dwDropMetinStone += 100; // 돌 +a -> +(a+1)이 될때마다 100씩 증가 } } } } } Link to comment Share on other sites More sharing options...
WLN Posted February 5, 2018 at 03:27 PM Share Posted February 5, 2018 at 03:27 PM não tenho certeza mas creio que pedras espirituais em metins são no mob_drop_item.txt, creio que apagar isto seria para não dropar joias das metins Link to comment Share on other sites More sharing options...
RcDragon Posted February 6, 2018 at 01:53 AM Author Share Posted February 6, 2018 at 01:53 AM 10 horas atrás, wery disse: não tenho certeza mas creio que pedras espirituais em metins são no mob_drop_item.txt, creio que apagar isto seria para não dropar joias das metins No meu mob_drop_item nao tem nada eu apaguei os drops das metins e recriei-os. etc_drop_item, common_drop_item e etc estão todos vazios. só resta a source... :/ Link to comment Share on other sites More sharing options...
[Admin] tierrilopes Posted February 6, 2018 at 01:59 AM Share Posted February 6, 2018 at 01:59 AM Ao invés de apagar, após: void CHARACTER::DetermineDropMetinStone() { Adiciona: m_dwDropMetinStone = 0; return; Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now