So what's the status on stacking on abilities, etc.?

Judging by the posts I've found and the XML files, there is no way to flag abilities as non-stackable.  Are there any plans to change this?

10,216 views 6 replies
Reply #1 Top

<CanStack>0</CanStack> prevents the player from casting a spell or ability on a target if it already has it on him. The problem is the AI doesn't seem to honor this.

Reply #2 Top


There is also this flag too: <PreventStackingWith>spell name</PreventStackingWith>

so you choose what you want to stack with or not.

 

Reply #3 Top

Yeah codes are all there, the problem is, again, AIs play different game from players.

Reply #4 Top

Ah, thanks.

But as far as unit abilities go, if I give an ability of say, +1 Army cutting attack to a unit via unit ability, is there and anti-stack for that?  I tried CanStack, but it didn't seem to work.  But maybe I misplaced it -- anyone ever get CanStack to work with an ability like that?  Meaning I would like to make the benefit non-stackable -- only one per army.

Reply #5 Top

there needs to be non-stackability for auras too. that is, unit abilities that benefit the entire army

Reply #6 Top

Sorry, I thought we were talking about abilities as in spells. Yes, armywide abilitybonuses always stack