Page 3 of 3

Re: Loot System Revamp Discussion

Posted: Sat Apr 19, 2014 3:14 pm
by Jabantiz
Ok, I went ahead and committed it.

EDIT: After reading that link completely, and not stopping at the problem, I might change the code to use insert vs copy if it is indeed faster, going to do some more research on it.

Re: Loot System Revamp Discussion

Posted: Sat Apr 19, 2014 4:30 pm
by Jabantiz
After doing some more research I replaced the copy()'s with vec.insert()'s as it is suppose to be more efficient, also allows for the removal of the 2 includes needed in order to use copy(). Code is on dev svn.

Thanks for the link John.

Re: Loot System Revamp Discussion

Posted: Fri Aug 30, 2019 10:56 pm
by Jabantiz
Changes have been made to racial and level global loot to take an optional level range now.

For racial if value2 = min level and value3 = max level, if both are set to 0 there is no level requirement.

For level value1 = min level and value2 = max level, can still set it to a single level by only setting value1 like before.