unitlevels - not forced: bug? feature?

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
tsr
Posts: 790
Joined: May 24th, 2006, 1:05 pm

unitlevels - not forced: bug? feature?

Post by tsr »

Hi,

While developing a unit-line I noticed that I by accident created a lvl1 unit that advanced to another lvl1 unit.

This was easy to spot since it should have been a lvl0 unit (and hence not contribute xp), but it might be harder to spot a lvl1 unit that levels up to another lvl1 unit. (The problem is that the unit will be stronger but not give more xp to the opponent)

Should the wml-engine check this, or should it be humanly controlled?

/tsr
Darth Fool
Retired Developer
Posts: 2633
Joined: March 22nd, 2004, 11:22 pm
Location: An Earl's Roadstead

Post by Darth Fool »

It is purposefully left as human controled. The presumption is that the WML unit designer knows what he is doing, and that he might want to do exactly that.
scott
Posts: 5248
Joined: May 12th, 2004, 12:35 am
Location: San Pedro, CA

Post by scott »

You can have a L3 unit level into a L1 unit if you want. Or L300.
Hope springs eternal.
Wesnoth acronym guide.
joshudson
Posts: 501
Joined: January 17th, 2006, 8:04 pm
Contact:

Post by joshudson »

Reminds me of the L99 leader problem. *Shudder*
CHKDSK has repaired bad sectors in CHKDSK.EXE
Post Reply