Hey. I know a few maps with custom races got away with this, like the Fel Horde map and High Elves map.
I want to turn some GUI codes into MUI codes. I'm sort of good at making GUI codes. MUI is difficult. I get the start, but I'm lost at the rest.
I want to turn some GUI codes into MUI codes. I'm sort of good at making GUI codes. MUI is difficult. I get the start, but I'm lost at the rest.
-
Impending Crystal ON
-

Events
-


Time - Every 2.00 seconds of game time
-
-

Conditions
-

Actions
-


Unit Group - Pick every unit in (Units of type Crystal Golem) and do (Actions)
-



Loop - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






(Percentage life of (Picked unit)) Less than or equal to 50.00
-
-





Then - Actions
-






Unit - Add Impending Crystal (Book) to (Picked unit)
-






Player - Disable Impending Crystal (Book) for (Owner of (Picked unit))
-
-





Else - Actions
-
-
-
-
-
-
Impending Crystal OFF
-

Events
-


Time - Every 2.00 seconds of game time
-
-

Conditions
-

Actions
-


Custom script: set bj_wantDestroyGroup=true
-


Unit Group - Pick every unit in (Units of type Crystal Golem) and do (Actions)
-



Loop - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






(Percentage life of (Picked unit)) Greater than 50.00
-
-





Then - Actions
-






Unit - Remove Impending Crystal (Book) from (Picked unit)
-
-





Else - Actions
-
-
-
-
-
-
Divine Reward ON
-

Events
-


Unit - A unit Is attacked
-
-

Conditions
-


(Unit-type of (Attacked unit)) Equal to Archangel
-
-

Actions
-


Set Divine_Reward_Chance = (Random integer number between 1 and 100)
-


Unit Group - Pick every unit in (Units of type Archangel) and do (Actions)
-



Loop - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






(Mana of (Picked unit)) Equal to (Max mana of (Picked unit))
-
-





Then - Actions
-






If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-







If - Conditions
-








Divine_Reward_Chance Less than or equal to 40
-
-







Then - Actions
-








Unit - Add Archangel (Damage) to (Picked unit)
-








Unit - Add Archangel (Book) to (Picked unit)
-








Player - Disable Archangel (Book) for (Owner of (Picked unit))
-
-







Else - Actions
-
-
-





Else - Actions
-
-
-
-
-
-
Divine Reward OFF
-

Events
-


Time - Every 1.00 seconds of game time
-
-

Conditions
-

Actions
-


Custom script: set bj_wantDestroyGroup=true
-


Unit Group - Pick every unit in (Units of type Archangel) and do (Actions)
-



Loop - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






(Mana of (Picked unit)) Not equal to (Max mana of (Picked unit))
-
-





Then - Actions
-






Unit - Remove Archangel (Damage) from (Picked unit)
-






Unit - Remove Archangel (Book) from (Picked unit)
-
-





Else - Actions
-
-
-
-
-





