• 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.

Melee unit autocasting an arrow ability

Status
Not open for further replies.
Level 19
Joined
Aug 8, 2007
Messages
2,765
Title... its not as simple as it looks. Giving a unit cold arrows and making it attack with cold arrows will do nothing. Any workarounds? I'd like to keep the base damage to be saved as a variable on damage event, thanks!

Also, still looking for how to disable autocast
 
Level 12
Joined
Mar 13, 2012
Messages
1,121
Title... its not as simple as it looks. Giving a unit cold arrows and making it attack with cold arrows will do nothing. Any workarounds? I'd like to keep the base damage to be saved as a variable on damage event, thanks!

Cold Arrows work on melee units except that they cant place any buff.
You can make the unit ranged with very small range, high missile speed (e.g. 0 which is instant) and an invisible projectile.

I dont know why you have to use cold arrows at all but you seem to have a reason..

Also, still looking for how to disable autocast

  • Events
    • Unit - A unit is issued an order with no target
  • Conditions
    • (Issued order) equal to (Order(coldarrows))
  • Actions
    • Unit - Order unit to Neutral Naga Sea Witch - Deactivate Frost Arrows
 
Level 19
Joined
Aug 8, 2007
Messages
2,765
Cold Arrows work on melee units except that they cant place any buff.
You can make the unit ranged with very small range, high missile speed (e.g. 0 which is instant) and an invisible projectile.

I dont know why you have to use cold arrows at all but you seem to have a reason..



  • Events
    • Unit - A unit is issued an order with no target
  • Conditions
    • (Issued order) equal to (Order(coldarrows))
  • Actions
    • Unit - Order unit to Neutral Naga Sea Witch - Deactivate Frost Arrows

I tried the trigger to no avail, and im making an ability that deals 200% attack damage. Making the unit have 101 range is my last resort
 
Level 12
Joined
Mar 13, 2012
Messages
1,121
Im sorry, I forgot you need a very short break, something like this:

  • Events
    • Unit - A unit is issued an order with no target
  • Conditions
    • (Issued order) equal to (Order(coldarrows))
  • Actions
    • Countdown Timer - Start timer as a One-shot timer that will expire in 0.00 seconds
  • Events
    • Time - timer expires
  • Conditions
  • Actions
    • Unit - Order unit to Neutral Naga Sea Witch - Deactivate Frost Arrows
As for the rest, I still dont see why you need frost arrows. 200% damage sounds a lot more like a normal crit..
 
Level 12
Joined
Mar 13, 2012
Messages
1,121
I think 128 is the max melee range so you might need to make it 129 to make it count as a non-melee attack

No, attack range has nothing to do whether the units weapon type is melee or ranged.
129 is just the default border where the UI starts showing a range for the unit when you hover over its weapon icon.
 
Level 19
Joined
Aug 8, 2007
Messages
2,765
Also, still looking for how to disable autocast

Everythings fixed except this.

  • No Autocast Fiercc blo
    • Events
      • Unit - A unit Is issued an order with no target
    • Conditions
      • (Issued order) Equal to (Order(coldarrows))
    • Actions
      • Trigger - Turn on Fierce Blow2 <gen>
      • Countdown Timer - Start DumTimer as a One-shot timer that will expire in 0.00 seconds
  • Fierce Blow2
    • Events
      • Time - DumTimer expires
    • Conditions
    • Actions
      • Unit - Order (Triggering unit) to Neutral Naga Sea Witch - Deactivate Frost Arrows
      • Trigger - Turn off (This trigger)
nothing.

On a side note, Critical Strike isnt

1) Active
2) Able to have a cooldown
3) Detectable by triggers
 
Status
Not open for further replies.
Top