PDA

View Full Version : In windowlist, how



stany
July 5th, 2017, 10:19
Hi all,
thank you for reading my question :
In a windowlist how to retrieve values ​​from another window.
in window list, I try to calculate "
window.total.setValue(window.bonus.getValue() + DB.getValue(window.getDatabaseNode(), "strength.value",0) );
window.bonus.value is found but impossible to retrieve "DB.getValue(window.getDatabaseNode(), "strength.value",0) " (strength.Value is in reccord_char_main.xml)
Can you help me ?

Andraax
July 5th, 2017, 13:59
Might want to try "strength.value"

stany
July 5th, 2017, 14:02
I verified, it's not a string error.

Andraax
July 5th, 2017, 14:17
"abilities.strength.score" in the C&C ruleset. Try "abilities.strength.value" maybe? Have you looked at the actual DB to see how it's stored?