Na,man just set the damage per sec in stats to 00.00 and you dont damage anything. Then everything works with these 2 variables.
Now im trying a reversed ability and i still havent come up with the right condition and variable. Anyway this time on your own buildings, to change the owner back to previous whatever it was- player or neutral. I dont know how to make the connection,
Wow I made it work! See the --- text to see from how many places you add actions and how many triggers you connect, wow it didnt even took me so much time, i thought how it had to be and it worked) But i forgot that u shouldnt use same base ability for 1 unit for 2nd custom ability. Now both activate and overlap, so i have to use other than shackles channeling spell with target unit.
So i chose Siphon mana.... Will you tell me how when you have set targets allowed: Structure, Friend why does it make: if i select on my building, it says (ingame) 'must target an enemy unit'. If i select on enemy building says' Unable to target enemy units', if i target enemy unit 'Must target a building'(the only hing ok since i want only frindly building). WTF
-------------------------------------------------------
Anyway if i make the targets up work ok, i made 2 triggers for the 2nd ability as well, i used a 5th trigger (1st trigger is my 1st ability starts 2nd finishes, 3rd 2nd ability starts,4th 2nd ability finishes)So 5th is with event: changes owner, I set variable with prev owner= owner of TargetedSystem (variable for target unit of ability..),from 5th trig i turn on Trigger 3 and 4 for the 2nd ability ,1stly trigger 3 and 4 are turned off with map initialization (where i use even other non related actions and)so that they turn on only if the change of owner occurs, and it occurs only if the 1st ability is cast and with its triggers etc. I Add
Unit - Change ownership of TargetedSystem(variable target unit of abil.. set in trigger 1 -the 1st ability's start) to PreviousOwner(this is the variable prev owner from trig 5) and Retain color .. to 3rd trigger of starting 2nd ability
And thats thx to trigger 5 too. Im genius !
Now if you could help me with these targets, i made the triggs working.
---------------------------------------------------
You see how many triggers are connected. Ok but help with the targets.
or give me any other spells that can work like shackles- channeling to use the time for the duration and target to be unit, not point. I checked all and didnt see any except for siphon or life. And without any side effects too.