Healing and Curing
Moderator: Forum Moderators
Forum rules
Before posting a new idea, you must read the following:
Before posting a new idea, you must read the following:
Healing and Curing
I think curing and healing should be done as seperate abilities
it does make sense for them to be connected
but what if I want a unit that can heal poison but not heal damage
or even just heal damage a little bit
I feel the split would add greater flexibility in assigning unit abilities
any takers?
Corrected Subject to "Healing and Curing" --Irrevenant
it does make sense for them to be connected
but what if I want a unit that can heal poison but not heal damage
or even just heal damage a little bit
I feel the split would add greater flexibility in assigning unit abilities
any takers?
Corrected Subject to "Healing and Curing" --Irrevenant
Last edited by gabe on May 12th, 2007, 11:23 pm, edited 3 times in total.
Re: Healing and Poison
May I ask where the heck did you get the idea they are not separate abilities? Have you ever, you know, looked at how the abilities are defined and used?gabe wrote:I think poison and healing should be done as seperate abilities
it does make sense for them to be connected
-
- Posts: 211
- Joined: March 18th, 2007, 9:53 pm
- Location: Location, Location!
Yeah, why are those abilities squished together?
Wait... I think I see something...
I do! A comma! These are in fact 2 separate abilities!
The reason you tend to see these abilities used together is that they are most useful in conjunction.
Wait... I think I see something...
I do! A comma! These are in fact 2 separate abilities!
The reason you tend to see these abilities used together is that they are most useful in conjunction.
- Attachments
-
- Picture 1.png (18.65 KiB) Viewed 3702 times
Out with the old, in with the new.
Hi folks! Remember me? Please say no.
Hi folks! Remember me? Please say no.
-
- Posts: 188
- Joined: March 31st, 2007, 3:53 pm
- Location: The Void, usually.
Penguin, he's referring to the process of giving a unit "heals +8" and/or "cures" via WML. Though I haven't looked at it myself, I've heard you can't do one or the other, as they're one ability.
Chosen to be: Avatar of the God of Vengeance
Duty-bound to be: Last chance for the oppressed non-humans of the world
Accidentally became: Co-founder of the Council of Linac Mux
Self-nominated (pending election): Forum SUPERMOD!
Duty-bound to be: Last chance for the oppressed non-humans of the world
Accidentally became: Co-founder of the Council of Linac Mux
Self-nominated (pending election): Forum SUPERMOD!
He's wrong. They're separate.
They used to be inseparable (and may be in the version gabe is using), but not any more.
They used to be inseparable (and may be in the version gabe is using), but not any more.
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
And I hate stupid people.
The World of Orbivm
I have them working seperate by writting custom versions
it is doable fairly easily
thats why I asked
it is doable fairly easily
Code: Select all
#define HEALS
[heals]
value=4
id=healing
affect_allies=yes
name= _ "heals +4"
description= _ "Heals +4: Allows the unit to heal adjacent friendly units at the beginning of each turn.A unit cared for by this healer may heal up to 4 HP per turn, and have poison slowed from taking effect for that turn. A poisoned unit cannot be cured of its poison by a healer, and must seek the care of a village or a unit that can cure."
affect_self=no
poison=slowed
[affect_adjacent]
adjacent=n,ne,se,s,sw,nw
[/affect_adjacent]
[/heals]
#enddef
#define BIG_HEAL
[heals]
value=8
id=healing
affect_allies=yes
name= _ "heals +8"
description= _ "Heals +8:Allows the unit to heal adjacent friendly units at the beginning of each turn. A unit cared for by this healer may heal up to 8 HP per turn, and have poison slowed from taking effect for that turn. A poisoned unit cannot be cured of its poison by a healer, and must seek the care of a village or a unit that can cure."
affect_self=no
poison=slowed
[affect_adjacent]
adjacent=n,ne,se,s,sw,nw
[/affect_adjacent]
[/heals]
#enddef
#define CURES
[heals]
affect_allies=yes
id=curing
name= _ "cures"
description= _ "Cures: A curer can cure a unit of poison."
affect_self=no
poison=cured
[affect_adjacent]
adjacent=n,ne,se,s,sw,nw
[/affect_adjacent]
[/heals]
#enddef
- irrevenant
- Moderator Emeritus
- Posts: 3692
- Joined: August 15th, 2005, 7:57 am
- Location: I'm all around you.
Gabe, can you please clarify your concern?
"Cures" and "Heals" are certainly separate abilities from the player perspective. Are you referring to something re: use of WML?
"Cures" and "Heals" are certainly separate abilities from the player perspective. Are you referring to something re: use of WML?
Want to post a Wesnoth idea? Great! Read these:
Frequently Posted Ideas Thread
Giving your idea the best chance of acceptance
Frequently Posted Ideas Thread
Giving your idea the best chance of acceptance
while from a players perspective they are seperate abilities they are granted by the edit: macros "ABILITY_HEALS" and "ABILITY_CURES"irrevenant wrote: "Cures" and "Heals" are certainly separate abilities from the player perspective. Are you referring to something re: use of WML?
where "ABILITY_HEALS" is heals+4
and "ABILITY_CURES" is heals +8 and cures as shown in Darn Penguins post
my idea is to make so that 'heals +8' and 'cures' are granted with seperate edit: macros
as the default stand right now 'heals +8' and 'cures' are granted through the same edit: macro
my idea was to make them granted seperatly as illustrated in the code I posted
this is mainly a concern for people designing units for any reason
as I could see someone who has no wml knowledge wanting a default macro to give only the ability to cure poison or heal+8
this would be something extremely easy to include in the new version of Wesnoth
the abilities all ready display as seperate abilities to the user
so there would be no confusion
with my idea to give the White Mage his current powers in his abilities tag there would be a "ABILITY_BIG_HEAL" (or something like that) and "ABILITY_CURES" instead of "ABILITY_CURES"
this would make it easier to have a unit that can only cure poison and not heal at all
or a unit that is good at healing but can not cure poison
in the code I posted the healing abilities only slow poison and the cure ability only cures poison and provides no healing
as it stands now the abilities are intrinsically(sic) linked
my idea was to make them seperate
Last edited by gabe on May 12th, 2007, 10:41 am, edited 3 times in total.
Those aren't abilities, they're macros. You know this, but your argument seems to show that you're still not really thinking that way. It should be trivial for an UMC author to do the separation you desire in their UMC, so there's no real need to do that in mainline as mainline doesn't need the separation.gabe wrote:while from a players perspective they are seperate abilities they are granted by the abilities "ABILITY_HEALS" and "ABILITY_CURES"
Someone who has no WML knowledge shouldn't be writing unit WML in the first place.gabe wrote:this is mainly a concern for people designing units for any reason
as I could see someone who has no wml knowledge wanting a default macro to give only the ability to cure poison or heal+8
Yes. If people really want this it would be easy to do and it doesn't seem to have any particular drawbacks when compared to the way the macros now work. Currently I don't really see the need for the change though.gabe wrote:this would be something extremely easy to include in the new version of Wesnoth
- irrevenant
- Moderator Emeritus
- Posts: 3692
- Joined: August 15th, 2005, 7:57 am
- Location: I'm all around you.
Given that mainline handles the abilities that way from a player perspective, wouldn't it make sense to organise the macros like that too?zookeeper wrote:Those aren't abilities, they're macros. You know this, but your argument seems to show that you're still not really thinking that way. It should be trivial for an UMC author to do the separation you desire in their UMC, so there's no real need to do that in mainline as mainline doesn't need the separation.gabe wrote:while from a players perspective they are seperate abilities they are granted by the abilities "ABILITY_HEALS" and "ABILITY_CURES"
Gabe's not asking for a new ability or anything, he's just requesting that the WML functions be organised to reflect the way that the abilities are actually used in mainline.
I think that's part of the point. Since the abilities exist and are handled flexibly in game, it should just be a matter of a unit designer being able to call the correct macro rather than having to write new code.zookeeper wrote:Someone who has no WML knowledge shouldn't be writing unit WML in the first place.
Want to post a Wesnoth idea? Great! Read these:
Frequently Posted Ideas Thread
Giving your idea the best chance of acceptance
Frequently Posted Ideas Thread
Giving your idea the best chance of acceptance
-
- Posts: 319
- Joined: February 22nd, 2006, 1:10 pm
I think healing and yuring used to be like:
healing: heals 4 hp to units near you, maximum healing per turn 10... no poison cured
cure: heals 8 hp to units nera you, maximum 18? also heals poison.
Now it is:
healing+x: heals x hp on units near you, no poison cured, but stops loss of hp due to poison instead of healing.
cure: removes poison.
Help is not updated so far...
healing: heals 4 hp to units near you, maximum healing per turn 10... no poison cured
cure: heals 8 hp to units nera you, maximum 18? also heals poison.
Now it is:
healing+x: heals x hp on units near you, no poison cured, but stops loss of hp due to poison instead of healing.
cure: removes poison.
Help is not updated so far...
here are the mainline macros for heals +4 and heals +8 cures
curing is done through the same wml tag as healing
the tag is the heals tag
the curing macro has two heals tags so the abilities can have seperate descriptions
it would be easy to make heals +4 have poison curing
all that needs to be done is to set poison=cured
that is how healing and curing currently work in the game
Code: Select all
#define ABILITY_HEALS
[heals]
value=4
id=healing
affect_allies=yes
name= _ "heals +4"
description= _ "Heals +4:
Allows the unit to heal adjacent friendly units at the beginning of each turn.
A unit cared for by this healer may heal up to 4 HP per turn, or stop poison from taking effect for that turn.
A poisoned unit cannot be cured of its poison by a healer, and must seek the care of a village or a unit that can cure."
affect_self=no
poison=slowed
[affect_adjacent]
adjacent=n,ne,se,s,sw,nw
[/affect_adjacent]
[/heals]
#enddef
#define ABILITY_CURES
[heals]
value=8
id=healing
affect_allies=yes
name= _ "heals +8"
description= _ "Heals +8:
This unit combines herbal remedies with magic to heal units more quickly than is normally possible on the battlefield.
A unit cared for by this healer may heal up to 8 HP per turn, or stop poison from taking effect for that turn.
A poisoned unit cannot be cured of its poison by a healer, and must seek the care of a village or a unit that can cure."
affect_self=no
poison=slowed
[affect_adjacent]
adjacent=n,ne,se,s,sw,nw
[/affect_adjacent]
[/heals]
[heals]
affect_allies=yes
id=curing
name= _ "cures"
description= _ "Cures:
A curer can cure a unit of poison, although that unit will receive no additional healing on the turn it is cured of the poison."
affect_self=no
poison=cured
[affect_adjacent]
adjacent=n,ne,se,s,sw,nw
[/affect_adjacent]
[/heals]
#enddef
the tag is the heals tag
the curing macro has two heals tags so the abilities can have seperate descriptions
it would be easy to make heals +4 have poison curing
all that needs to be done is to set poison=cured
that is how healing and curing currently work in the game
happy timezone traveler