Spoiler:
more then 4 ability on 1 item
Moderator: Cheaters
-
- Newcomer
- Posts: 9
- Joined: November 8th, 2008, 10:31 pm
more then 4 ability on 1 item
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
-
- Forum Staff
- Posts: 506
- Joined: August 5th, 2007, 1:38 pm
- Title: Gui Expert
- Location: *Unknown*
Re: more then 4 ability on 1 item
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:
So if He picks up the item, he gets the ability. Now, what about it he drops it?
-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
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
-
- Junior Member
- Posts: 35
- Joined: May 28th, 2008, 9:21 pm
- Title: eruliaF
Re: more then 4 ability on 1 item
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?
-
- Forum Staff
- Posts: 506
- Joined: August 5th, 2007, 1:38 pm
- Title: Gui Expert
- Location: *Unknown*