Warcraft III resources & community, 2003–2006 · archived

Multiple Effect Items

5 posts
#1

Multiple Effect Items

Please someone could help me!I make an arena map with a lot of changes during warcraft normal gameplay.One thing I can't do.I want to make any item to have positive and negative effects.Positive is ok,but negative is not.For example one of the items is:Holy Herb...this item makes attack faster and idea for negative effect is to descrease damage of the hero when worn.Well I use Claws of Attack ability to descrease damage of the item, but the value is still integer and I can't write negative numbers...! PLZ HELP ME :(

Thanks!
#2
wow man im not sure..i looked around and maybe if you used triggers maybe something like
----------------------------------------------------
Event: Unit - A unit Uses an item

Condition: ((Triggering unit) has an item of type Holy Herb) Equal to True

Action: Hero - Modify Strength of (Triggering unit): Subtract 10
-----------------------------------------------------

That is the closest to what your looking for that i could find..hope it helps.
Also you can change the modification in the action from strength to agility or intelligence, i just used strength as an example.
#3
or if the item is not a charged item the event should be changed to


-------------------------------------------------

Event: Unit - A unit Acquires an item

-------------------------------------------------

and then continue through the trigger as i had it before
#4
if your still having a problem feel free to write me an email or instant message me.
#5
Use a negative command aura that only targets "self" (the hero that has the herb).

For a positive buff, use a Endurance aura that targets self.

To make negative auras, go to File, Preferences, And click Allow negative real values on World Editor.

-Rui