gummyantifi 2 Posted December 22, 2015 Share Posted December 22, 2015 Hello everyone, Where can I find a 10% chance for the guild blacksmith? and where can I find the prices of multiplication guild blacksmith. I'd like to modify. Thank you all for your help Link to comment Share on other sites More sharing options...
Honorable Member xP3NG3Rx 19656 Posted December 22, 2015 Honorable Member Share Posted December 22, 2015 (edited) You can find in char_item.cpp under this line: if (IsRefineThroughGuild() || bMoneyOnly) And in char.cpp: int CHARACTER::ComputeRefineFee(int iCost, int iMultiply) const { CGuild* pGuild = GetRefineGuild(); if (pGuild) { if (pGuild == GetGuild()) return iCost * iMultiply * 9 / 10; // ´Ů¸Ą Á¦±ą »ç¶÷ŔĚ ˝ĂµµÇĎ´Â °ćżě Ăß°ˇ·Î 3ąč ´ő LPCHARACTER chRefineNPC = CHARACTER_MANAGER::instance().Find(m_dwRefineNPCVID); if (chRefineNPC && chRefineNPC->GetEmpire() != GetEmpire()) return iCost * iMultiply * 3; return iCost * iMultiply; } else return iCost; } Edited December 22, 2015 by xP3NG3Rx damn code tag -_- 1 Link to comment Share on other sites More sharing options...
gummyantifi 2 Posted December 22, 2015 Author Share Posted December 22, 2015 Thank you 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