Hi there, I was wondering if it is possible to only allow a spell to target one specific unit-type. Like I have a hero that summons these specific spiders, and I want him to have another spell that he can only cast on them. Is there a way?
Oh yes sorry! I should've included that as well. At map initialization I set chevalierlearned=false and when the spell is learned:
Chevalier Initiation
Events
Unit - A unit Learns a skill
Conditions
(Learned Hero Skill) Equal to Chevalier
Actions
Set...
Hey y'all. So i took a long break from creating and now I'm completely useless... I'm trying to create a spell based off of critical strike (for the never miss option) which doesnt actually do bonus damage but instead, the hero which has the passive spell (called Chevalier) has a chance to go...
So I am finally happy with it! Instead of using heal (because I wouldn't be able to get projectile art from each tree like I wanted) I used healing wave and just made it not bounce. Thanks again :)
Okay so! I did the footman thing and tried to manually cast it on myself but it said cannot target allies or something like that even though I set the targets allowed to include allies :(, so then instead of using storm bolt as a dummyspell base I used a spell that normally targets allies...
Thanks for your help guys! Ryushi, I don't really mind the one time lag, I was just thinking it might have something to do with the problem (and currently my map is too embarassingly bad to upload hahahah, it's one of those wanna be dotas that im just making for me and a few friends :P). Dirac...
Hmmm yeah I made it a normal dummy spell with max range, no cd, no manacost, allied targetable and all that stuff. I can't figure it out. Also the first time that I use the spell in the map it freezes for a couple of seconds every time, only the first time I use it though, after the first it...
Oh sorry one more thing!
Empowerment
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Empowerment
Actions
Set empowermenttotalinteger = 0
Destructible - Pick every destructible within 700.00 of...
Oh thanks, but wouldn't that be picking all of the destructibles when I am just looking for the trees? I could find anything like "matching condition" under the destructible part before thats why I went for the unit thing instead :(
Oh sorry, I used the copy as text but didn't know how to use wc3 tags until now :) here ya go:
Empowerment
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Empowerment
Actions
Set...
Empowerment
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Empowerment
Actions
Set empowermenttreewallinteger = (Number of units in (Units within 700.00 of (Position of (Triggering unit)) matching...
Yeah I looked over there already and they don't have specific warcraft tree models (which isnt super helpful because im looking specifically for the felwood tree wall.) I guess I will have to rethink that spell. Thanks for the replies though! :)