Spell Time Lapse

cr4xzZz

Also known as azwraith_ftL.
Reaction score
51
Time Lapse
btnorboffrostnp1.png

GUI/JASS? - GUI
MUI? - No
Leakless? - As far as I know yes.
No screenshots, because the ability is instant and you will see only the Blink special effect...
The values are set every 1 second, but you can easily change that if you want.


Warps time back on itself, transporting the Weaver 5 seconds into the past. Does not affect gold, XP, cooldowns or items.

Level 1 - 150 manacost.
Level 2 - 75 manacost.
Level 3 - 0 manacost.

Cooldown: 120/90/60 seconds.
More description: If anyone doesn't understand what this spell does, well, it moves the caster to the position where he was 5 seconds ago and sets HP and MP to which it was 5 seconds ago.


Code:
Code:
 Time Lapse GUI
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Time Lapse 
    Actions
        Unit - Order (Triggering unit) to Stop
        Set CasterPos = (Position of (Triggering unit))
        Special Effect - Create a special effect at CasterPos using Abilities\Spells\NightElf\Blink\BlinkTarget.mdl
        Special Effect - Destroy (Last created special effect)
        Custom script:   call RemoveLocation (udg_CasterPos)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                HPInteger Less than or equal to 6
            Then - Actions
                Unit - Set life of (Triggering unit) to HP[1]
                Unit - Set mana of (Triggering unit) to MP[1]
                Unit - Move (Triggering unit) instantly to POS[1]
                Custom script:   call RemoveLocation (udg_POS[1])
            Else - Actions
                Unit - Set life of (Triggering unit) to HP[(HPInteger - 5)]
                Unit - Set mana of (Triggering unit) to MP[(MPInteger - 5)]
                Unit - Move (Triggering unit) instantly to POS[(POSInteger - 5)]
                Custom script:   call RemoveLocation (udg_POS[udg_POSInteger - 5])
        Set CasterPos = (Position of (Triggering unit))
        Special Effect - Create a special effect at CasterPos using Abilities\Spells\NightElf\Blink\BlinkTarget.mdl
        Special Effect - Destroy (Last created special effect)
        Custom script:   call RemoveLocation (udg_CasterPos)
Code:
Enable Time Lapse
    Events
        Unit - A unit Learns a skill
    Conditions
        (Level of Time Lapse  for (Triggering unit)) Greater than 0
    Actions
        Set Caster = (Triggering unit)
        Trigger - Turn off (This trigger)
        Trigger - Turn on Time Lapse Periodic <gen>
Code:
Time Lapse Periodic
    Events
        Time - Every 1.00 seconds of game time
    Conditions
        (Caster is alive) Equal to True
    Actions
        Set HPInteger = (HPInteger + 1)
        Set HP[HPInteger] = (Life of Caster)
        Set MPInteger = (MPInteger + 1)
        Set MP[MPInteger] = (Mana of Caster)
        Set POSInteger = (POSInteger + 1)
        Set POS[POSInteger] = (Position of Caster)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                HPInteger Greater than 6
            Then - Actions
                Custom script:   call RemoveLocation (udg_POS[udg_POSInteger - 6])
            Else - Actions
Code:
Caster Revives
    Events
        Unit - A unit Dies
    Conditions
        (Dying unit) Equal to Caster
    Actions
        Wait until ((Caster is alive) Equal to True), checking every 0.10 seconds
        For each (Integer A) from 1 to 5, do (Actions)
            Loop - Actions
                Set HP[(HPInteger - (Integer A))] = (Life of Caster)
                Set MP[(MPInteger - (Integer A))] = (Mana of Caster)
                Set POS[(POSInteger - (Integer A))] = (Position of Caster)
 

Attachments

  • [DotA Spell] Time Lapse.w3x
    73.4 KB · Views: 1,279

Sim

Forum Administrator
Staff member
Reaction score
534
And hummm...

Where's the spell map? :D
 

the Immortal

I know, I know...
Reaction score
51
Looks good, works fine and I can't find any leaks. + rep from me

We talked earlier about that spell and he told me to make it in JASS, forgetting to say that he makes it too. So if you don't mind I will also post my JASS / MUI way :)
 

NetherHawk

New Member
Reaction score
26
you might want to add a trigger preventing the unit from immediately casting when he learns or revives.
 

cr4xzZz

Also known as azwraith_ftL.
Reaction score
51
Hm, maybe I'll add it. But not now because I have work... So, no other comments?

Update time! Added a trigger which prevents immediate cast when the Hero revives.
EDIT: And added JASS version
 

Sim

Forum Administrator
Staff member
Reaction score
534
There are no implementation instructions in both maps.

The GUI has instant casting time because of the fact it is based on Fan of Knives. That makes it different to the one in DotA, but it's only a minor detail. :)
 

cr4xzZz

Also known as azwraith_ftL.
Reaction score
51
> There are no implementation instructions in both maps.
But there is one in the first post?

> The GUI has instant casting time because of the fact it is based on Fan of Knives. That makes it different to the one in DotA, but it's only a minor detail.
Well, I'll fix that... I'll base it of Berserk because it won't bug it.
 

darkRae

Ueki Fan (Ueki is watching you)
Reaction score
173
If you base it off Berserk then the Casting Unit won't play its animation and start the effect of the ability instantly, while the Nerubian Weaver in DotA does in fact play an animation.

Well, I'm just suggesting to make it as similar to the one in DotA as possible :D
 

cr4xzZz

Also known as azwraith_ftL.
Reaction score
51
Ok, fixed... Now it's based on Berserk and shouldn't have any bugs. Hope this is the last update..
 

Sim

Forum Administrator
Staff member
Reaction score
534
> But there is one in the first post?

Doesn't matter, it must be inside the spell map. :)
 

cr4xzZz

Also known as azwraith_ftL.
Reaction score
51
> Doesn't matter, it must be inside the spell map.
Oh, didn't know that... In the last update I added in the GUI version. Please, tell me if the JASS version needs fixing so I can make it a bigger update. If there code doesn't need fixing then I'll add later an implementation instructon..
 

Sim

Forum Administrator
Staff member
Reaction score
534
Remove the JASS version. I just noticed it wasn't made by you, and so it must not be included.
 

Sim

Forum Administrator
Staff member
Reaction score
534
Ok, fixed... Now it's based on Berserk and shouldn't have any bugs. Hope this is the last update..

Doesn't change the fact it is still instant-cast.

Anyways, this is only a minor thing... approved!
 

cr4xzZz

Also known as azwraith_ftL.
Reaction score
51
> i thought Time Lapse was Jass
In DotA it is JASS. Maybe some day when I have time I'll make a JASS MUI version too...
 

mightylink

New Member
Reaction score
1
i saw this in dota all stars, it can be weak or very powerful depending when you use it, helps save you from near deaths :D
 
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

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top