| 06-12-2003, 11:14 PM | #1 |
Is it possible to take a skill, such as bloodlust, and make it so when the player clicks the button it automatically casts it on the unit with that skill, much like Avatar does not have a target and automatically changes the user into an avatar. Is JASS Needed? Any help would be great! |
| 06-13-2003, 03:26 AM | #2 |
Guest | Theres one way i know that would work but personally i rather not use it. Make a dummie skill give it to your hero or unit then setup some triggers when the skill is used order another unit to cast the spell on the unit that used the dummie skill. Like i said since it requires another unit i dont like this way but you probably can get it with jass editing but i wouldnt know since i dont know jass. Sorry cant be of more help. |
| 06-13-2003, 04:53 AM | #3 |
I can mention 2 ways that this may work. The easy way is to make bloodlust a self-targeting spell and you simply wait for the caster to enhance himself. The ai casts bloodlust when it comes under attack if you arent directly trying to micro that hero. However, perhaps a better way is this: Make 2 skills for that hero, one is like a furbolg or water elemental summon to trigger the bloodlust, the other is an endurance aura to simulate bloodlust. Now to set this up, do the following: 1) Make both skills show up in the same button position and use similar looking buttons. 2) Set the text of the furbolg summon to state that it will activate the self-bloodlust and the text of the endurance aura to be the active bloodlust. (just say like bloodlust is active). 3) Remove the area affect for the endurance aura and set its target to self. 4) Change the applied SFX of the endurance aura in your racial func text to reflect what you want the ability to look like. 5) Now trigger it up, have a trigger for when that hero, and only that hero summons a furbolg, remove the furbolg, disable the furbolg summon ability by its codebase 'AIff' and enable 'AOae', (you have to enable the spell by its codebase, not the alias you give to them) and then wait for 30 seconds using a real wait trigger, like heaven's, and then disable it again and re-enable the furbolg summon ability. That will give you a one-click bloodlust ability. Eye |
| 06-13-2003, 05:24 AM | #4 |
Guest | Complicated in my opinion but if it works it works besides its up to IgeniousMask what suggestion he'll use that he gets. Although there must be an easier way then these 2 mentions by me and you to get it to cast itself on the hero when clicked. O well i dont know of a better way than these 2 so maybe someone else does. |
| 06-15-2003, 02:53 AM | #5 |
2 complecated for me... i suk at Jass scripts... i need comments and advice for my maps so i can c if there ok plz help me too! http://www.wc3campaigns.com/forums/s...threadid=19276 anywayz i tried that spell techniq and i had no idea what 2 do... |
| 06-24-2003, 04:51 AM | #6 |
just change the targets to self and it should workk. Thasta simple slk edit. |
| 06-24-2003, 07:52 PM | #7 |
Why all the trouble? The only thing to do is base the spell on spirit wolf that has the bloodlust spell, then when unit enters region >> make unit cast Orc Shaman - Blood Lust on (Hero) |
| 07-22-2003, 03:55 AM | #8 |
Guest | Now that the FT editor is out, how would you go about doing the same thing. In my case, I want a hero to self cast a anti-magic shell spell instead of bloodlust, but at 3 different upgrade levels. This will probably mean Id have to have 3 different triggers for each one but if someone knows a better way Ill go for that. Also, I want to make another spell that will cast the anti-magic spell that works like roar and casts anti-magic shells on all surrounding units. Any ideas? |
| 07-22-2003, 04:47 PM | #9 |
If your using FT WE, then use FRENZY instead :-P its the same and when u click to cast it auto targets self (no cursor) |
