- Joined
- Jun 23, 2009
- Messages
- 297
I made a tower wich provides a modified Devotion Aura to all the player units, but dont know how to upgrade it to higher levels...
thnks for the help
thnks for the help
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Devotion Aura

Events


Unit - A unit Finishes research


Unit - A unit Finishes an upgrade

Conditions


(Triggering unit) Equal to <YourUnit>

Actions


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



If - Conditions




(Level of <YourAura> for (Triggering unit)) Equal to 1



Then - Actions




Unit - Set level of <YourAura> for (Triggering unit) to 2



Else - Actions




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





If - Conditions






(Level of <YourAura> for (Triggering unit)) Equal to 2





Then - Actions






Unit - Set level of <YourAura> for (Triggering unit) to 3





Else - Actions






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







If - Conditions








(Level of <YourAura> for (Triggering unit)) Equal to 3







Then - Actions








Unit - Set level of <YourAura> for (Triggering unit) to 4







Else - Actions
Upgrading Aura

Events


Unit - A unit Sells a unit

Conditions


(Unit-type of (Selling Unit)) Equal to <MyTower>


(Unit-type of (Sold unit)) Equal to <MyAura>

Actions


Set MyAuraLevel = (MyAuraLevel + 1)


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



If - Conditions




asd Equal to 2



Then - Actions




Unit - Set level of <My Aura> for <My Tower> to 2



Else - Actions




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





If - Conditions






asd Equal to 3





Then - Actions






Unit - Set level of <My Aura> for <My Tower> to 3





Else - Actions






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







If - Conditions








asd Equal to 4







Then - Actions








Unit - Set level of <My Aura> for <My Tower> to 4







Else - Actions
I just looked in object editor under upgrades and there is an effect called "Ability level bonus".
