xp/hp modifications

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
Free
Posts: 82
Joined: October 30th, 2005, 1:51 am

xp/hp modifications

Post by Free » June 13th, 2006, 9:54 pm

Okay so if you were going to change the hp or xp of a unit, wouldn't you do it like this:
[unit]
type=Orcish Assassin
description=Erogdush
side=2
x=31
y=6
hp=9
xp=16
[modifications]
{TRAIT_QUICK}
{TRAIT_RESILIENT}
[/modifications]
[/unit]

Because apparently that doesn't work. A small problem, I'm sure I'll figure out why this doesn't effect it eventually, but I just thought I'd ask the experts.

User avatar
Elvish_Pillager
Posts: 8129
Joined: May 28th, 2004, 10:21 am
Location: Everywhere you think, nowhere you can possibly imagine.
Contact:

Post by Elvish_Pillager » June 13th, 2006, 10:10 pm

hitpoints=9
experience=16
It's all fun and games until someone loses a lawsuit. Oh, and by the way, sending me private messages won't work. :/ If you must contact me, there's an e-mail address listed on the website in my profile.

User avatar
turin
Lord of the East
Posts: 11662
Joined: January 11th, 2004, 7:17 pm
Location: Texas
Contact:

Post by turin » June 13th, 2006, 10:29 pm

I didn't know that worked... sweet!
For I am Turin Turambar - Master of Doom, by doom mastered. On permanent Wesbreak. Will not respond to private messages. Sorry!
And I hate stupid people.
The World of Orbivm

Free
Posts: 82
Joined: October 30th, 2005, 1:51 am

Post by Free » June 14th, 2006, 7:11 am

Ah, yes. Thank you very much.

Post Reply