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.
Loot System Revamp Discussion
Moderator: Team Members
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: Loot System Revamp Discussion
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.
Thanks for the link John.
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: Loot System Revamp Discussion
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.
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.
Who is online
Users browsing this forum: No registered users and 0 guests