The code you have there seems to read an XML element's text and converts it into a decimal number for the game to process. It doesn't change the value at all, so you should be fine to just edit the XMLs.Hey, can anyone give an idiot's guide for changing "ChanceForMaleOffspring"? Editing the res/race XML, etc., is easy enough, but when I look at the git files or try using ReCAF, I can't find any simple values to change; I only see what looks like ungodly heresy to my uneducated mind.
--> "this.chanceForMaleOffspring = Float.valueOf(coreElement.getMandatoryFirstOf("chanceForMaleOffspring").getTextContent" <-- tf is this? can I even change it for what I am trying to do?
The xml entry doesn't seem to be present in each race's race.xml though, but I'd guess that adding it when it's not present should be fine.