SYSTEM_SPECIAL_EFFECT_TARGET_AND_AREA bugs
Posted: Sun Aug 15, 2021 7:03 pm
The effect with trnSystemSpecialEffectID set as SYSTEM_SPECIAL_EFFECT_TARGET_AND_AREA have at least two problems:
1. It doesn't apply effectAffect on caster - whatever is set in trnActionUnitIDForCaster is completely ignored.
2. When using such effect on units with more than 1x1 size area of effect defined in environmentalDef is counted from left bottom tile,instead of targeted one (unlike in case of attacks and effects with SYSTEM_SPECIAL_EFFECT_ENVIRONMENTAL, both of which sets area correctly).
1. It doesn't apply effectAffect on caster - whatever is set in trnActionUnitIDForCaster is completely ignored.
2. When using such effect on units with more than 1x1 size area of effect defined in environmentalDef is counted from left bottom tile,instead of targeted one (unlike in case of attacks and effects with SYSTEM_SPECIAL_EFFECT_ENVIRONMENTAL, both of which sets area correctly).