I suspect the answer is no, but I thougt it would not harm to ask anyway.
Imagine that you want to create a channellers ability that gives 1 mana per turn per each unit in the group. It would be something like that
Code: xml
- <GameModifier>
- <ModType>Resource</ModType>
- <Attribute>Mana</Attribute>
- <PerTurn>1</PerTurn>
- <Calculate InternalName="Value" ValueOwner="CastingUnit">
- <Expression><![CDATA[[Unit_GetTroopCount]]]></Expression>
- </Calculate>
- </GameModifier>
But it does not work. I also tried removing the ValueOwner="CastingUnit and does not work either. I tried replacing the expression by a plain 1 and it works. So the question is, is there a way for this to work? Thanks in advance for any possible answer.