• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Solved] An aura that increase attack range

Status
Not open for further replies.
Level 13
Joined
Oct 28, 2019
Messages
523
An Archer has normal attack and a flaming arrow ability (1000 range)
if it is upside a wall or other upside terrain, it has more attack range to (normal attack, and flaming arrow ability)

Im thinking in doing if it enter region gains a ability improved bows and replace the flaming arrow to other with more range.

but an dummy aura should be better. Any ideas
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,866
If you're on patch 1.31+

I made a custom aura that can be used to give units abilities or whatever you want:

Instead of Regions you could do periodic Height checks on your units. I believe you can get the Cliff height of a Point and the Z-axis of a Point, both should work.
 
Last edited:
Level 13
Joined
Oct 28, 2019
Messages
523
ok im taking a look

why my trigger is not working?

  • Bowman enter cliff 3 Copy Copy
    • Events
      • Unit - A unit enters Cliff1 <gen>
    • Conditions
      • (Unit-type of (Entering unit)) Equal to Bowman
    • Actions
      • Unit - Set (Entering unit) acquisition range to 1650.00
      • Unit - Add Critical Strike (Neutral Hostile) to (Entering unit)
ive put 1650 the range, and 1300 the accsition range, simply dont change de AR
 
Level 13
Joined
Oct 28, 2019
Messages
523
Not sure, but how are you increasing the attack range? Or does the Bowman already have 1650 attack range?

Acquisition range alone won't do anything besides make the unit acquire targets farther away.
yes, the bowman has 1650 of attack range, but the action set AR dont work, the critical strike appears, means that the trigger has trigged
 
Level 13
Joined
Oct 28, 2019
Messages
523
ah it worked, but the attack range dont go to 1650

ty Uncle, solved,
  • Bowman enter cliff 3 Copy Copy
    • Events
      • Unit - A unit enters Cliff1 <gen>
    • Conditions
      • (Unit-type of (Entering unit)) Equal to Bowman
    • Actions
      • Unit - Set (Entering unit) acquisition range to 1650.00
      • Unit - Set Unit: (Triggering unit)'s Weapon Real Field: Attack Range ('ua1m')at Index:1 to Value: 1650.00
      • Unit - Add Critical Strike (Neutral Hostile) to (Entering unit)
now I will use 2 levels of flaming arrow, when it enter a cliff, increase the level of ability, and the range, I didnt know about this of set attack range... etc
 
Last edited:
Status
Not open for further replies.
Top