View Issue Details

IDProjectCategoryLast Update
0025500AI War 2Gameplay IssueAug 9, 2021 11:42 am
ReporterZeusAlmighty Assigned ToChris_McElligottPark  
Status assignedResolutionopen 
Product VersionBeta 3.506 Setsuna Notices A Lobotomy 
Summary0025500: XML tag for incoming damage modification isn't returning expected result
DescriptionWorking on the venators for DLC3 -- these units are characterized by hard countering certain things but will be hard countered in turn

One of these is intended to deadly to your turrets and so I want to give it damage resistance from turrets. This can be achieved by making it take damage from static units. I think I can do this by checking against the engine power -- static units don't have an engine, so I attempted to have this modifier:

<incoming_damage_modifier based_on="engine_gx" comparison_type="AtMost" compared_to="0" multiplier="0.25" />

In my testing, the ships are still taking full damage.
TagsNo tags attached.

Activities

ZeusAlmighty

Aug 8, 2021 5:44 pm

manager   ~0062646

I tried a couple of variations of this by setting comparison higher but to no avail

ZeusAlmighty

Aug 8, 2021 6:04 pm

manager   ~0062647

<incoming_damage_modifier based_on="engine_gx" comparison_type="LessThan" compared_to="1" multiplier="0.25" />

This doesn't work either

ZeusAlmighty

Aug 9, 2021 11:42 am

manager   ~0062648

CRC pointed out that treating a null engine as a "0" gx would have additional problems (eg., v-wings and such would then have their bonus damage apply to structures)

I suppose this would need a very explicit tag -- "is_stationary" or something

Issue History

Date Modified Username Field Change
Aug 8, 2021 5:40 pm ZeusAlmighty New Issue
Aug 8, 2021 5:40 pm ZeusAlmighty Status new => assigned
Aug 8, 2021 5:40 pm ZeusAlmighty Assigned To => Chris_McElligottPark
Aug 8, 2021 5:44 pm ZeusAlmighty Note Added: 0062646
Aug 8, 2021 6:04 pm ZeusAlmighty Note Added: 0062647
Aug 9, 2021 11:40 am ZeusAlmighty Summary XML tag for incoming damage modification is returning expected result => XML tag for incoming damage modification isn't returning expected result
Aug 9, 2021 11:42 am ZeusAlmighty Note Added: 0062648