unit_worth: meaning & formula

The place to post your WML questions and answers.

Moderators: Forum Moderators, Developers

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
denispir
Posts: 184
Joined: March 14th, 2013, 12:26 am

unit_worth: meaning & formula

Post by denispir » December 4th, 2019, 9:42 am

I just discovered [unit_worth], see here. It stores in WML variables unit cost, next-cost (most costly advancement), health, xp %, and an enigmatic "unit_worth". What is its meaning and formula?
Thank you!

User avatar
Celtic_Minstrel
Developer
Posts: 1568
Joined: August 3rd, 2012, 11:26 pm
Location: Canada
Contact:

Re: unit_worth: meaning & formula

Post by Celtic_Minstrel » December 6th, 2019, 1:08 am

Well, regarding the formula, just look at the code.
Author of The Black Cross of Aleron campaign and Default++ era.
Maintainer of Steelhive.

Post Reply