Dragon Heart - spell problem

Aqkastik

New Member
Reaction score
0
Dragon Heart - The Dragons Heart is the key for the Dragons Immortality though the Dragon Offsprings (my hero) Heart is yet not completely grown and will only be able to grant immortality for some few seconds.

Trigger:
  • Dragon Heart
    • Events
      • Unit - A unit Learns a skill
    • Conditions
      • (Learned Hero Skill) Equal to Attribute Bonus
    • Actions
      • Set DragonHeartCaster = (Triggering unit)
      • Trigger - Add to Dragon Heart Invulnerable <gen> the event (Unit - DragonHeartCaster Takes damage)
      • Trigger - Turn off (This trigger)


Trigger:
  • Dragon Heart Invulnerable
    • Events
    • Conditions
      • (Life of DragonHeartCaster) Less than or equal to 150.00
    • Actions
      • Unit - Make DragonHeartCaster Invulnerable
      • Wait (3.00 + (1.00 x (Real((Level of Attribute Bonus for DragonHeartCaster))))) seconds
      • Unit - Make DragonHeartCaster Vulnerable


First of all the skill Attribute bonus is just for testing.

my problem is that I want to make a cooldown on this so it doesnt trigger all the time and while this effect is on i would like to greatly increase the Health Regeneration can someone tell me how?
 

Laiev

Hey Listen!!
Reaction score
188
Trigger:
  • Dragon Heart Invulnerable
    • Events
    • Conditions
      • (Life of DragonHeartCaster) Less than or equal to 150.00
    • Actions
      • Trigger - Turn off (This Trigger)
      • Unit - Make DragonHeartCaster Invulnerable
      • Wait (3.00 + (1.00 x (Real((Level of Attribute Bonus for DragonHeartCaster))))) seconds
      • Unit - Make DragonHeartCaster Vulnerable
      • Trigger - Turn on (This Trigger)



like this? :rolleyes:
 

jomik

New Member
Reaction score
17
That's not a cooldown in any way Laeiv? :p
You should do something like:


Trigger:
  • Dragon Heart Invulnerable
    • Events
    • Conditions
      • (Life of DragonHeartCaster) Less than or equal to 150.00
    • Actions
      • Trigger - Turn off (This Trigger)
      • Unit - Make DragonHeartCaster Invulnerable
      • Wait (3.00 + (1.00 x (Real((Level of Attribute Bonus for DragonHeartCaster))))) seconds
      • Unit - Make DragonHeartCaster Vulnerable
      • Wait YourCoolDownFormula
      • Trigger - Turn on (This Trigger)

But that'd make it non-mui, Laeiv's is non-mui too...

If you want a MUI version, I'd probably do something with the Custom Value, setting it to 1 when the spell is used, then having a trigger with periodic event, picking all units that has the DragonHeart spell and a custom value over 0. Increasing their CV by 1 and then checking if it's above the cooldown thing. If it is, then set it to 0.
Add a condition to the trigger you have now that checks if the CV is 0.
And you'd have to remove the Turn off, Turn on
 

Laiev

Hey Listen!!
Reaction score
188
well :p none here is MUI, you can do what jomik say or using local's to make it unique
 

Laiev

Hey Listen!!
Reaction score
188
I just think in cooldown about when you start the effect, like normal spell.... not between one effect done and some seconds....

like..... you start the spell.... ok..... now i'm god invulnerable.... wait 10 seconds (just example) and omg i'm a pathetic mortal :( (cd done)

Well... writing this make a bit strange lol i admit :rolleyes:
 

jomik

New Member
Reaction score
17
:O Well cooldown is the one that's between your casts like I cast the spell, WOW I'm invulnerable ... 10 secs.. mortal... waits till cooldown is over (20 secs etc)... WOW I'm invulnerable.

Also when you said you added the cool down, the only thing you did was adding the Turn On and Turn Off which has nothing to do with either "cooldowns" :p
 

Aqkastik

New Member
Reaction score
0
Okay guys first of all i mean like a cooldown like "WOW I am Immortal :D for 3 seconds" after these 3 seconds a timer (not a window or anything) begins from like 60 seconds. this timer has to run out before i can use it again.

And How about Health Regen?
 

Nenad

~Choco Coronet~ Omnomnom
Reaction score
137
For Health Regen, add the Item Ability when you become invulnerable and remove it after ^^

To make the Cooldown MUI you would have to use timers ^^
 

jomik

New Member
Reaction score
17
Yeah I know Aqkastik, that's what I was saying :p
To make it MUI, you could create a timer for each unit, or you could do like I said with the custom value :D
 

Aqkastik

New Member
Reaction score
0
well i just dont know how to do? someone who can tell me how? Both the Custom valve part and timer?
 

skyblader

You're living only because it's illegal killing.
Reaction score
159
Start the timer and use when the timer expires instead of the waits. Or you can wait for condition as well.
 
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