Is it possible to gain experiences by healing/leading?

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
wuxiangjinxing
Posts: 60
Joined: December 23rd, 2008, 5:01 am

Is it possible to gain experiences by healing/leading?

Post by wuxiangjinxing »

In survival maps (such as WCII) it's pretty hard for those healers and leaders to gain any XP because we have to leave them behind our frontline units to maximize their power. So is it possible to give them, for example, one XP whenever they help their allies?
User avatar
The_Gnat
Posts: 2215
Joined: October 10th, 2016, 3:06 am
Contact:

Re: Is it possible to gain experiences by healing/leading?

Post by The_Gnat »

That is a really good idea :)
User avatar
Poison
Posts: 171
Joined: August 13th, 2017, 4:54 pm

Re: Is it possible to gain experiences by healing/leading?

Post by Poison »

What will happen if a unit applies leadership to 5 other units in one turn, will he get 5 xp or ... ? :hmm:
User avatar
The_Gnat
Posts: 2215
Joined: October 10th, 2016, 3:06 am
Contact:

Re: Is it possible to gain experiences by healing/leading?

Post by The_Gnat »

No it should not be dependent on the level or you reward high level units too much. It should just be 1 or 2xp per unit leadershipped or healed.
User avatar
Pentarctagon
Project Manager
Posts: 5533
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Is it possible to gain experiences by healing/leading?

Post by Pentarctagon »

Guys, he's asking if it's possible to do this, not what a good implementation is or how to balance it :roll:
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
User avatar
The_Gnat
Posts: 2215
Joined: October 10th, 2016, 3:06 am
Contact:

Re: Is it possible to gain experiences by healing/leading?

Post by The_Gnat »

Pentarctagon wrote:Guys, he's asking if it's possible to do this, not what a good implementation is or how to balance it :roll:
Okay, thanks for explaining. :)
wuxiangjinxing wrote:In survival maps (such as WCII) it's pretty hard for those healers and leaders to gain any XP because we have to leave them behind our frontline units to maximize their power. So is it possible to give them, for example, one XP whenever they help their allies?
No in wesnoth no units gain xp for healing or leading or any other specialties. Though, I wonder if it could be created.... I don't think that there are any "on heal" events... but perhaps this could be done for leadership - by filtering for adjacent leadership units on any attacks, and giving those leadership units xp.

Similarily you could assume that any unit standing next to a friendly unit with healing ability (at the start of a turn) will be healed. (a filter for not counting units standing on villages could be added) and then you could give that healer xp.

This could be done if there is a way to check the adjacent units abilities (such as healing or leadership). Is this possible using the [filter_wm] or the [variable] tags (in a [if] statement or [event])?
User avatar
beetlenaut
Developer
Posts: 2814
Joined: December 8th, 2007, 3:21 am
Location: Washington State
Contact:

Re: Is it possible to gain experiences by healing/leading?

Post by beetlenaut »

The_Gnat wrote:This could be done if there is a way to check the adjacent units abilities (such as healing or leadership). Is this possible...?
The standard unit filter has both "ability" and "ability_type", so, yes.
The_Gnat wrote:That is a really good idea :)
It's also a frequently proposed idea that has been rejected (for mainline) multiple times by the developers.
Campaigns: Dead Water,
The Founding of Borstep,
Secrets of the Ancients,
and WML Guide
User avatar
The_Gnat
Posts: 2215
Joined: October 10th, 2016, 3:06 am
Contact:

Re: Is it possible to gain experiences by healing/leading?

Post by The_Gnat »

beetlenaut wrote:frequently proposed idea that has been rejected (for mainline) multiple times by the developers.
Thank you for linking that, I agree with the reasons stated in the link
User avatar
tr0ll
Posts: 551
Joined: June 11th, 2006, 8:13 pm
Location: canada

Re: Is it possible to gain experiences by healing/leading?

Post by tr0ll »

What if there were two promotion tracks created for leading/healing units, depending on which sort of experience they accumulated. Elvish shamans, for example, would automatically go to the Druid advancement if they mostly healed. The Druid could have its combat abilities slightly reduced as well because it has less field experience in those areas.
Post Reply