Ayanami
칼리
- Reaction score
- 288
I have been wondering, is there any way to increase unit's range by adding skills? I can't seem to find the trigger "Unit - Increase Range" or something like that either. Help please. Thanks.
range
Events
Unit - A unit Is attacked
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Incresed Range for (Attacking unit)) Equal to 1
Then - Actions
Unit - Set (Attacking unit) acquisition range to 1800.00
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Incresed Range for (Attacking unit)) Equal to 2
Then - Actions
Unit - Set (Attacking unit) acquisition range to 2200.00
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Incresed Range for (Attacking unit)) Equal to 3
Then - Actions
Unit - Set (Attacking unit) acquisition range to 2800.00
Else - Actions
Err, I can't seem to convert the long rifles into a spell. It is in the upgrades section....Try the upgrade Long Rifles
Code:range Events Unit - A unit Is attacked Conditions Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Level of Incresed Range for (Attacking unit)) Equal to 1 Then - Actions Unit - Set (Attacking unit) acquisition range to 1800.00 Else - Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Level of Incresed Range for (Attacking unit)) Equal to 2 Then - Actions Unit - Set (Attacking unit) acquisition range to 2200.00 Else - Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Level of Incresed Range for (Attacking unit)) Equal to 3 Then - Actions Unit - Set (Attacking unit) acquisition range to 2800.00 Else - Actions
Base the skill on any passive or aura abillity , btw change the event to the one that fits you.
Untitled Trigger 002
Events
Unit - A unit Learns a skill
Conditions
(Learned Hero Skill) Equal to Avatar
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Avatar for (Learning Hero)) Equal to 1
Then - Actions
Player - Set the current research level of Long Rifles to 1 for (Owner of (Learning Hero))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Avatar for (Learning Hero)) Equal to 2
Then - Actions
Player - Set the current research level of Long Rifles to 2 for (Owner of (Learning Hero))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Avatar for (Learning Hero)) Equal to 3
Then - Actions
Player - Set the current research level of Long Rifles to 3 for (Owner of (Learning Hero))
Else - Actions
Do nothing
Scope
Events
Unit - A unit Learns a skill
Conditions
(Learned Hero Skill) Equal to Scope
Actions
Player - Set the current research level of Long Rifles to ((Current research level of Long Rifles for (Owner of (Triggering unit))) + 1) for (Owner of (Triggering unit))
Unit - Set (Triggering unit) acquisition range to ((Current acquisition range of (Triggering unit)) + 30.00)
1) Give your hero the Long Rifles upgrade.
(Object editor.....Techtree - Upgrades Used)
2) Edit the variables of Long Rifles to suit your map
3) Create a critical strike or bash type skill with 0's and name it appropriately
4) Remember to increase the units acquisition range in the trigger!
Example: Hero has 600 attack range and 600 acquisition range to begin with. Long Rifles gives him 30 increased attack range per level.
Code:Scope Events Unit - A unit Learns a skill Conditions (Learned Hero Skill) Equal to Scope Actions Player - Set the current research level of Long Rifles to ((Current research level of Long Rifles for (Owner of (Triggering unit))) + 1) for (Owner of (Triggering unit)) Unit - Set (Triggering unit) acquisition range to ((Current acquisition range of (Triggering unit)) + 30.00)