PDA

Просмотр полной версии : Improve randomization for loot item.


newsbot
01.06.2016, 13:17
Автор: cyberium


<pre style='white-space:pre-wrap;width:81ex'>Improve randomization for loot item.

For explicitly chanced items list in DB, we started before always from first element, to last, so first element, even if it had less chance than last element have thus lot of more chance to be picked than last one.

So here we shuffle the list before process it.</pre>


Подробнее... (https://github.com/cmangos/mangos-wotlk/commit/791b1104b1ea2f0d3a15dfcbb7a3c252c41c5f73)