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

[Spell] How to make siphon mana when moving

Status
Not open for further replies.
Level 16
Joined
Mar 27, 2011
Messages
1,349
Siphon manner is a "channeling" spell. Which means the caster must remain stationary while using it. In order to move while casting, you will need to trigger the spell.

I could probebly make a trigger for you, but I cannot code MUI (Multi-Unit Instanceability which means multiple units can use it at the same time) for the life of me. Someone else will have to help you out with the trigger.
 
Can some one show me the example trigger ?

It will be very complecated thing to do: there will be hashtable to take in the details, there will be a trigger which is active each 0.1 seconds to show that lightning effect and move it, there will be unit group which is doing the mana drain and check if the target has mana to steal to begin with. and you have to give up on the max mana cap when going above the mana steal since it requires huge system to do. So in short, I don't think anyone on this site will go as far as creating something that takes 5 days to think about just so that one spell will have a small change to it.
 
Level 7
Joined
Jul 1, 2008
Messages
1,025
erm I'm sure theres already an object editor ability, wand of mana stealing it's called (or something like that I am not at my game computer so can;t check) that steals mana from a target enemy units and gives it to caster unit and the caster unit is free to move. No complicated triggering required.

It dosnt have the lighting effect but this can be triggered.
 
erm I'm sure theres already an object editor ability, wand of mana stealing it's called (or something like that I am not at my game computer so can;t check) that steals mana from a target enemy units and gives it to caster unit and the caster unit is free to move. No complicated triggering required.

It dosnt have the lighting effect but this can be triggered.

Yes, the ability you mention is an item ability, I think that ability can be given a lightning effects?! Forgot though
 
Channeling spells will be canceled when you order channeling units that channels them.

So,best_player_88,your not the best,and its even not a funny fact.Its a lie

I'm allready starting to like you.
But leave that aside.
Channels stops when the hero is receving a movement order, not when it was moved into another point with a trigger action.
 
All orders dude.

Channels stops when a unit receives orders,because the unit's current state is an order and if it receives a new order,the current state will be overwritten.

Orders are like variables,when you set first a value and set the variable with a new value.

and mainly,orders are like queues


If you dont believe me,then try casting war stomp while channeling.

Fact:The only active ability that can be used while channeling(other than the channeling spell itself) is the Wind walk.It can be achieved by using an item then holding shift then use the item that has the ability Wind Walk. Proven by IceFrog.

edit

To solve this problem,use SetUnitX and SetUnitY if you want to move the unit when looping.
If you want to create a channeling spell while moving,why not modify this : http://www.hiveworkshop.com/forums/...24036/?prev=search=voodoo%20drain&d=list&r=20 or this : http://www.hiveworkshop.com/forums/...22215/?prev=search=voodoo%20drain&d=list&r=20
 
Status
Not open for further replies.
Top