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

[Trigger] Blood Elf becoming Wretched

Status
Not open for further replies.
Level 65
Joined
Jan 20, 2008
Messages
1,474
The premise is that the Blood Elf Priest and Sorceress get an additional Grand Master Training for an additional Spell and bonuses. Once researched however, any Priest and Sorceress whose mana fall's below 10% while casting a spell will "turn" into a Wrecthed. Here's the trigger so far:

142431-albums5757-picture88291.png


Are there any leaks and is this compatible with multiplayer?
 
Level 29
Joined
Sep 26, 2009
Messages
2,600
The condition block is of a type "And" by default, so adding "and" in there has no real meaning.

I'm not sure if it's MUI, because (Casting unit) may be global, and if so, then during the wait time it may get overwritten. Also a wait of 0.01 second will not actually wait that time, but the wait time will be somewhere between 0.05 to 0.27 seconds afaik which increases the chance of casting unit getting overwritten.

I would just replace all (Casting unit) with (Triggering unit) since that is local and afaik (Casting unit) function calls (Triggering unit) anyway, so you will get less function calls which is always a plus... and unless really needed, I would remove the wait time.

You could merge together the Wretched Sorceress and Wretched Priest triggers (if sorceress does the same) by using an OR condition block for checking unit type of triggering unit and an If/Then/Else structure in actions to either swap the unit for Wretched Priest or Wretched Sorceress.
 
Status
Not open for further replies.
Top