more then 4 ability on 1 item

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

lolitzutz
Newcomer
Posts: 9
Joined: November 8th, 2008, 10:31 pm

more then 4 ability on 1 item

Post by lolitzutz »

like the topic says ... its any way to add more then 4 abillityes to an item ? i tried with triggers with something like "when unit pick up item [blahblah] then add abilityes [blahlbalhblah] to triggered unit" but ... can't figure it out some help please ! ty
Spoiler:
demons suit
Events
Unit - A unit Acquires an item
Conditions
Demon's Suit Equal to (Item-type of (Item being manipulated))
Actions
Unit - Set life of (Triggering unit) to ((Max life of (Triggering unit)) + 300.00)
Arabidnun
Forum Staff
Posts: 506
Joined: August 5th, 2007, 1:38 pm
Title: Gui Expert
Location: *Unknown*

Re: more then 4 ability on 1 item

Post by Arabidnun »

Well, In a way yes, there is a way to add more than 4 abilities, but as you said it is through triggers.
-Say, you make a Sniper Rifle Item..
Abilities: Critical Strike, Wind Walk, Evasion, +Damage modifier
-However, because its a Sniper rifle, WE NEED RANGE!
So...we make ourself a trigger..

Basically Its like this:

Code: Select all

Aquire Sniper Rifle
    Events
        Unit - A unit Acquires an item
    Conditions
        (Item-type of (Item being manipulated)) Equal to Sniper Rifle
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                ((Hero manipulating item) is an illusion) Not equal to True
            Then - Actions
                Unit - Add Sniper Ability to (Hero manipulating item)
            Else - Actions
So if He picks up the item, he gets the ability. Now, what about it he drops it?

Code: Select all

Drop Sniper Rifle
    Events
        Unit - A unit Loses an item
    Conditions
        (Item-type of (Item being manipulated)) Equal to Sniper Rifle
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                ((Hero manipulating item) is an illusion) Not equal to True
            Then - Actions
                Unit - Remove Snipe Ability from (Hero manipulating item)
            Else - Actions
User avatar
Kyzerdrood
Junior Member
Posts: 35
Joined: May 28th, 2008, 9:21 pm
Title: eruliaF

Re: more then 4 ability on 1 item

Post by Kyzerdrood »

Sniper ability, does that ability change attack range? or what, if so can you show me an example or tell me what spell to base it off of?
Arabidnun
Forum Staff
Posts: 506
Joined: August 5th, 2007, 1:38 pm
Title: Gui Expert
Location: *Unknown*

Re: more then 4 ability on 1 item

Post by Arabidnun »

No, it just changed the range the item can see basically