I'm going to make a Scratch risk like game, but I need a battle formula. This is what I'm thinking of now:
s*t*m+d+r
s = size of army in the region
t = tech level (starts at 1, some techs would increase by .2/.3)
m = morale, if you are a weaker army and are attacking, you lose a bit or morale. Some techs change that (Patriotism makes it so you don't lose morale, heavy training makes it so you gain a bit.)
d = defensive bonus (If the attacked region is a fortified special, or if certain techs were reseached this would be higher. Like turrets).
r = random from -3 to 3.
Offline
SeptimusHeap wrote:
I'm going to make a Scratch risk like game, but I need a battle formula. This is what I'm thinking of now:
s*t*m+d+r
s = size of army in the region
t = tech level (starts at 1, some techs would increase by .2/.3)
m = morale, if you are a weaker army and are attacking, you lose a bit or morale. Some techs change that (Patriotism makes it so you don't lose morale, heavy training makes it so you gain a bit.)
d = defensive bonus (If the attacked region is a fortified special, or if certain techs were reseached this would be higher. Like turrets).
r = random from -3 to 3.
I'd personally add morale instead of multiplying.

Offline
Trekkie210 wrote:
SeptimusHeap wrote:
I'm going to make a Scratch risk like game, but I need a battle formula. This is what I'm thinking of now:
s*t*m+d+r
s = size of army in the region
t = tech level (starts at 1, some techs would increase by .2/.3)
m = morale, if you are a weaker army and are attacking, you lose a bit or morale. Some techs change that (Patriotism makes it so you don't lose morale, heavy training makes it so you gain a bit.)
d = defensive bonus (If the attacked region is a fortified special, or if certain techs were reseached this would be higher. Like turrets).
r = random from -3 to 3.I'd personally add morale instead of multiplying.
Thanks!
Offline
Trekkie210 wrote:
SeptimusHeap wrote:
I'm going to make a Scratch risk like game, but I need a battle formula. This is what I'm thinking of now:
s*t*m+d+r
s = size of army in the region
t = tech level (starts at 1, some techs would increase by .2/.3)
m = morale, if you are a weaker army and are attacking, you lose a bit or morale. Some techs change that (Patriotism makes it so you don't lose morale, heavy training makes it so you gain a bit.)
d = defensive bonus (If the attacked region is a fortified special, or if certain techs were reseached this would be higher. Like turrets).
r = random from -3 to 3.I'd personally add morale instead of multiplying.
Me too.
Offline
SeptimusHeap wrote:
Trekkie210 wrote:
SeptimusHeap wrote:
I'm going to make a Scratch risk like game, but I need a battle formula. This is what I'm thinking of now:
s*t*m+d+r
s = size of army in the region
t = tech level (starts at 1, some techs would increase by .2/.3)
m = morale, if you are a weaker army and are attacking, you lose a bit or morale. Some techs change that (Patriotism makes it so you don't lose morale, heavy training makes it so you gain a bit.)
d = defensive bonus (If the attacked region is a fortified special, or if certain techs were reseached this would be higher. Like turrets).
r = random from -3 to 3.I'd personally add morale instead of multiplying.
Thanks!
You're welcome!

Offline
SpriteMaster wrote:
Trekkie210 wrote:
SeptimusHeap wrote:
I'm going to make a Scratch risk like game, but I need a battle formula. This is what I'm thinking of now:
s*t*m+d+r
s = size of army in the region
t = tech level (starts at 1, some techs would increase by .2/.3)
m = morale, if you are a weaker army and are attacking, you lose a bit or morale. Some techs change that (Patriotism makes it so you don't lose morale, heavy training makes it so you gain a bit.)
d = defensive bonus (If the attacked region is a fortified special, or if certain techs were reseached this would be higher. Like turrets).
r = random from -3 to 3.I'd personally add morale instead of multiplying.
Me too.
Same
Offline