Author Topic: variable damage  (Read 1512 times)

Botjer

  • Guest
variable damage
« on: 23 April 2008, 12:34:05 »
is there anyway to have an attack make a randomized damage? or have the unit make a special attack at random intervals?
« Last Edit: 1 January 1970, 00:00:00 by Botjer »

weedkiller

  • Draco Rider
  • *****
  • Posts: 277
    • View Profile
(No subject)
« Reply #1 on: 23 April 2008, 14:49:12 »
i think thats already inside glest. look at the attack-description inside glest and at the xmls of existing units. There you have the base attack value and a other value which goes up (and down? or both, halfhalf...). I dont know the name of the tokens right now but it shouldnt be hard to find.
« Last Edit: 1 January 1970, 00:00:00 by weedkiller »

ZaggyDad

  • Guest
(No subject)
« Reply #2 on: 23 April 2008, 14:57:06 »
I believe the var value is the one that tells the range of randomization it can have. (If it's it.)

~Zaggy
« Last Edit: 1 January 1970, 00:00:00 by ZaggyDad »

 

anything