Thread:Jens Ingels/@comment-24416108-20141128155015/@comment-3271569-20141128201651

The code is actualy pretty simple. My version of the code was actualy pretty raw and is modified by the community a long time ago.

Copy the script is actualy a bad idea since your game will probaly use a different formule to calculate the final result. Can you show me a example where you want to use the script? What I also want to mention is that scripts are not supportive by the wikiamobile skin. This skin is used on default used on the mobile version, wikia app and when you call the skin wikiamobile. Example: http://age-of-wonders-3.wikia.com/wiki/Age_Of_Wonders_3_Wiki?useskin=wikiamobile

The script I designed actualy does some extra that you probaly don't have to code yourself since you can include it to the template. Since I didn't had acces to the templates. I code the tags to reffer to the content myself in order to get a quick acces to the data (//Def Classes ).

"//Prepare Functions" creates the functions & //Collect Data defines the data. If I need todo it again. I would probaly code it differently.