Warcraft III resources & community, 2003–2006 · archived

Dark Arrow

not rated
Submitted by cazatTrigger Enhanced180 downloads90 KB
Screenshot
Screenshot
Dark Arrow gives the dark ranger extra damages and also grants her with chances to control an enemy undead unit.
File Name
dark arrow.w3x
Author
cazat
Download

Comments

4
of course the attacked unit doesn't have the buff on that time. you must wait about (distance/missile speed) second.


umm...i dont really know wat u try to say here...
Charm only works when the unit is attacked by the arrow, so it suppose to work after the missile is launched and hit the target. Thatz wat i was thinking.
And since the arrow was based on unused Posion Arrow Spell, the unit that is attacked by the arrow will have a buff. i made the buff last 1 sec, so in that duration the trigger will run. you probably should look at how the original Posion Arrow works.
i gave a negative life regeneration for the dummy, so it will die after one second.

when u say itz 'wrong', do u mean itz bugged? if not then itz not really a big deal, i hope. :)

btw, for ur jazzed Charm Arrow, i did everything u said except check the orderstring :idea: i will check it then c if i can still use ur version :wink:
Your spell is wrong cazat, coz you check is the unit has buff when it was attacked. 'Unit is attacked' means when the dark ranger launch her missile, of course the attacked unit doesn't have the buff on that time. you must wait about (distance/missile speed) second.

Don't forget to give expiration timer on your dummy, so it will die after casting charm.
Have you already:

-copy the custom script
-make global variable named 'cache'
-Create the dummy unit
-create the charm ability for dummy unit
-Copy those two trigger with Charm Arrow is on top of Charm Arrow Effect
- Change the raw data for dummy unit and charm (custom) ability
- Make sure the orderstring is right! If you use charm arrow based on black arrow, then the order string are 'blackarrowon' and 'blackarrowoff'

Hmm.. i think that's all, i'll check my JASS later.
the arrow actually charms any enemy non hero units below lvl 5, not juz undead units. sorry for that, but the description in game is right.

thanx Daelin and Leopard for their help and advices :wink: !

Leopard: i did everything u said, but i still cant implement ur one :( ...itz actually not juz urs, well, i always got probs when i implement a jazz spell...

newayz, this is my version, i came with the original concept of Charm Arrow, nd then leopard did my request. thanx for teach me how to do the 'percentage of chance' :wink: , that really helped me.
Well, my version might looks similar to leopards, but it works in a different way. the best thing is it only use one trigger! i've tested through, the spell works perfectly.