Bonus Attack for AI

Describe your experience with the latest version of FreeOrion to help us improve it.
Forum rules
Always mention the exact version of FreeOrion you are testing.

When reporting an issue regarding the AI, if possible provide the relevant AI log file and a save game file that demonstrates the issue.
Post Reply
Space Floater
Posts: 15
Joined: Fri Sep 16, 2016 10:23 am
Location: Austria

Bonus Attack for AI

#1 Post by CaptainTofu » Sun Sep 18, 2016 9:14 am

Version 4.6
Searched the Forum for AI and Attack
Read ingame Pedia for Attack and AI
Glitch?: AI has massive unexplained attack bonus

On the following picture you see a ship with 2x Laser tier 1.
Pedia Attack: 10 x Race = 10 x Race = 14
Fleet Window Attack: 26
This applies to every ship in every system of that player.

Another AI player: Gysache. Also 2x Laser Tier 1.
Pedia Attack: 10 x Race = 6
Fleet Window Attack: 18
3 Battle Rounds 6x3 = 18? But how does this apply to the Ettin example?

My Ship: Chato. 4x Laser Tier 1.
Pedia Attack: 20 x Race = 20
Fleet Window Attack: 20
So I do not get the 3x multiplicator? I do not see the pattern here.
FreeOrion03.jpg (184.98 KiB) Viewed 214 times

AI Contributor
Posts: 250
Joined: Tue Feb 17, 2015 11:54 am

Re: Bonus Attack for AI

#2 Post by Morlic » Sun Sep 18, 2016 9:22 am

Base damage of Laser: 5
Bonus per tech upgrade: 2

=> Laser damage with Laser IV researched = 11

Bad pilots => -1 tech level => -2 => 9 Damage. 2 Lasers => 18 damage

Good pilots => +1 tech level => +2 => 13 damage. 2 Lasers => 26 damage.

So no bugs or strange boni for the AI. Tooltip is indeed misleading though.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

User avatar
Creative Contributor
Posts: 3310
Joined: Fri Jun 28, 2013 11:45 pm

Re: Bonus Attack for AI

#3 Post by MatGB » Sun Sep 18, 2016 12:45 pm

I'm guessing the Pedia tells you what you'd get if it were your ship, and you haven't researched the weapon refinement techs the AI has.

Refining your weapons is essential, it's a new feature for this release and replaces the old ship part upgrades, I hadn't before noticed what happens if the AI is ahead of you in that tech and you look up one of their ship designs.
Mat Bowles

Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.

Space Floater
Posts: 15
Joined: Fri Sep 16, 2016 10:23 am
Location: Austria

Re: Bonus Attack for AI

#4 Post by CaptainTofu » Sun Sep 18, 2016 5:52 pm

Seems legit. Thank you!
It is misleading, since you do not see the technology tier.

Off topic: @MatGB: I am going for aggressive expansion and cloaked colonies. He cannot spot me, while I am expanding undisturbed. His fleet is superior, but I strike where he is undefendet. As soon, as I control the system, everything is cloaked and untouchable. I am experimenting at the moment. If you have ideas, go ahead. I keep my eyes open for bugs, glitches and misleading stuff.

PS: I just saw, that the levels for weapons were removed. Now I understand, why it does not match up...I saw the weapons and thought it was level 1. Would it have been more advanced, it would be written there, right? Well now I know.

Post Reply