I have a trigger which puts every spell for every "Music Box" out there on cooldown. See below:
-
Variables
-
Events
-
Map initialization
-
-
Conditions
-
Actions
-
Set MusicBoxSongsCount = 1
-
Set MusicBoxSongs[MusicBoxSongsCount] = Pokemon Road
-
Set MusicBoxSongsCount = (MusicBoxSongsCount + 1)
-
Set MusicBoxSongs[MusicBoxSongsCount] = Snow Mountain
-
-
-
Unit Group - Pick every unit in MusicBoxGroup and do (Actions)
-
Loop - Actions
-
For each (Integer A) from 1 to MusicBoxSongsCount, do (Actions)
-
Loop - Actions
-
Game - Display to (All players) for 1.00 seconds the text: (Name of MusicBoxSongs[(Integer A)])
-
Unit - For Unit (Picked unit), Set cooldown of ability MusicBoxSongs[(Integer A)], Level: 1 to 5.00
-
-
-
-