calmyourtits wrote:You should go Jap isolation, but don''t ever cancel it. You''ll lose 5% attack on your units every time you do.
Yes I know but edeholland say?
So I''ve been looking into the bug that units lose more HP when they break relations with British than they get with allying.
The code for allying is the following:
<'Effect type =''TechStatus'' status =''obtainable''>'ypConsulateRelationsBritish<'/Effect>'
<'Effect type =''Data'' amount =''1.10'' subtype =''Hitpoints'' relativity =''BasePercent''>'
<'Target type =''ProtoUnit''>'AbstractVillager<'/Target>'<'/Effect>'
<'Effect type =''Data'' amount =''1.10'' subtype =''Hitpoints'' relativity =''BasePercent''>'
<'Target type =''ProtoUnit''>'AbstractInfantry<'/Target>'<'/Effect>'
<'Effect type =''Data'' amount =''1.10'' subtype =''Hitpoints'' relativity =''BasePercent''>'
<'Target type =''ProtoUnit''>'AbstractCavalry<'/Target>'<'/Effect>'
<'Effect type =''Data'' amount =''1.10'' subtype =''Hitpoints'' relativity =''BasePercent''>'
<'Target type =''ProtoUnit''>'AbstractArtillery<'/Target>'<'/Effect>'
<'Effect type =''Data'' amount =''1.10'' subtype =''Hitpoints'' relativity =''BasePercent''>'
<'Target type =''ProtoUnit''>'Surgeon<'/Target>'<'/Effect>'
The code for breaking relations is the following:
<'Effect type =''TechStatus'' status =''unobtainable''>'ypConsulateRelationsBritish<'/Effect>'
<'Effect type =''Data'' amount =''0.90'' subtype =''Hitpoints'' relativity =''BasePercent''>'
<'Target type =''ProtoUnit''>'AbstractArtillery<'/Target>'<'/Effect>'
<'Effect type =''Data'' amount =''0.90'' subtype =''Hitpoints'' relativity =''BasePercent''>'
<'Target type =''ProtoUnit''>'AbstractCavalry<'/Target>'<'/Effect>'
<'Effect type =''Data'' amount =''0.90'' subtype =''Hitpoints'' relativity =''BasePercent''>'
<'Target type =''ProtoUnit''>'AbstractInfantry<'/Target>'<'/Effect>'
<'Effect type =''Data'' amount =''0.90'' subtype =''Hitpoints'' relativity =''BasePercent''>'
<'Target type =''ProtoUnit''>'Surgeon<'/Target>'<'/Effect>'
Who thought this was a good idea? Multiplying a number by 1,10 and then by 0,9 does not give you the original value.
150*1,1=165
165*0,9=148,5
So basicly, each time you break relations with Brits, you lose 1% hp on all your units.
It''s even worse for Japanese.
When you isolate:
<'Effect type =''Data'' amount =''1.05'' subtype =''Damage'' allactions =''1'' relativity =''BasePercent''>'
<'Target type =''ProtoUnit''>'AbstractCavalry<'/Target>'<'/Effect>'
<'Effect type =''Data'' amount =''1.05'' subtype =''Damage'' allactions =''1'' relativity =''BasePercent''>'
<'Target type =''ProtoUnit''>'AbstractArtillery<'/Target>'<'/Effect>'
<'Effect type =''Data'' amount =''1.05'' subtype =''Damage'' allactions =''1'' relativity =''BasePercent''>'
<'Target type =''ProtoUnit''>'AbstractVillager<'/Target>'<'/Effect>'
When you break relations:
<'Effect type =''Data'' amount =''0.90'' subtype =''Damage'' allactions =''1'' relativity =''BasePercent''>'
<'Target type =''ProtoUnit''>'AbstractArtillery<'/Target>'<'/Effect>'
<'Effect type =''Data'' amount =''0.90'' subtype =''Damage'' allactions =''1'' relativity =''BasePercent''>'
<'Target type =''ProtoUnit''>'AbstractCavalry<'/Target>'<'/Effect>'
<'Effect type =''Data'' amount =''0.90'' subtype =''Damage'' allactions =''1'' relativity =''BasePercent''>'
<'Target type =''ProtoUnit''>'AbstractInfantry<'/Target>'<'/Effect>'
So you also lose more than 1% of your attack each time you break relations.
:whistling:
Means?