Opened 7 years ago

Last modified 6 years ago

#4421 closed enhancement

[PATCH] Minimum attack distance and spread tooltip — at Initial Version

Reported by: elexis Owned by:
Priority: Nice to Have Milestone: Alpha 22
Component: UI & Simulation Keywords: patch
Cc: Patch:

Description

In case a unit (f.e. ranged siege, towers without murderholes) requires a minimum distance to attack enemies, this should be added to the attack tooltip (and avoided if 0).

Furthermore in Alpha 21, the spread factor has become relevant since units don't deal damage anymore if they miss (#4241) (and they miss more than 50% depending on the distance), hence should be shown.

The schema in Attack.js defines the spread:

Radius over which missiles will tend to land (when shooting to the maximum range). Roughly 2/3 will land inside this radius (in metres).

Reported by defenderbenny and Grugnas.

Patch: https://github.com/elexis1/0ad/tree/spread_tooltip

Change History (1)

by elexis, 7 years ago

Attachment: sample.jpg added
Note: See TracTickets for help on using tickets.