URL:
<http://gna.org/bugs/?23241>
Summary: Help for Galleons claims they can attack
Project: Freeciv
Submitted by: jtn
Submitted on: Mon 02 Feb 2015 23:27:31 UTC
Category: docs
Severity: 3 - Normal
Priority: 5 - Normal
Status: In Progress
Assigned to: jtn
Originator Email:
Open/Closed: Open
Release: 2.5.0-beta2
Discussion Lock: Any
Operating System: Any
Planned Release: 2.5.0, 2.6.0, 3.0.0
_______________________________________________________
Details:
Help for Galleons says things like
* Belongs to Sea unit class.
...
* Can attack units on non-native tiles.
* Can launch attack from non-native tiles.
despite Galleons being unable to attack anything.
Fix "Can attack units on non-native tiles" by changing the definition of
can_attack_non_native() to take into account attack strength.
This is called in lots of places, but by inspection all the call sites test
attack strength one way or another already, so I suspect it makes no
difference to gameplay. If it does then the new behaviour is probably more
correct.
However, I haven't autogame-tested this patch.
(Also fix UCF_ATT_FROM_NON_NATIVE straightforwardly in helpdata.c.)
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?23241>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev