unit_worth: meaning & formula

The place to post your WML questions and answers.

Moderator: Forum Moderators

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
Posts: 184
Joined: March 14th, 2013, 12:26 am

unit_worth: meaning & formula

Post by denispir »

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
Posts: 1767
Joined: August 3rd, 2012, 11:26 pm
Location: Canada

Re: unit_worth: meaning & formula

Post by Celtic_Minstrel »

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