Jump to content

Pointers for adding/changing "Bonus Stat Range" to modify the the stats by a percentage, respective to their base value?


Vaiku

Recommended Posts

Looking for pointers as to where i'd start messing w/ the source to adjust how the bonus stat range is applied. I want to make it a percentage of each stat's base value on the item..

 

for example: a weapon with 100 attack and 30 speed - I would like to randomize the roll by +-20%, so that the possible outcomes are 80-120 attack, and 24-36 speed.

 

 

Link to comment
Share on other sites

That's the thing. I've tried modifying everywhere I see random being used to iterate.. mapinstance for drops (i think), then player.cs where the stats are tallied up from equipment, no luck.  

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...