• 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.

Need help with a simpel trigger!

Status
Not open for further replies.
Level 4
Joined
Aug 4, 2010
Messages
62
  • Event
  • Unit - A unit learns a skill
  • Conditions
  • Ability learned is equal to SpellReduction
  • Actions
  • If-Then-Else
  • If - Conditions
  • Level of SpellReductionDummy for TriggeringUnit is greater than 0
  • Then - Actions
  • Unit - Set Level of SpellReductionDummy for TriggeringUnit to (Level of SpellReduction for TriggeringUnit)
  • Else - Actions
  • Unit - Add SpellREductionDummy to TriggeringUnit
As you uber triggers see it's a simpel trigger BUT the problem is that I can't create it by myself.. so I wonder if there's any helpful people here that could give this 5 min to create a map and upload it so I can download it..

THANKS :)
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
Use If/Then/Else Multiple Functions IN the If/Then/Else Multiple Functions
It is not efficient to use this:

  • Level of SpellReductionDummy for TriggeringUnit is greater than 0
Change the "greater than" to "Equal to" to any value (usually, starts from 1, 2, 3 and so on. The values refer to Level of the ability)

I think you have first, ADD the ability, before SET the level of the ability
Because if you reverse the action, it will return a null function, which is, useless function/trigger
 
Status
Not open for further replies.
Top