Is it possible to gain experiences by healing/leading?

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.

Is it possible to gain experiences by healing/leading?

Postby wuxiangjinxing » November 16th, 2017, 8:18 pm

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


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

Postby Poison » November 17th, 2017, 2:27 am

What will happen if a unit applies leadership to 5 other units in one turn, will he get 5 xp or ... ? :hmm:
User avatar
Poison
 
Posts: 87
Joined: August 13th, 2017, 4:54 pm

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

Postby The_Gnat » November 17th, 2017, 7:25 am

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
The_Gnat
 
Posts: 1382
Joined: October 10th, 2016, 3:06 am

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

Postby Pentarctagon » November 17th, 2017, 7:27 am

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
Pentarctagon
Forum Administrator
 
Posts: 3065
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

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

Postby The_Gnat » November 17th, 2017, 7:46 am

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
The_Gnat
 
Posts: 1382
Joined: October 10th, 2016, 3:06 am

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

Postby beetlenaut » November 17th, 2017, 4:26 pm

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
User avatar
beetlenaut
Developer
 
Posts: 2090
Joined: December 8th, 2007, 3:21 am
Location: Washington State

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

Postby The_Gnat » November 17th, 2017, 7:27 pm

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
The_Gnat
 
Posts: 1382
Joined: October 10th, 2016, 3:06 am

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

Postby tr0ll » November 19th, 2017, 7:57 pm

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.
User avatar
tr0ll
 
Posts: 492
Joined: June 11th, 2006, 8:13 pm
Location: canada


Return to WML Workshop

Who is online

Users browsing this forum: Google [Bot] and 3 guests