HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Bow & arrow system

10-10-2004, 01:46 AM#1
High Loremaster
Is there a way to change a hero's attack range from 100 (melee) to 700 (or any range that is not melee) when the hero picks up an item (i.e. a bow)?
10-10-2004, 01:49 AM#2
Guest
Well you could give it trueshot aura when you pick it up but delete the....hmmmm.....ill look into this...
10-10-2004, 02:38 AM#3
High Loremaster
Actually, I just came up with a better idea. If I gave an item (a bow) the ability Firebolt (modded so it can be used every second, has a stun length of 0.01 seconds, and deals 30 damage), then that could work. But I want the hero to use the item every time he attacks an enemy as long as he carries that item. I tried this trigger, but it doesn't seem to work:

ACTIONS
A unit is issued an order targeting an object
CONDITIONS
Issued order is equal to (attack)
Ordered unit has item type of (bow) equal to true
ACTIONS
Hero- Order (ordered unit) to use (item carried by (ordered unit) of type (bow) on (target of issued order)

Any suggestions?
10-10-2004, 05:48 AM#4
Rafael Br
Use "Issue order targeting a unit" instead, use the order "Neutral - Firebolt".
EDIT: But this trigger will only work when the unit issue the attack order Using the attack command, it will not work when you right-click on the unit or when the hero attacks it automatically.Try replacing the hero with a ranged one, or make an orb for it, orbs enable the Hero second attack, just modify it.
10-10-2004, 08:28 AM#5
Arohk
use an orb of fire ability whit the range,targets and missile art you want and modify the heroes "attack - 2" , i made it like that.