PDA

View Full Version : Custom Ability Buff


HowDoUMakeLv20
08-17-2005, 3:32 PM
I have made an ability based off death coil, so it heals you, and im trying to make it so when you cast it on yourself (and only yourself because it is still a healing skill for your allied undead units) you get 5 bonus damage. My trigger i have so far looks like this, the only trouble im having is with the actions.
Events
Unit - A unit begins casting an ability
Conditions
((Ability being cast) equal to My_ability) and ((Unit-type of (Targeted Unit)) equal to My_Hero
Actions
(nothing)


Now im not even sure that is all right but... I tried. I also already have an ability that adds 5 damage. A little help and/or correction would be nice!

Dayoh
08-18-2005, 4:32 AM
what u have to do is look at the normal abilities and edit them thats all, u shouldnt need a trigger.
Edit abilities like priest "Heal" and change it from auto cast, and change the stats.
Easy as that.:)

HowDoUMakeLv20
08-18-2005, 11:05 AM
what u have to do is look at the normal abilities and edit them thats all, u shouldnt need a trigger.
Edit abilities like priest "Heal" and change it from auto cast, and change the stats.
Easy as that.:)
no its not, because you cant add multiple effects to a spell that already doesnt have it. And besided it is supposed to only effect undead ^_^ and I dont really need help with it now, my friend and I are learning Jass so we will know how really soon.

XZminX
08-18-2005, 7:58 PM
You obviously need the spell "Item Attack Bouns" that increases att damage by 5. Make that spell Hero spell or unit spell but not item. You also need a dummy caster to have that spell and each time your hero casts Death Coil, you:
1. create dummy caster near hero
2. set dummy caster's mana to 100% (not needed if spell doesnt cost any mana)
3. Issue dummy to cast Attack Bonus on hero
4. wait a sec or two (time to cast)
5. remove dummy

Dont forget to modify the spell to your needs (duration time, buffs, special effects, mana cost(not needed), etc.). Enjoy. With jass that could be done much easier.

Dayoh
08-19-2005, 12:56 AM
no its not, because you cant add multiple effects to a spell that already doesnt have it. And besided it is supposed to only effect undead

i used that heal spell as an example, just because the spell is only for undead u can change anything in a spell.
If ur learning JASS and dont know that lol

HowDoUMakeLv20
08-23-2005, 9:34 PM
Thanks xziminx that helped me the most (lol screw you other guys ^_^)

XZminX
08-24-2005, 9:25 AM
LOL it's XZminX ;)