04-06-2021, 11:50 AM
how can i modify the refinement rate
|
Upgrade Rates june font
|
|
04-06-2021, 11:50 AM
how can i modify the refinement rate
04-06-2021, 04:33 PM
local/us/font*language*.tex convert to png by textool, use any photoshop gl
04-06-2021, 08:29 PM
where can i edit Upgrade Rates ?
04-06-2021, 09:32 PM
1 hour ago, netoforlan2 said: where can i edit Upgrade Rates ? dofuncitem.cpp
04-07-2021, 07:48 PM
which line can I edit in dofuncitem.cpp ?
04-07-2021, 07:59 PM
below this line else if (reItem->m_itemProto->getItemNum0() == IETC_UPGRADE_SPECIAL)
04-08-2021, 12:12 PM
I'm trying to change the refinement rates using hs to 70%, I'm not getting
04-08-2021, 01:09 PM
else if (reItem->m_itemProto->getItemNum0() == IETC_UPGRADE_SPECIAL) { int prob = GetRandom(1, 100); if(prob > 0 && prob <= 70) { result = ITEM_UPGRADE_RESULT_PLUS; } else if(prob > 70 && prob <= 80) { int rand = GetRandom(1, 2); switch(rand) { case 1: result = ITEM_UPGRADE_RESULT_MINUS; break; case 2: result = ITEM_UPGRADE_RESULT_BROKEN; break; } } else { result = ITEM_UPGRADE_RESULT_NOCHANGE; } } 70% success rate, 20% nochange, 10% broken/decrease
04-24-2021, 02:23 AM
On 4/8/2021 at 10:09 AM, Desarija said: else if (reItem->m_itemProto->getItemNum0() == IETC_UPGRADE_SPECIAL) { int prob = GetRandom(1, 100); if(prob > 0 && prob <= 70) { result = ITEM_UPGRADE_RESULT_PLUS; } else if(prob > 70 && prob <= 80) { int rand = GetRandom(1, 2); switch(rand) { case 1: result = ITEM_UPGRADE_RESULT_MINUS; break; case 2: result = ITEM_UPGRADE_RESULT_BROKEN; break; } } else { result = ITEM_UPGRADE_RESULT_NOCHANGE; } } 70% success rate, 20% nochange, 10% broken/decrease You can send me this same code 100% sucess update? I no understand how you defined the 10% break rate, sory you can help me?
04-24-2021, 01:35 PM
11 hours ago, netoforlan2 said: You can send me this same code 100% sucess update? I no understand how you defined the 10% break rate, sory you can help me? GetRandom(1, 100); edit to - GetRandom(1, 70); |
|
« Next Oldest | Next Newest »
|