Did you try changing the Integer A to something else?
I would try a set number instead of a custom value and see what happens
-------
What did you add to this newer version compared to your previous?
I made a pretty crappy written Power Word - Shield Trigger.
Problems:
- Units take damage before Shield can truly protect them, meaning if they take a killing blow hit but they have a shield up, shield wont do anything.
- Stopping the unit from casting power word shield if the unit has a buff...
Well You can either use another Animation action like
Animation - Change (Triggering unit) flying height to 1000.00 at 0
Or set the height in the object editor
Set Count = 11
For Int A, 1-11
Set Number[IntA] = IntA
For Int A 1-11
Set TempNumber = Random Number From 1 to Count
Set RandomNumber[IntA] = Number[TempNumber]
Set Number[TempNumber] = Number[Count]
Set Count = Count - 1
This should work unless I memorized Ace's method incorrectly XD