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

[Spell] Black Arrow affect hero?

Status
Not open for further replies.
Level 11
Joined
Jun 26, 2014
Messages
513
The Dark Ranger's Black Arrow ability does not work on Heroes. By that I mean that I does the bonus damage, but it does not curse them so when they die they'll spawn a creep. How can I make it so that the attacked Heroes also get cursed/debuffed?
 
Level 12
Joined
May 22, 2015
Messages
1,051
It might not ever work on heroes (it could be harcoded into WC3 - I haven't tested it myself before), but I'd take a look at the "Can't raise, doesn't decay" field (I forget the actual field name) for the hero in the object editor. I think it has to be "Can raise, does / doesn't decay".
 
Level 11
Joined
Jun 26, 2014
Messages
513
It might not ever work on heroes (it could be harcoded into WC3 - I haven't tested it myself before), but I'd take a look at the "Can't raise, doesn't decay" field (I forget the actual field name) for the hero in the object editor. I think it has to be "Can raise, does / doesn't decay".

Great, it worked thanks!


It's too complex for me, I hardly understand anything. Actually I can understand most stuff but idk why and how they function. Like what does picking every second every unit in the map do and stuff?
 
Last edited:
Level 11
Joined
May 16, 2016
Messages
730
Great, it worked thanks!
It's too complex for me, I hardly understand anything. Actually I can understand most stuff but idk why and how they function. Like what does picking every second every unit in the map do and stuff?
"I don't know how, but it works!":D
Check every 001 (you can increase interval a bit if you want) is checking do unit has a buff, if yes then the system store integer bounded for picked unit depending on buff power.
When unit dies the system extracts the stored integer and create a proper skeleton.
 
Level 11
Joined
Jun 26, 2014
Messages
513
"I don't know how, but it works!":D
Check every 001 (you can increase interval a bit if you want) is checking do unit has a buff, if yes then the system store integer bounded for picked unit depending on buff power.
When unit dies the system extracts the stored integer and create a proper skeleton.

I just realized you're using the poison arrows... omg I don't even need the Black Arrows I'm using them cuz they have the buff on hit cuz idk how to use DDSystem ... Now I can just use the Poison Arrows instead and not make all my heroes ''Can raise, does decay'' Thanks mate :D

Edit: I used Black Arrows to detect if units on the map have the buff but the buff did not show on heroes. :D
 
Status
Not open for further replies.
Top