Important Dates

Currently Online

Latest Posts

Topic: give some bonus to the defender?

king_of_nowhere
Avatar
Joined: 2014-09-15, 18:35
Posts: 1527
Ranking
One Elder of Players
Posted at: 2020-03-05, 01:08

@ stonerl: there's nothing wrong with your formulas; I'd just prefer that having military buildings would be important.

right now, we have all those fancy castles and fortresses with rampart and buttresses and embrasures and they do absolutely nothing to help your defence.


Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 15:56
Posts: 3159
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2020-03-05, 10:32

I have changed the healing formula for soldiers in the field to:

heal_per_second * conquer_radius / max(air_distance * 4U, 1U)

For a Barbarian Tower with heal_per_second == 150 and conquer_radius == 9, we get the following curve:

Distance Healing
9 37
8 42
7 48
6 56
5 67
4 84
3 112
2 168
1 337
0 1350

I have capped this at heal_per_second, so we get:

Distance Healing
9 37
8 42
7 48
6 56
5 67
4 84
3 112
2 150
1 150
0 150

This will heal about 1/2 of a rookie's hitpoints on the way home from an attack.

right now, we have all those fancy castles and fortresses with rampart and buttresses and embrasures and they do absolutely nothing to help your defence.

I'd like giving the player more reasons to build those too, which is why I put the conquer radius in the formula.

Edited: 2020-03-05, 10:35

Busy indexing nil values

Top Quote
stonerl
Avatar
Joined: 2018-07-30, 00:03
Posts: 320
Ranking
Tribe Member
Location: Earth
Posted at: 2020-03-05, 12:24

GunChleoc wrote:

I have changed the healing formula for soldiers in the field to:

~~~~ heal_per_second * conquer_radius / max(air_distance * 4U, 1U) ~~~~

This will heal about 1/2 of a rookie's hitpoints on the way home from an attack.

right now, we have all those fancy castles and fortresses with rampart and buttresses and embrasures and they do absolutely nothing to help your defence.

I'd like giving the player more reasons to build those too, which is why I put the conquer radius in the formula.

+1

Edited: 2020-03-05, 14:50

Top Quote
JanO
Avatar
Joined: 2015-08-02, 11:56
Posts: 120
Ranking
At home in WL-forums
Posted at: 2020-03-05, 12:41

+1

This is based on the home-building, I guess? Maybe increase the maximum rate if more military buildings are nearby?


Top Quote
stonerl
Avatar
Joined: 2018-07-30, 00:03
Posts: 320
Ranking
Tribe Member
Location: Earth
Posted at: 2020-03-05, 14:39

I play tested this a little. It makes combat a little more dynamic. Attacking soldiers also heal on their way back home and on their way to the enemy when on home soil. I like it so far.


Top Quote
Native
Avatar
Joined: 2020-03-04, 22:11
Posts: 9
Ranking
Pry about Widelands
Location: Bietigheim-Bissingen
Posted at: 2020-03-05, 17:13

I didn't read through all pages, so excuse if it has already been suggested:

What about a new building like a "hospital" that heals in an area around it or even sends out doctors to heal soldiers that are not fighting?


Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 15:56
Posts: 3159
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2020-03-05, 19:10

JanO wrote:

This is based on the home-building, I guess?

Yes

Maybe increase the maximum rate if more military buildings are nearby?

We can always implement that later if we think the effect needs to be stronger.


Busy indexing nil values

Top Quote
king_of_nowhere
Avatar
Joined: 2014-09-15, 18:35
Posts: 1527
Ranking
One Elder of Players
Posted at: 2020-03-05, 20:06

Native wrote:

I didn't read through all pages, so excuse if it has already been suggested:

What about a new building like a "hospital" that heals in an area around it or even sends out doctors to heal soldiers that are not fighting?

i had ideas for something similar, by mean of a building with a very small conquer radius but a large amount of soldiers it can take and a huge healing factor.

however, i'd say it's premature. first thing is making those changes and seeing if they give the intended effect.


Top Quote
WorldSavior
Avatar
Joined: 2016-10-15, 04:10
Posts: 1496
Ranking
One Elder of Players
Location: North of Germany
Posted at: 2020-03-09, 19:27

Some thoughts about this:

  • Defenders don't have to be passive, they can also launch counter-attacks
  • Increasing the healing that much could be overpowered
  • it's okay that quick attacking works fine on maps with small distances, because this increases the variety of the game.
  • a "hospital" could be an idea for a new tribe, but it's not the best way to change the existing tribes that much / making them more complicated
  • many of the healing formulas in this thread are way too complicated in my opinion

“It's a threat to our planet to believe that someone else will save it.” - Robert Swan

Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 15:56
Posts: 3159
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2020-03-09, 20:23

The currently proposed healing formula is:

heal_per_second * conquer_radius / max(air_distance * 4, 1)

https://github.com/widelands/widelands/pull/3736/files

I wouldn't say that's too complicated. If it should turn out to be too overpowered, we can always increase the 4 to nerf it.


Busy indexing nil values

Top Quote