Hey,
I require help with two small triggers. Any help will be highly appreciated
1.) I want to ensure that the target unit of a trigger belong to Player 12, but I can't seem to find a specific Condition for that. Probably missing something, but I dont really have experience in mapping.
I require help with two small triggers. Any help will be highly appreciated
1.) I want to ensure that the target unit of a trigger belong to Player 12, but I can't seem to find a specific Condition for that. Probably missing something, but I dont really have experience in mapping.
-
RUA-Ability r1
-
Events
- Unit - A unit is attacked
-
Conditions
- (Unit-type of (Attacking unit)) = Tower of Divine Judgement
-
Actions
- If ((Owner of (Attacking unit)) = Player 1 (Red)) then do (Unit - Cause (Attacking unit) to damage (Random unit from (Units within ((Real(RUA-AbilityCountP1)) x 200.00) of (Position of (Attacking unit)) matching (INSERT CONDITION RANDOM UNIT BELONGS TO PLAYER 12 (BROWN)), dealing 50.00 damage of attack type Spells and damage type Normal else do (Do nothing)
-
Events
-
TUA-Ability t17
-
Events
- Unit - A unit Begins casting an ability
-
Conditions
- (Ability being cast) = Astral explosion
-
Actions
- Unit group - Pick every unit in (Units within 2000.00 of (Position of (Casting unit))) and do (If ((Owner of (Picked unit)) = Player 12 (Brown)) then do (Unit - Cause (Casting unit) to damage (Picked unit), dealing (Mana of (Casting unit)) damage of attack type Spells and damage type Normal) else do (Do nothing))
- Wait 0.50 seconds
- Unit - Set mana of (Casting unit) to 0.00
-
Events