### Author Topic: Is there any way to know that by which faction each dead seedlings was destroyed  (Read 10230 times)

0 Members and 1 Guest are viewing this topic.

#### Breakord

• Sapling
• Thank You
• -Given: 14
• Posts: 57
• NO WORDS.
• Eufloria: Yes
##### Is there any way to know that by which faction each dead seedlings was destroyed
« on: February 04, 2013, 08:54:15 PM »
Still have so many questions..
Because I am writing something called "SuperWeapon"..
In this system, empires can spend their technology points to develop super weapons.
I thought the way to get technology points is by destroying enemy seedlings and losing own seedlings.
It's easy to deal with the part "losing own seedlings",
but how can I know how many seedlings a empire destroyed in its active attacks?

#### Pilchard123

• Tester
• Old Oak
• Thank You
• -Given: 4
• Posts: 930
• Eufloria: Yes
##### Re: Is there any way to know that by which faction each dead seedlings was destroyed
« Reply #1 on: February 05, 2013, 04:04:11 AM »
I don't think so. One thing you could do is change 'destroying enemy seedlings' to 'participating in battles'. When a seedling is killed, the points that would be gained from that kill are divided between the other factions on that asteroid.

For example, if there are three armies in orbit aroid an asteroid
A, with 100 seedlings on the asteroid
B, with 200 seedlings on the asteroid
C, with 50 seedlings on the asteroid
A kill is worth 1 point

If a seedling from A is killed, then Empire B gets 1*(200/(200+50)) = 0.8 points. Empire C gets 1*(50/(200+50)) = 0.2 points.

More generally, the points awarded to faction F when a seedling from faction X are given by

PointsPerKill*(FSeedlingsAtAsteroid / (TotalSeedlingsAtAsteroidThatAreNotFromX))

#### Breakord

• Sapling
• Thank You
• -Given: 14
• Posts: 57
• NO WORDS.
• Eufloria: Yes
##### Re: Is there any way to know that by which faction each dead seedlings was destroyed
« Reply #2 on: February 05, 2013, 09:51:20 AM »
More generally, the points awarded to faction F when a seedling from faction X are given by
PointsPerKill*(FSeedlingsAtAsteroid / (TotalSeedlingsAtAsteroidThatAreNotFromX))
Phew.Seems like there are no better solutions...

• Tester
• Old Oak
• Thank You
• -Given: 4