• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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,037
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