• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Multiple Effect Items

Status
Not open for further replies.
Level 2
Joined
May 2, 2005
Messages
14
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!
 
Level 13
Joined
Aug 31, 2005
Messages
823
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.
 

Rui

Rui

Level 41
Joined
Jan 7, 2005
Messages
7,550
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
 
Status
Not open for further replies.
Top