Auto performer forced to act probability.
commitb80ac7c5ff8f551ff53a7680e05677aaefb57d95
authorsveinung <sveinung@a0f10bec-cc02-0410-94fc-a9cfff90b4cd>
Wed, 2 Nov 2016 16:14:25 +0000 (2 16:14 +0000)
committersveinung <sveinung@a0f10bec-cc02-0410-94fc-a9cfff90b4cd>
Wed, 2 Nov 2016 16:14:25 +0000 (2 16:14 +0000)
tree762b45c0b36182aca82f4d8a1bbce917c34ba5ca
parent670a4dace0036734a6e2ba2ab478861d18b13d64
Auto performer forced to act probability.

Introduce action_auto_perf_unit_act_prob(). It returns the probability for
the specified actor unit to be forced to perform an action by the specified
action auto performer cause.

See patch #7904

git-svn-id: svn://svn.gna.org/svn/freeciv/trunk@34336 a0f10bec-cc02-0410-94fc-a9cfff90b4cd
server/actiontools.c
server/actiontools.h