Hi, as my first post here i wish this could be better, but im in a tight spot and require some hands on assitance
Ive been working on a spell using JASS in a map ive been making. I need the ability to add a 40% attack speed increase, but at the same time a 200% increase in magic damage taken to the casting unit, preferably without targeting. Im a little new to this, but ive been coming along fine until this point. Any recommendations for abilities to base these effects on, or functions to get them accomplished would be appreciated.
Also, ive been having troubling finding a way to add a buff to a unit using a function in JASS. Any help here would be appreciated as well.
to make it attack 40% faster create a custom endurance aura with no speed bonusess. to make him take 200% more magic damage give him an item spell named spell damage reduction where is the field with the how many immunity it will give do --> Hold down shift. and then type -200 and press enter. now give those abilities to the hero you want and when needed
Thanks for the input Nantuko_Husk! Any ideas on how I would get the abilities to all activate on a single hero with a single click, as well as add a buff? I also need the ability to have an infinte duration until the spell is turned off. Much like "Defend" on footmen.
BTW i have tried using Defend, but it doesnt seem to have any trigger action when it is used, so it doesnt work for my purposes
follow this link. its a spell template that is based on such abilities you say (defend,immolation ect.) so when you actiave it it gives some specific bonuses when you de-activate it removes the bonuses or adds other ones. it has instructions in it.
and give credits to Daelin,he is the author of that template. he has included examples and instructions in it. if you still dont understand then contact him.
BTW i have tried using Defend, but it doesnt seem to have any trigger action when it is used, so it doesnt work for my purposes
to detect defend you dont use -Unit starts the effect/begins casting an ability but...
-Events Unit is issued an order
-Conditions Issued unit eual to some unit Issued unit is a hero equal to true Issued Order equal to order "defend"
-Actions It's up to you now!
and add more/less conditions based on your needs. to get when a unit is issued undefend do the same just change the Issued Order equal to order "defend" to Issued Order equal to order "undefend"
that will work,but i still suggest using the link i gave you.
About adding a buff, that's because that function doesn't exist. There are very few functions inexistant in GUI but available in JASS. Sorry, but you'll have to use a dummy ability for this!
excellent, thanks for the help guys i think i can get this working now.
DaelinAbout adding a buff, that's because that function doesn't exist. There are very few functions inexistant in GUI but available in JASS. Sorry, but you'll have to use a dummy ability for this!