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

[Solved] Siphon Mana on ally not working when triggered.

Status
Not open for further replies.
Level 30
Joined
Apr 6, 2010
Messages
3,218
The following trigger isn't working and I can't figure out why:

  • mana restore libr
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • ((Triggering unit) Equal to High Librarian 0460 <gen>) and ((Ability being cast) Equal to Mana Shield)
    • Actions
      • Unit - Order Font of Magic (Level 4) 0458 <gen> to Human Blood Mage - Siphon Mana High Librarian 0460 <gen>
      • Unit - Order Font of Magic (Level 4) 0459 <gen> to Human Blood Mage - Siphon Mana High Librarian 0460 <gen>
I tried with a "unit begins channeling" event as well, but it still doesn't work.

The thing is, it works perfectly manually: The ability is based off the Blood Mage's which allows mana transfer instead of the standard one, I checked the game constants to ensure mana transfer is allowed, and most annoying of all, I can order both units to transfer mana by clicking the ability and then the target. So why won't it work via triggers?
 
Level 30
Joined
Apr 6, 2010
Messages
3,218
Tried with Mana Shield and Healing Wave, it didn't work.
Tried with War Stomp and Healing Wave, and it did work.
Tried with War Stomp and Siphon Mana, and it worked.

Tried with Mana Shield and Siphon Mana, and "starts the effect of an ability" instead of "starts casting", and it worked.

The inner machinations of GUI are an enigma.
 
Status
Not open for further replies.
Top