• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Spell Problem

Status
Not open for further replies.
Level 4
Joined
May 9, 2008
Messages
91
Hi,i wanted to add a lightning bolt to a units hand,it works but the unit attacks ranged,can i modify it so that it attacks melee with the bolt?
 
Level 34
Joined
Sep 6, 2006
Messages
8,873
Simply change the unit's attack to a melee one. The effect actually does not change the units range.

Which unit did you select?
 
Level 4
Joined
May 9, 2008
Messages
91
i made a trigger and created a ability,for example a baility wich adds the bolt to the right hand and a trigger which adds it to the unit if the unit picks up a item.
 
Level 34
Joined
Sep 6, 2006
Messages
8,873
Which ability did you use though?

[off-topic] Please try and correct your spelling. I myself am a horrible speller, but I look over my post for spelling errors before hitting send. If I can't spell a word, I use Google to find the correct spelling. Thanks.
 
Level 4
Joined
May 9, 2008
Messages
91
yeah,i think i tried,but than the unit shouldnt attack with that,it should attack like it would attack normaly,without ability,standard attack.
 
Level 4
Joined
May 9, 2008
Messages
91
i want that a unit has a lightning bolt on its hand,ad attack normal,close to the enemy,means,the foot soldiers fight close to the enemy,and i want that too,but not with a sword,with a bolt.
 
first make the ability of the item, then edit the item ability then find:
Stats - Hero ability
Stats - Unit ability

and if nothing is checked, then its an item ability

if your unit is a hero then
Stats - Hero ability √
Stats - Unit ability

If your unit is a unit then
Stats - Hero ability
Stats - Unit ability √

and sometimes when you do this , the ability disappears, if that happens, restart your WE
 
Status
Not open for further replies.
Top