• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Range Ability

Status
Not open for further replies.
Level 11
Joined
Jul 2, 2004
Messages
471
I know there is no trigger in WE that increase the attack range of an unit. But i know you can do it with WEU..

But is there any Spell/Ability/Buff/Effect that increase the attack range?
For long time ago i mean, that Trueshot Aura increase the attack range. but it dosent now.
 
Level 2
Joined
Oct 31, 2004
Messages
19
Can't you just trigger the desired effect into the spell?

eg. So and so begins casting an ability
Apply Upgrade which increases attack range
ability ends
remove upgrade that increases attack range.
 
Level 11
Joined
Jul 2, 2004
Messages
471
Okey!

Trigger 01

Event:
Unit - A unit owned by Player 1 (Red) Acquires an item

Condition:
(Item-type of (Item being manipulated)) Equal to Tome of X

Action:
Set level of the upgrade to 2

--------------------------------------------------------

Trigger 02

Event:
Unit - A unit owned by Player 1 (Red) Acquires an item

Condition:
(Item-type of (Item being manipulated)) Equal to Tome of Y

Action:
Set level of the upgrade to 1
 
Level 11
Joined
Jul 2, 2004
Messages
471
Ok, I have an idea about deactivation. Why not make three levels? Level 1 does nothing, level 2 is level 1 and level 3 is level 2. And now, when you want to deactivate, just set it to level 1. Easy enough?

~Daelin

How do you do that?
I use the upgrade "Long Rifel" but i cant set Level 1 = 0 Bonus Range
Level 2 = 0 Bonus Range
Level 3 = 500 Bonus Range

You can only set the Bonus Range per level.[/code]
 
Level 11
Joined
Jul 2, 2004
Messages
471
Set Melee Attack:

Event:
If (xxx) unit pick up an item

Codition:
Item Type equal to (sword)

Action:
Set current research level of Long rifle to 1 for player 1

--------------------------------------------------------

Set Range Attack:

Event:
If (xxx) unit pick up an item

Codition:
Item Type equal to (bow)

Action:
Set current research level of Long rifle to 2 for player 1

---------------------------------
The problem is, you cant decrease the level of an upgrade.
 
Status
Not open for further replies.
Top