Soul Steal

tanchunhung

New Member
Reaction score
2
* Ability Type: Active
* Targeting Type: Unit
* Ability Hotkey: E
* Casting Range:400
* Not Channeling
* Maximum Target:1

Creates a link to a target unit, transferring life away from you if cast on an ally and to you if cast on an enemy.
Level 1 - 20 Hp per seconds.
Level 2 - 40 Hp per seconds.
Level 3 - 60 Hp per seconds.
Level 4 - 80 Hp per seconds.
Likes DotA Soul Keeper~
Who could help me this???Thanks all the people that help me~
 

Necrach

You can change this now in User CP.
Reaction score
62
I would say an instacast spell creating a lightning effect, putting the caster and the target in unit variables and starting a timer with the duration of the spell (connected with an Array connected to the casting unit (and owner of the unit) and the target). As I guess this spell doesn't need to be more MUI than one hero for each player, you can have 12 arrays on your variables (or however many players you have).

Also, of course, check if the target is an ally or an enemy, putting the caster or the target in the variable for GETTING the hp, and the other one in the unit variable for losing the hp.

After this trigger, you only need 2 more. One periodic event giving life from (EXAMPLE:) UnitDrained[x] to UnitHealed[x] (why not use Integer A loops for the x in the arrays)

And also one trigger (meaning 12 triggers, one for each array) ending the spell when the timer ends (removing all units from the variables), and destroying the lightning effect.

Might be a smoother way, but this would work. If you have no idea what I am talking about, maybe you should give up such a complicated spell for now :eek:
 

tanchunhung

New Member
Reaction score
2
There's so easy?but i don't it works or not~
But i forgot to do this
Can be Turn off Transferring and away from a unit
I made that cannot be turn off transferring and away

Code:
Events
   Unit - A unit starts the effect of an ability
Conditions
   (Ability being cast) Equal to Soul Steal
Actions
   Set SS_Caster = (Casting Unit)
   Set SS_Target = (Target unit of ability being cast)
   If (All Conditions are True) then do (Then Actions) else do (Else Actions)
   If - Conditions
      (SS_Target belong to an ally of (Owner of SS_Target))  Equal to True
   Then - Actions
      Trigger - Turn on Transfer <gen>
       Lightning - Create a Drain Life lightning effect from source (Position of SS_Caster) to target (Position os SS_Target)
       Special Effect - Create a special effect attached to the overhead of SS_Caster using DrainCaster.mdl
       Special Effect - Create a special effect attached to the overhead of SS_Target using DrainTarget.mdl
     Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
   If - Conditions
      (SS_Target belong to an ally of (Owner of SS_Target))  Equal to False
   Then - Actions
      Trigger - Turn on Away <gen>
       Lightning - Create a Drain Life lightning eccet from source (Position of SS_Caster) to target (Position os SS_Target)
       Special Effect - Create a special effect attached to the overhead of SS_Targetr using DrainCaster.mdl
       Special Effect - Create a special effect attached to the overhead of SS_Caster using DrainTarget.mdl
     Else - Actions
The Transfer and Away i already work,but i lazy to write again ~
 

HydraRancher

Truth begins in lies
Reaction score
197
But surely, you'd eventually kill the unit? So is there a timed duration, or will the link snap after a certain distance?
 

tanchunhung

New Member
Reaction score
2
I got a lot of leaks~Lightning no saved,no Check Time and Range

Code:
Events
  Time - Every 0.3 seconds of the game time
Conditions
  SS_Target Is Alive Equal to True
Actions
  Lightning - Destroy SS_Lightning
  Trigger - Turn off Transfer <gen>
  Trigger - Turn off Away <gen>
  Trigger - Turn off (This Trigger)
______________________________________________________________________________________
Code:
Events
   Time - Every 0.3 seconds of the game time
Conditions
Actions
   If (All Conditions are true) then do (Then Actions) else do (Else Actions)
      If - Conditions
         (Position of SS_Target) and (Position of SS_Target) Greater or Equal to 400
      Then - Action
         Turn off Transfer <gen>
         Turn off Away <gen>
         Lightning - Destroy SS_Lightning
         Trigger - Turn off (This Trigger)
 

HydraRancher

Truth begins in lies
Reaction score
197
Your first trigger looks a bit strange. It says that if the target is alive, then snap the chain? That's not what you want.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top