Closed soundmud closed 10 years ago
hmm the minimal damaje parameter would be a general parameter for all things in the game? Or each unit or building can have its minimal damaje parameter.
From: soundmud Sent: Saturday, September 06, 2014 5:54 PM To: soundmud/soundrts Subject: [soundrts] add minimal damage (#33)
When the armor is higher than the damage, a minimal damage should still be dealt. For example, in rules.txt:
def parameters minimal_damage .1 The lowest allowed value is .001 because internally the number will be multiplied by 1000 and turned into an integer.
— Reply to this email directly or view it on GitHub.
Let's try the simplest first. That was sufficient for Warcraft 2 or Starcraft Brood War. And there is an additional rule that would be more important but too complicated for now: damage upgrades are not affected by armor.
hmmm? how work that?
If your unit have 5 4 points of damaje and the foe 6 of armor, if you aply the bonus attack to your unit (1.5) this 1.5 extra damaje (5.5 in total) doesn’t be afected by the armor?
The foe is damajed in 1.5 (+ minimal) damaje?
And thanks, awesome!
From: soundmud Sent: Sunday, September 07, 2014 9:17 AM To: soundmud/soundrts Cc: Sandl Okino Subject: Re: [soundrts] add minimal damage (#33)
Let's try the simplest first. That was sufficient for Warcraft 2 or Starcraft Brood War. And there is an additional rule that would be more important but too complicated for now: damage upgrades are not affected by armor.
— Reply to this email directly or view it on GitHub.
Yes, but it won't be done now.
When the armor is higher than the damage, a minimal damage should still be dealt. For example, in rules.txt:
The lowest allowed value is .001 because internally the number will be multiplied by 1000 and turned into an integer.