This is the mail archive of the
xconq7@sources.redhat.com
mailing list for the Xconq project.
Re: Units question
- From: Hans Ronne <hronne at telia dot com>
- To: <robert dot segal at rogers dot com>
- Cc: xconq7 at sources dot redhat dot com
- Date: Fri, 11 Apr 2003 19:32:06 +0200
- Subject: Re: Units question
>Is it possible within Xconq to declare that a unit has attributes (Such as
>Attack, Defense, Avoidance) and write a combat table that uses these
>attributes to determine the effects of combat?
Absolutely. Just include:
(set combat-model 1)
and the kernel will use a Civ-type combat code with absolute attack and
defend values instead of the relative tables in the default xconq model
(combat-model 0). For an example of a game that uses combat model 1, see
3rd-age.g.
Hans