Spell- 3 Ability's in 1 trigger

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

Moderator: Cheaters

Arabidnun
Forum Staff
Posts: 506
Joined: August 5th, 2007, 1:38 pm
Title: Gui Expert
Location: *Unknown*

Spell- 3 Ability's in 1 trigger

Post by Arabidnun »

I am creating a new item, but i want it to have these 3 item abilities..However, i dont have enough room due to the fact that I already have Vampric aura, Evasion , and +50 damage. So, i thought i could do it in Gui....

Item Abilities
1)Beserk 50IAS and 25IMS, Along with 150% damage taken
2)Unholy Frenzy( for DSP to user) 75 DSP for 15s
3) Command Aura for 200% damage for 15s

#Event:
-Unit- A unit begins casting an ability(one out of the 3 that is connected to the item)

#condition:
-Ability Being Cast Equal To (item ability 1)

#Action:
(I want the 3 abilities to be used on on the triggering unit, But i dont want it showing up on their hero as an ability you would use)


Can anyone help me complete the action?
User avatar
Bartimaeus
Tyrannical Drama Queen
Posts: 4430
Joined: November 19th, 2007, 5:05 am
Been thanked: 2 times

Re: Spell- 3 Ability's in 1 trigger

Post by Bartimaeus »

Arabidnun wrote:I am creating a new item, but i want it to have these 3 item abilities..However, i dont have enough room due to the fact that I already have Vampric aura, Evasion , and +50 damage. So, i thought i could do it in Gui....

Item Abilities
1)Beserk 50IAS and 25IMS, Along with 150% damage taken
2)Unholy Frenzy( for DSP to user) 75 DSP for 15s
3) Command Aura for 200% damage for 15s

#Event:
-Unit- A unit begins casting an ability(one out of the 3 that is connected to the item)

#condition:
-Ability Being Cast Equal To (item ability 1)

#Action:
(I want the 3 abilities to be used on on the triggering unit, But i dont want it showing up on their hero as an ability you would use)


Can anyone help me complete the action?
Wait, I'm sorry if I sound dumb, but I don't understand the first part O_o
What do you mean 'not enough room'? I don't understand what this means, please explain since I'm dumb :P
Arabidnun
Forum Staff
Posts: 506
Joined: August 5th, 2007, 1:38 pm
Title: Gui Expert
Location: *Unknown*

Re: Spell- 3 Ability's in 1 trigger

Post by Arabidnun »

You know how when u add abilities to items, you can only add 4? Well, i already have 3 abilitie slots taken, but i want a spell item to be the 4th abilitie, but iwant the ability to have all 3 attributes of Unholy Frenzy, Beserk and command aura
User avatar
Bartimaeus
Tyrannical Drama Queen
Posts: 4430
Joined: November 19th, 2007, 5:05 am
Been thanked: 2 times

Re: Spell- 3 Ability's in 1 trigger

Post by Bartimaeus »

Arabidnun wrote:You know how when u add abilities to items, you can only add 4? Well, i already have 3 abilitie slots taken, but i want a spell item to be the 4th abilitie, but iwant the ability to have all 3 attributes of Unholy Frenzy, Beserk and command aura
:O. I don't know how to add an aura as a trigger...the rest, I think, are quite easy.
Arabidnun
Forum Staff
Posts: 506
Joined: August 5th, 2007, 1:38 pm
Title: Gui Expert
Location: *Unknown*

Re: Spell- 3 Ability's in 1 trigger

Post by Arabidnun »

Can you tell me how to do the others as triggers?
User avatar
Bartimaeus
Tyrannical Drama Queen
Posts: 4430
Joined: November 19th, 2007, 5:05 am
Been thanked: 2 times

Re: Spell- 3 Ability's in 1 trigger

Post by Bartimaeus »

Arabidnun wrote:Can you tell me how to do the others as triggers?
I'll try...but please note that I have absolutely no experience with abilities/buffs. So I might not get it done tonight...or tomorrow...or ever...lol, if I can't do that, someone who is experienced with abilities should be able to do this easily...
User avatar
Xantan
Honorary wc3edit.net Traitor
Posts: 2507
Joined: February 1st, 2007, 4:11 pm
Location: NEVADA

Re: Spell- 3 Ability's in 1 trigger

Post by Xantan »

unit uses item as an event

condition, you've got it

action: unit --> add ability to unit, or effect, or something.

Now just make this ability invisible, and make it like a buff, where it is what you would want, then you can remove the abilities from the unit after a 'x' amount of time with a wait if wanted...

thats one way to fit it...

not really 100% sure on all of that without looking, though.
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: Spell- 3 Ability's in 1 trigger

Post by Aero »

Arabidnun wrote:I am creating a new item, but i want it to have these 3 item abilities..However, i dont have enough room due to the fact that I already have Vampric aura, Evasion , and +50 damage. So, i thought i could do it in Gui....

Item Abilities
1)Beserk 50IAS and 25IMS, Along with 150% damage taken
2)Unholy Frenzy( for DSP to user) 75 DSP for 15s
3) Command Aura for 200% damage for 15s

#Event:
-Unit- A unit begins casting an ability(one out of the 3 that is connected to the item)

#condition:
-Ability Being Cast Equal To (item ability 1)

#Action:
(I want the 3 abilities to be used on on the triggering unit, But i dont want it showing up on their hero as an ability you would use)


Can anyone help me complete the action?
What you're saying is that you made an item and you wan't to add 3 more abilities to this item, but 3 abilities +3 abilities > 4 abilities (Ability cap is 4 abilities for an item)

I just have 1 more question, do ALL 3 abilities fire off at once?
If so I have the perfect solution for you.
Arabidnun
Forum Staff
Posts: 506
Joined: August 5th, 2007, 1:38 pm
Title: Gui Expert
Location: *Unknown*

Re: Spell- 3 Ability's in 1 trigger

Post by Arabidnun »

Yes, All 3 abilities fire off conecutivly for 15 seconds...

Unholy Frenzy(variation): 75 DPS for 15seconds
Beserk(variation): Increased Attack 50%, Movement 25% For 15Seconds
Command Aura(Just for damage): Increased Damaged By 200% for 15seconds
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: Spell- 3 Ability's in 1 trigger

Post by Aero »

All right, here is what you do:

These are your 3 abilities:

Item Abilities
1)Beserk 50IAS and 25IMS, Along with 150% damage taken
2)Unholy Frenzy( for DSP to user) 75 DSP for 15s
3) Command Aura for 200% damage for 15s

Now, unholy frenzy is the only one that's unit-targettable so we're using that as our fourth item ability.

One ability down--2 to go.

Since berserk is instant-cast, we can add/cast/remove the ability to retain its effect
For command aura, we'll hide it in a disabled spellbook (So the hero has the aura but it isn't visible)--To do this, find the ability called "Spell Book" and change spells to "Command Aura" and number of spells to one (And that's it!)

Then do the following...

Code: Select all

Some Spell
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Unholy Frenzy
    Actions
        -------- Since berserk is instant cast, we can do the following --------
        Unit - Add Berserk to (Target unit of ability being cast)
        Unit - Order (Target unit of ability being cast) to Orc Troll Berserker - Berserk
        Unit - Remove Berserk from (Target unit of ability being cast)
        -------- For command aura, we'll add a disabled spellbook containing it --------
        Player - Disable Spell Book for (Owner of (Target unit of ability being cast))
        Unit - Add Spell Book to (Target unit of ability being cast)
        Wait 15.00 game-time seconds
        Unit - Remove Spell Book from (Target unit of ability being cast)
        Player - Enable Spell Book for (Owner of (Target unit of ability being cast))