Aztec Priest Sacrificial Altar inconsistent in usage

Post Reply
User avatar
b2198
Posts: 798
Joined: Mon Aug 30, 2021 5:48 pm
Location: Brazil

Aztec Priest Sacrificial Altar inconsistent in usage

Post by b2198 »

Basically, it only works if the unit is visible, when it should probably also work in unprotected garrisons that don't show the unit, like TCs and ruined fortresses, just like almost all other abilities (except for heal and mend, which are hard-coded that way if I'm not mistaken, maybe area effect skills work like that too?).

Image
Image
Image
Image

(just a small observation: I don't know for sure it works for protected garrisons that show the unit, since afaik great flags were the only unit with those properties in the game)
Green is the correct color, other colors are "less correct".
User avatar
Endru1241
Posts: 2717
Joined: Fri Sep 11, 2015 8:43 am
Location: Poland

Re: Aztec Priest Sacrificial Altar inconsistent in usage

Post by Endru1241 »

Unfortunately those are a limitations of engine.

SYSTEM_SPECIAL_EFFECT_TARGET_AND_AREA just works like that, because it was designed with some sort of magical area spell in mind.
It cannot affect those protected by garrison, unless some very extensive changes were made (look how assassin inside works).
And with any of such - there is no way to tell if final effect would work like desired.

BTW. My plan was to make it an aura, which affects units inside, but unfortunately AURA_EFFECT can only apply limited number of different effects types.
INSTANT, ENCHANTMENT and REPETITIVE_VANISHING if I remember my tests right.

And we need EFFECT_SPELL for proper use.
Age of Strategy design leader
User avatar
b2198
Posts: 798
Joined: Mon Aug 30, 2021 5:48 pm
Location: Brazil

Re: Aztec Priest Sacrificial Altar inconsistent in usage

Post by b2198 »

Yeah, I guessed it would be an engine limitation by the looks of it, just reported in case this wasn't known yet. Thanks for the explanation anyway.
Green is the correct color, other colors are "less correct".
Post Reply

Return to “Units/techs/effects”