Hi,
I have added some stats which are valid only for an expansion. So I call initStat for them only when the expansion is On. The result is when the expansion is Off, these stats are displayed with a NaN value, which looks buggy (many player won't know it means Not a Number and even knowing this most will think it is a bug). Is there a way to have then displayed with -, or some other character that would mean they are not valid?
An alternative way would be to hide them, but that doesn't seem possible.
I have added some stats which are valid only for an expansion. So I call initStat for them only when the expansion is On. The result is when the expansion is Off, these stats are displayed with a NaN value, which looks buggy (many player won't know it means Not a Number and even knowing this most will think it is a bug). Is there a way to have then displayed with -, or some other character that would mean they are not valid?
An alternative way would be to hide them, but that doesn't seem possible.