LiveSsenkrad
Member
- Reaction score
- 3
Is there a possible way to change a unit's attack ingame, cause i need to use a barrage skill for the unit attack and the barrage's damage=the unit's attack,
it'll be something like this:
Set Unit attack= 120something like that for example
it'll be something like this:
Code:
Events
Unit - A unit Finishes research
Conditions
(Researched tech-type) Equal to Normal Arrows
Actions
Unit - Create 1 Archer for (Owner of (Researching unit)) at (Position of (Researching unit)) facing Default building facing degrees
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Researching unit)) Equal to (Owner of (Last created unit))
Then - Actions
Unit - Add |cffffcc00N|rormal Attack to (Last created unit)
[B]Set Unit attack= 120[/B]
Else - Actions
Set Unit attack= 120something like that for example