Jump to content

XML editing - "Value" types


MuffinMan

Recommended Posts

Hi, in the XML files there are often a value="1,10" which is applied against something like tier="2,6" or something like that. Is it possible to have non linear ranges in the current XML?

 

ie It would be nice to apply a bell curve to the random attributes added to tools and other items. So rather than the whole range being equally possible both the higher and lower ends of it are less likely.

 

<passive_effect name="BlockDamage" operation="perc_add" value="-.15,.15" tags="turretMelee"/> <!-- random BlockDmg -->

 

Also is it possible to link the players level to the range, I have only seen "tier" used.

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...