Help with spell trigger

For fulfilled maps that most likely don't work on the latest patch (1.24 or later).

Moderator: Cheaters

User avatar
ZilvaX
Member
Posts: 52
Joined: December 16th, 2007, 2:23 am

Re: Help with spell trigger

Post by ZilvaX »

How do i add a buff to a attack? and can i put a buff on the skill chain lightning?
Image
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: Help with spell trigger

Post by Aero »

Well, with chain lightning leaving a buff you're into things like dummy casters.
Unfortunately, buffs can't be applied with triggers so you have to use hardcoded wc3 abilities as a base.

Now, I'm on vacation and don't have my world editor with me so I can't give a 'play by play' of what to do.

Though, there's a few tuts out there but if you want to keep it as simple as possible--do what works for you.
You could try that group thing out.
Arabidnun
Forum Staff
Posts: 506
Joined: August 5th, 2007, 1:38 pm
Title: Gui Expert
Location: *Unknown*

Re: Help with spell trigger

Post by Arabidnun »

Well, dont you agree that my way works Aero? I mean since he doesnt know how to do buffs its the best way for him do use it right? not unless he wants a space saver
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: Help with spell trigger

Post by Aero »

Sure it works--but it would be way more efficient if you used "Player number of owner of ..." instead of checking for each player.