Introduce the new utype flag "Provoking".
commit88afeb57809eff0f42172d0cb0103497cea04884
authorsveinung <sveinung@a0f10bec-cc02-0410-94fc-a9cfff90b4cd>
Mon, 7 Nov 2016 00:00:09 +0000 (7 00:00 +0000)
committersveinung <sveinung@a0f10bec-cc02-0410-94fc-a9cfff90b4cd>
Mon, 7 Nov 2016 00:00:09 +0000 (7 00:00 +0000)
tree97e9fce1b6c0932e2617f641fe6ba89aaa592db5
parent17896e1efc7bf90fdd6160c66f847901631f3b4d
Introduce the new utype flag "Provoking".

A unit considering if it should autoattack a unit that just moved next to it
will normally decide not to attack if it has better odds when defending
against it than when attacking it. Exceptions are made for diplomats and for
transports. Move this exception to the new unit type flag "Provoking".

See patch #7943

git-svn-id: svn://svn.gna.org/svn/freeciv/trunk@34426 a0f10bec-cc02-0410-94fc-a9cfff90b4cd
15 files changed:
common/unittype.h
data/alien/units.ruleset
data/civ1/units.ruleset
data/civ2/units.ruleset
data/civ2civ3/units.ruleset
data/classic/units.ruleset
data/experimental/units.ruleset
data/multiplayer/units.ruleset
data/ruledit/comments.txt
data/sandbox/units.ruleset
data/stub/units.ruleset
data/webperimental/units.ruleset
fc_version
server/rscompat.c
server/unittools.c