• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] Is this MPI?

Level 22
Joined
Mar 16, 2008
Messages
981
Could multiple players use this at the same time without the real variable getting used for the other? Thank you.

  • Soul Discharge Cast
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Soul Discharge
      • (Mana of (Casting unit)) Greater than or equal to 100.00
    • Actions
      • Set VariableSet dk_mana = (Mana of (Casting unit))
      • Unit - Set mana of (Casting unit) to 0.00
      • Unit - Set life of (Casting unit) to ((Life of (Casting unit)) + dk_mana)
 
Top