Bounty.Pillager and 0% on the Verses=
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ares |
In Progress
|
Medium
|
Unassigned |
Bug Description
Not sure if it's intended to work this way, but Bounty.Pillager=yes gives full money when the unit attacks a
target with 0% verses. This happens at least with area weapons. If it's intended, at least mention it in the documentation.
On the other hand, immunities (such as ImmuneToPsionic
Also verses values themselves don't affect how much money the unit gains, even if damage itself is reduced. This one most likely works as intended (since it can be modified per-object), but it causes another problem: when you attack a multi-cell building with an area weapon, the money is multiplied by the amount of cells! If a weapon deals 100 damage and directly hits a 3x3 structure, it will give 900 money per each shot, even if the structure itself would get like 10 points of damage due to verses.
As i don't expect this one to get changed without modifying how the game as a whole handles damage to multi-cell structures, it has to be clearly stated in the documentation that this will happen with area weapons!
Changed in ares: | |
assignee: | Graion Dilach (graiondilach) → nobody |
Wait... what?!
This is clearly NOT intended. OKay, I'll start cleaning up the code within the next two weeks.