• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Drain Life & Siphon Mana

Status
Not open for further replies.
Level 1
Joined
Apr 22, 2019
Messages
5
Hey , i have a small issue on one of my maps. I have this hero that i want to have both Drain life and Siphon mana abillity (as seperate spells)
Here is the problem i’m having. When my hero learned both the spells it will always cast Siphon mana wich ever abillity of the two i’m trying to use.

I have tried to figure out why but i’m either blind or simply just don’t understand.

Is there a way to fix this?

Thanks in advance!
 
Level 39
Joined
Feb 27, 2007
Messages
5,013
Changing the order strings or base order doesn’t work for most abilities. Channel is an exception. If the abilities are actually colliding then the best thing to do would probably be to create dummy abilities that the unit has instead of the real drain abilities. Then when they cast one of those abilities, disable that dummy ability, enable the appropriate drain, and order it to cast on the target. Catch spell stop casting with s trigger to re-disable the drain and re-enable its dummy version.

Or use Channel to make some custom channeling spells and trigger the drain effects.
 
Status
Not open for further replies.
Top