Ability Help!

Some1Sneakin

New Member
Reaction score
5
Im making the ability "Black Arrow" which works like "Searing Arrow" except that it returns life back to you. For example: Level 1 - Adds 10 bonus damage and heals you for 10 hp every shot that you make. Hope you understand. because i dont know how to make this ability. I hope you do.
 

Crusher

You can change this now in User CP.
Reaction score
121
Well mybe i have suggestion...try to add ability vampiric potion which is item and-add 10 bonus dmg and only problem is vampiric potions give u lifesteal in % :)
 

Some1Sneakin

New Member
Reaction score
5
Uhhm i didnt really get that? Adding Vampiric potion ability and the quickly remove it? Hmm i dont think that will work :p
 

thewrongvine

The Evolved Panda Commandant
Reaction score
506
trigger it.
make the ability of searing arrows, and in the trigger, add life steal to it, except make it not by percent, but by arithmatic to 10 and the next ranks. SOrry that i cant show it, im not even sure it tat works. :D
 
F

FKNCrazy

Guest
Code:
Events
    Unit - A unit Begins casting an ability
Conditions
    (Ability being cast) Equal to Searing Arrows
Actions
    Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) + 10.00)
For the set life, use Unit - Set life (to Value) and as a arithmetic set it to Life of trig unit and the other value to 10.
 

Some1Sneakin

New Member
Reaction score
5
That might work but i want the hero to gain life when the arrow hits the target, not when its fired off. I bet that far more complicated :p
 

Anachron

New Member
Reaction score
53
Ever used "Trigger - Add Event to trigger<gen>" ?

u should use it
use:
Unit - unit X takes damage

Then you check with conditions if unit has buff or not. If yes, add 10% of the damage to the damage source. ( Unit )
 

vypur85

Hibernate
Reaction score
803
Well, the best you could do is to use Wait for condition. This will make the ability non-MUI/MPI. You can also use periodic trigger to make it MPI, but I think it is not feasible.

Code:
Events
    Unit - A unit is attacked
Conditions
    Level of YourAbility more than 0
Actions
    Set YourUnit = (Attacking unit)
    Wait until triggering unit has YourAbility buff equal to true
    Unit - Set life of YourUnit to ((Life of YourUnit) + 10.00)

Edit: You could also use the abovementioned method. But in my opinion, it's also not feasible as you need to add every single unit that enters the map into the damage taken trigger. But it's better than periodic trigger I think :).
 

Anachron

New Member
Reaction score
53
vypur85
YOUR creating so many leaks with one GUI trigger!
Wait actions should NOT wait for an condition... <.<.<.<.<.<.<
 

Malkier

New Member
Reaction score
2
Sorry this isn't particularly useful but if you get it working, the action:

Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) + (10.00 x (Real((Level of Searing Arrows for (Triggering unit))))))

Would be better so that the amount healed scales with the level of the ability. Sorry I can't be more helpful than that since I have no idea.
 

vypur85

Hibernate
Reaction score
803
>YOUR creating so many leaks with one GUI trigger!
There is? o_O

>Wait actions should NOT wait for an condition...
I don't really understand?

Anyway, maybe using your method could be the best to make it MUI.
 

Anachron

New Member
Reaction score
53
TheDamien you're wrong.
Many waits will cause mass-leaks on map. Yes single leak not but this seems to be a mass lagg because it can trigger as much as it can. (After 100 attacks of non buff having this will wait 100X times each second)

And I agree with last, you're good!
 

Slapshot136

Divide et impera
Reaction score
471
except things can happen like the target blinks, the arrow misses, it gets blocked, evaded, target dies before the arrow lands, etc. so id suggest unit takes damage.. it dosent make as much lag as you would imagine, and you only need to add the units that were attacked by the user of this ability instead of all of them
 
Reaction score
333
TheDamien you're wrong.
Many waits will cause mass-leaks on map. Yes single leak not but this seems to be a mass lagg because it can trigger as much as it can. (After 100 attacks of non buff having this will wait 100X times each second)

And I agree with last, you're good!

Waits are sloppy, but they don't leak.
 
F

FKNCrazy

Guest
That might work but i want the hero to gain life when the arrow hits the target, not when its fired off. I bet that far more complicated :p

Unless the units missile speed is REALLY slow, i gaurentee you wont even notice the gap. just make a special effect the healing one when it casts it and noone will notice. Plus the arrow will 99% of the time hit the target, i don't see what your worried about. And arrow spells can't be casted on friendly units either just incase that was a problem.

Off topic - 13lade619, Rep is earned, but first it must be given, hardly true, the person giving the rep must believe that the rep has been earned before they give it. You don't earn rep after you get it.
 

Some1Sneakin

New Member
Reaction score
5
Plus the arrow will 99% of the time hit the target, i don't see what your worried about.
Hmm i do really got alot of heroes and items which gives a chanse that the missile hit. Also i fell stupid but i still doesnt know how i should make if i do the event: a unit takes damage?

Also i got another question for my map, another ability named Conjure Illusion. Its simple, when you click the ability you get an illusion of yourself. So ive based a spell of channel, and when the spell is cast, the trigger creates a dummy unit which casts the ability "Item WAnd of Illusion". Still it doesnt work. Any idea why?
 
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

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top