Warden damage

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
Message
Author
Scara
Space Kraken
Posts: 140
Joined: Thu Apr 23, 2015 11:21 am

Warden damage

#1 Post by Scara » Sun Feb 19, 2017 5:44 pm

Hi,

I got an great damage change at the wardens place, with todays version a24a232. Yiks, I hope this is an error :-O.
warden.png
warden.png (124.59 KiB) Viewed 292 times

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

Re: Warden damage

#2 Post by MatGB » Sun Feb 19, 2017 10:42 pm

Ah. Geoff 's new weapon scripting system doesn't play well with the built in bonuses we gave to some of the monsters.

Iirc it's only guardians to that got these for standard weapons, I'm away from pc can someone try to fix?
Mat Bowles

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

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

Re: Warden damage

#3 Post by Geoff the Medio » Sun Feb 19, 2017 11:02 pm

Does the unowned weapon macro need a stacking group?

https://github.com/freeorion/freeorion/ ... s.txt#L129

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

Re: Warden damage

#4 Post by Geoff the Medio » Mon Feb 20, 2017 7:43 am

Added a stacking group. Seems to work. Seemingly wasn't really related to the guard's bonus weapon strength.

https://github.com/freeorion/freeorion/ ... e083f9169e

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

Re: Warden damage

#5 Post by MatGB » Mon Feb 20, 2017 12:40 pm

Ah, so the effect that increased each death ray was instead increasing all the death rays.
Mat Bowles

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

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

Re: Warden damage

#6 Post by Geoff the Medio » Mon Feb 20, 2017 12:48 pm

MatGB wrote:Ah, so the effect that increased each death ray was instead increasing all the death rays.
Yes; there is only one copy of each part meter on each ship, regardless of how many copies of the part the ship (design) has.

Post Reply