Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#2366 closed defect (fixed)

Investigate how the technology "affects" works, should work, and is used

Reported by: sanderd17 Owned by: sanderd17
Priority: Must Have Milestone: Alpha 16
Component: Core engine Keywords:
Cc: Patch:

Description

Attachments (1)

affects.diff (4.8 KB ) - added by sanderd17 10 years ago.
remove the per-modification affects

Download all attachments as: .zip

Change History (4)

comment:1 by sanderd17, 10 years ago

The per-modification "affects" is documented as an "OR" function "Melee" AND "Ranged" makes no sense.

It is used only a few times. The Mauryan and Persian archery tradition uses it. but it doesn't make any sense to use it that way.

Next to that, only the heroism and soldier will technologies use it to differentiate between the attack types. But this isn't needed either as a "Melee" attack change will never affect a "Ranged" unit and vice versa.

So, I propose to remove the per-modification affects: fixing the templates that use it, remove it from the documentation, and remove it from the code path.

If anyone ever needs a technology that affects a totally different kind of unit, he can always make an auto-researching technology that requires the original technology.

Last edited 10 years ago by sanderd17 (previous) (diff)

by sanderd17, 10 years ago

Attachment: affects.diff added

remove the per-modification affects

comment:2 by sanderd17, 10 years ago

Owner: set to sanderd17
Resolution: fixed
Status: newclosed

In 14930:

Fix how per tech modification affects work + fix the technologies that implement it. Fixes #2366

comment:3 by sanderd17, 10 years ago

Milestone: BacklogAlpha 16
Note: See TracTickets for help on using tickets.