wakystuf / ESG-Mod

An Endless Space 2 balance and overhaul mod
31 stars 4 forks source link

Patch Preview -- Both fleet have morale bonus #1448

Open Arpharnator opened 4 months ago

Arpharnator commented 4 months ago

image

wakystuf commented 4 months ago

Is there a way to tell which side has how much? If the left has 1 and the right has 2, then that's sort of OK

Arpharnator commented 4 months ago

equal

wakystuf commented 4 months ago

Oh that's not good. I'm not sure how to fix that though--is this only in ESG or also vanilla?

Arpharnator commented 4 months ago

Not sure, I think it is pretty old and inconsistent but I think nonetheless it is ESG only as far as i know.

wakystuf commented 4 months ago

I think the code for this looks correct (it's the same as vanilla btw): <BinaryModifier TargetProperty="MoraleBonus" Operation="Addition" Left="$(EffectiveFlotillasCount)" BinaryOperation="Subtraction" Right="$(OpponentEffectiveFlotillasCount)" TooltipHidden="true"/>

Arpharnator commented 4 months ago

yea it's probably correct, since it is most of the time but sometimes you get really bad bugs with morale, and I haven't been able to reproduce them.