• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Syphon Mana won't Target friend/allied!

Status
Not open for further replies.
Level 7
Joined
Jul 1, 2008
Messages
1,023
I am getting very frustrated, I'm trying to get siphon mana to target allied/friendly units and transfer mana from friendly unit to casting unit but it wont work, I get the "must target enemy units" message.

I have Friend and allied fields ticked on the available targets list, on the game play constants list I also have "Drain gives Bonus Mana" and "Drain transfers mana" ticked but still no luck!

Does anyone know what I'm doing wrong? Is this hard-coded to the wc3 engine?
 
The problem you have is that those siphon mana/life abilities are hardcoded to not drain mana/life from allies. They can be modified though to give mana to allies.

If you want to know how to be able to give mana/life to allies, heres how it works:

Set the Gameplay Constant for "Gameplay - Drain Transfers Mana" or the life one to true like in the attachment. Note that its important that you set them manually to true so that they appear in the pink color. World Editor tells you they are true by default but thats wrong, it tries to fool you.


e: well you can set it to negative numbers to draw mana from allies but that makes the whole ability pointless, as you will give enemies mana then.
 

Attachments

  • GiveLifeMana.jpg
    GiveLifeMana.jpg
    6.8 KB · Views: 508
Last edited:
The way you worded this confused me; You want mana from the targeted unit to go into the casting unit? To do this, you can set the values of mana drained to negative intergers and it should work properly on friendly units, however, when casting on enemy units, you should revert to a copied ability with non-negative integers for values.
If you want the reverse effect; to transfer mana from the casting unit to the target unit, you need to check the value in gameplay constants; which you did not have checked in your test world, that could possibly have resulted in your problem, it worked fine for me.
 
Goblin yes I want mana from the targeted unit to go into the casting unit, just like Siphon normally would, the only difference is I want it to work on friend/allied units too.

I have tried setting the values to negative integers and its still not allowing me to target friendly's, if you got it to work could you post an edited version of my test map please?

Just upload it to your paste bin and send me a link to it please
 
Goblin yes I want mana from the targeted unit to go into the casting unit, just like Siphon normally would, the only difference is I want it to work on friend/allied units too.

I have tried setting the values to negative integers and its still not allowing me to target friendly's, if you got it to work could you post an edited version of my test map please?

Just upload it to your paste bin and send me a link to it please
I did o.o
 
Status
Not open for further replies.
Back
Top