Tutorial S2: When a second Shaman is recruited, say that the healing doesn't stack

This commit is contained in:
Steve Cotton 2019-10-01 21:53:43 +02:00 committed by nemaara
parent 0d6ba9ec9b
commit 22c7678322

View file

@ -314,26 +314,81 @@
speaker=narrator
image=$unit.profile
caption= _ "Elvish Shaman"
message= _ "The Shaman is a fairly weak unit, but she has the ability to <i>heal</i> friendly units around her. She also has a special attack which <i>slows</i> enemies, halving the damage they do for one turn."
message= _ "The Shaman has the ability to <i>heal</i> friendly units around her. She also has a special attack which <i>slows</i> enemies, halving the damage they do for one turn. However, shes physically weaker than fighters and archers, so be careful when sending her into battle."
[/message]
[message]
speaker=narrator
caption= _ "Abilities and Weapon Specials"
caption= _ "The <i>Heal</i> Ability"
image=wesnoth-icon.png
message= _ "Certain unit types have special <i>abilities</i>. Unlike traits, which usually provide small buffs or debuffs, abilities give units special behaviors that normal units do not have. In this case, the Elvish Shaman has the Heal ability, which allows her to heal allied adjacent units 4 hitpoints at the start of each turn. Unit types with abilities, especially ones like Heal, can be very useful, so be careful when sending them into battle."
message= _ "At the start of each turn, allied units adjacent to a Shaman will recover 4 hitpoints, which is only half of the amount that a village would provide. The Shaman doesnt gain experience from healing, only from combat, but advancing her is worthwhile — her second-level Elvish Druid advancement has healing equivalent to a village.
A detailed explanation of healing may be found in the <i>Gameplay</i> section of the help (default hotkey: <b>F1</b>)."
[/message]
[message]
speaker=narrator
caption= _ "Abilities and Weapon Specials"
caption= _ "Weapon Specials"
image=wesnoth-icon.png
message= _ "Weapon specials are special attack modifiers that make certain attacks more powerful. Once again, in this case, the Shaman has the Slows special on her entangle attack. When this attack is used on an enemy, it will halve the damage they do for one turn. Other weapon specials include First Strike, which allows that attack to always hit first no matter who attacks first, and Magical, which gives that attack a constant 70% chance to hit.
message= _ "Weapon specials are special attack modifiers that make certain attacks more powerful. In this case, the Shaman has the Slows special on her entangle attack. When this attack successfully hits an enemy, it will halve the damage they do for one turn. Other weapon specials include First Strike, which allows that attack to always hit first no matter who attacks first, and Magical, which gives that attack a constant 70% chance to hit.
A full list of abilities and weapons specials, along with traits, may be found in the help (default hotkey: <b>F1</b>)."
[/message]
[/event]
# Triggers the first time that the player has two healers.
# If there are allied sides then this isn't accurate, but at this stage of the tutorial allied sides haven't been introduced yet.
[event]
name=recruit
[filter]
side=1
type=Elvish Shaman
[/filter]
[filter_condition]
[have_unit]
ability_type=heals
count=2
[/have_unit]
[/filter_condition]
[if]
[have_unit]
type=Elvish Shaman
count=2
[/have_unit]
[then]
[message]
speaker=narrator
image=$unit.profile
caption= _ "Multiple Healers"
# po: both healers are level one elvish shamans
message= _ "You now have two healers. However, each unit can only receive healing from one healer — a unit will still only be healed 4 hitpoints per turn even when adjacent to both Shamans.
If either Shaman advances to become a Druid, then shell be able to heal adjacent units by 8 hitpoints per turn. A unit next to multiple healers is healed by the most advanced one."
[/message]
[/then]
[else]
[message]
speaker=narrator
image=$unit.profile
caption= _ "Multiple Healers"
# po: one healer is a level one shaman, but the other healer is a druid or (very unlikely) a shyde
message= _ "You now have two healers. Your Druid can heal adjacent units by 8 hitpoints per turn compared to your Shaman's 4. However, each unit can only receive healing from one healer — a unit next to multiple healers is healed by the most advanced one."
[/message]
[/else]
[/if]
[message]
speaker=narrator
image=$unit.profile
caption= _ "Healers and Villages"
message= _ "A unit in a village will receive healing from the village instead of from adjacent healers."
[/message]
[message]
speaker=Galdrad
message= _ "Having more than one healer allows them to heal each other or to cover separate areas of the battlefield. It can also allow better tactical movement — the 2 hitpoints from rest-healing does combine with other sources of healing, so its often better to move a healer instead of an injured unit."
[/message]
[/event]
# Explaining the Archer
[event]
name=recruit
@ -829,7 +884,11 @@ Please report the bug."
name=check_income
[/fire_event]
{TALK_ABOUT_LOC 16,9 ( _ "Remember to retreat your wounded units to villages. Healers can only heal 4 hitpoints at a time, while villages can heal 8 (the maximum healing for any unit).")}
{TALK_ABOUT_LOC 16,9 ( _ "Remember to retreat your wounded units to villages. Shamans can only heal 4 hitpoints per turn, while villages can heal them faster at 8 per turn.
Different sources of healing are generally not combined. If a unit starts its turn next to multiple healers, or on a village and next to a healer, it will still be healed only once.
Rest-healing is an exception to the rule — if a unit doesnt do anything for a turn, it will heal 2 hitpoints in addition to any healing it may receive from villages or healers, combining for a total of up to 10 hitpoints per turn.")}
[/event]
[event]