fheroes2 icon indicating copy to clipboard operation
fheroes2 copied to clipboard

Combat, Surrender with only creatures resurrected with the resurrect spell (not resurrect true)

Open LeHerosInconnu opened this issue 6 months ago • 0 comments

Preliminary checks

Describe the problem requiring a solution

During combat, the player should be informed that a troop is made up, in whole or in part, of creatures resurrected with the resurrect spell, and that they will disappear at the end of the combat. This can be indicated in the creature information window by putting in brackets behind the number of creatures the number of creatures actually retained at the end of the combat. In the example: "1 (0)", "(0)" indicating 0 creatures retained, as they are only temporarily present due to the resurrect spell. Image is for explanation only.

2024-08-22 12-43-47 avec zéro 01

In this case, when the hero wishes to surrender in a combat situation on open ground, the text should be adapted as follows:

"Myra states: "It wouldn't be honest for me to ask you gold for troops you wouldn't keep, but I can accept to let you escape." "

Instead of:

"Myra states: "I will accept your surrender and grant you and your troops safe passage for the price of 1 gold." "

2024-08-22 12-43-47 02

In this case, when the defending hero wishes to surrender during a siege (as the hero cannot flee during a siege), the text should be adapted as follows:

"Myra states: "I will accept your surrender and grant you safe passage for the price of 1 symbolic gold." "

Instead of:

"Myra states: "I will accept your surrender and grant you and your troops safe passage for the price of 1 gold." "

Also, in the case of a surrender with only resurrected creatures, the hero should appear in the tavern with standard creatures, not just one level 1 creature.

In fheroes2:

2024-08-22 12-43-47 03

https://github.com/user-attachments/assets/97bcaa4c-4bec-4854-80cb-a1e73b9bff02

Describe the possible solution

  • Add in brackets behind the number of creatures the real number of creatures retained at the end of combat for troops containing creatures resurrected with the resurrect spell.

  • Change texts depending on the situation.

  1. In this case, when the hero wishes to surrender in a combat situation on open ground, the text should be adapted as follows:

"Myra states: "It wouldn't be honest for me to ask you gold for troops you wouldn't keep, but I can accept to let you escape." "

Instead of:

"Myra states: "I will accept your surrender and grant you and your troops safe passage for the price of 1 gold." "

If the player clicks on the "ACCEPT" button, the hero escapes without paying gold.

  1. In this case, when the defending hero wishes to surrender during a siege (as the hero cannot flee during a siege), the text should be adapted as follows:

"Myra states: "I will accept your surrender and grant you safe passage for the price of 1 symbolic gold." "

Instead of:

"Myra states: "I will accept your surrender and grant you and your troops safe passage for the price of 1 gold." "

If the player clicks on the "ACCEPT" button, the hero escapes, paying 1 gold.

  1. In the case of a surrender with only resurrected creatures, the hero should appear in the tavern with standard creatures, not just one level 1 creature.

Additional info

No response

LeHerosInconnu avatar Aug 22 '24 13:08 LeHerosInconnu