How does the combat system work?

For topics that do not fit in another sub-forum.

Moderators: Oberlus, Oberlus

Post Reply
Message
Author
User avatar
Rydra
Space Squid
Posts: 55
Joined: Fri Jun 28, 2013 6:15 pm

How does the combat system work?

#1 Post by Rydra » Sat Jul 06, 2013 3:52 pm

Hi there,

I've been having several battles and I just reckon how the system works and if it is fare. There have been times where I had a fight with almost equivalent forces, yet the enemy unleashes all their attacks on my fleet and everyone on my fleet dies before they have time to retaliate.

Anyone has details about how does it work? Who attacks first? How is everything calculated?

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 12478
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: How does the combat system work?

#2 Post by Geoff the Medio » Sat Jul 06, 2013 8:57 pm

The order of events in combat is random. More specifically, see the AutoResolveCombat function, and its comments, in CombatSystem.cpp or various forum posts such as this.

User avatar
Rydra
Space Squid
Posts: 55
Joined: Fri Jun 28, 2013 6:15 pm

Re: How does the combat system work?

#3 Post by Rydra » Sun Jul 07, 2013 4:03 pm

Fine, thank you :D

Post Reply