PDA

View Full Version : Feature request for attribute "valuemap" in rulese



cogollo
April 27th, 2005, 22:13
Would it be possible in a future version to be able to add ranges for the attribute "valuemap"?

As far as I know, I have to add all the possible values of the source tag one by one. For d20 it is not much of a problem. For any system with d100 it is too much work :cry:

The result would be something like:
source name="strength" op="+" valuemap="0-9:0,10-19:1,20-29:2,30-39:3" />

From 0-9, I would get a result of 0; from 10-19 a result of 1,...