Every X attacks do 50 damage...

Smilis

TH.net Regular
Reaction score
7
Hello everyone! I was wondering if someone has a code that makes, if you have the skill Super Smash level 1, the hero will attack a unit 5times and make 50damage, if he have level 2, he only needs to attack 4times and make 60damage, level 3 = attack 3times damage = 70 and level 4 attack = 2 Damage= 80...

Or if you cant do that, at least have so the hero have to attack 3times and then for every level get +10 damage...


(It´s like the abillity of the "Overload"-abillity from Dota.)
Overload

Each successful attack builds up a static charge, eventually releasing in the form of an electrical burst. The burst deals damage and does a minor slow effect to the attacked foe and nearby area.

Level 1 - 8 Attacks. 30 Damage
Level 2 - 7 Attacks. 45 Damage
Level 3 - 6 Attacks. 60 Damage
Level 4 - 5 Attacks. 75 Damage

Passive

Thanks if you can help...
 

polo2005

Wana start playing LoL? http://tinyurl.com/369as27
Reaction score
97
make a varible that stack +1 every time you deal dmg and when it reach x numbers of attack, make unit x to damage unit y x dmg
 

Accname

2D-Graphics enthusiast
Reaction score
1,463
Code:
Untitled Trigger 001
    Events
        Unit - A unit Is attacked
    Conditions
        (Level of 'YourSkill' for (Attacking unit)) Not equal to 0
    Actions
        Unit - Set the custom value of (Attacking unit) to ((Custom value of (Attacking unit)) + 1)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Custom value of (Attacking unit)) Greater than or equal to (9 - (Level of 'YourSkill' for (Attacking unit)))
            Then - Actions
                Unit - Cause (Attacking unit) to damage (Attacked unit), dealing (15.00 + (15.00 x (Real((Level of 'YourSkill' for (Attacking unit)))))) damage of attack type Chaos and damage type Unknown
                Unit - Set the custom value of (Attacking unit) to 0
            Else - Actions

note that this may be abused by spamming attack order to a target without waiting unitl the unit finish attacking!
 

ThePlague

New Member
Reaction score
14
Code:
Untitled Trigger 001
    Events
        Unit - A unit Is attacked
    Conditions
        (Level of 'YourSkill' for (Attacking unit)) Not equal to 0
    Actions
        Unit - Set the custom value of (Attacking unit) to ((Custom value of (Attacking unit)) + 1)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Custom value of (Attacking unit)) Greater than or equal to (9 - (Level of 'YourSkill' for (Attacking unit)))
            Then - Actions
                Unit - Cause (Attacking unit) to damage (Attacked unit), dealing (15.00 + (15.00 x (Real((Level of 'YourSkill' for (Attacking unit)))))) damage of attack type Chaos and damage type Unknown
                Unit - Set the custom value of (Attacking unit) to 0
            Else - Actions

note that this may be abused by spamming attack order to a target without waiting unitl the unit finish attacking!

easiest way to avoid this is to make your ability an orb and check if the unit has the buff or not
 

Smilis

TH.net Regular
Reaction score
7
Code:
Untitled Trigger 001
    Events
        Unit - A unit Is attacked
    Conditions
        (Level of 'YourSkill' for (Attacking unit)) Not equal to 0
    Actions
        Unit - Set the custom value of (Attacking unit) to ((Custom value of (Attacking unit)) + 1)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Custom value of (Attacking unit)) Greater than or equal to (9 - (Level of 'YourSkill' for (Attacking unit)))
            Then - Actions
                Unit - Cause (Attacking unit) to damage (Attacked unit), dealing (15.00 + (15.00 x (Real((Level of 'YourSkill' for (Attacking unit)))))) damage of attack type Chaos and damage type Unknown
                Unit - Set the custom value of (Attacking unit) to 0
            Else - Actions

note that this may be abused by spamming attack order to a target without waiting unitl the unit finish attacking!

Hmm, I didin't get it to work...
 

Dinowc

don't expect anything, prepare for everything
Reaction score
223
you should set custom value to 0 when the unit upgrades the level of ability too
 

Igor_Z

You can change this now in User CP.
Reaction score
61
There is no way to make the spell perfectly in GUI. It's always malfunctioning... Try pressing Attack-Stop-Attack-stop or try to move the hero before he attacks... I have tryed that with ursa's second spell on dota and the spell has to fade off when the hero attacks 5 times but when you press attack, stop etc.. it is fading off when the hero attacks once, twice etc.. I don't think it will work properly. I don't think this that i say is useful.. But GOOD LUCK on your spell
 

vaziocs

New Member
Reaction score
5
Hello everyone! I was wondering if someone has a code that makes, if you have the skill Super Smash level 1, the hero will attack a unit 5times and make 50damage, if he have level 2, he only needs to attack 4times and make 60damage, level 3 = attack 3times damage = 70 and level 4 attack = 2 Damage= 80...

Or if you cant do that, at least have so the hero have to attack 3times and then for every level get +10 damage...


(It´s like the abillity of the "Overload"-abillity from Dota.)
Overload

Each successful attack builds up a static charge, eventually releasing in the form of an electrical burst. The burst deals damage and does a minor slow effect to the attacked foe and nearby area.

Level 1 - 8 Attacks. 30 Damage
Level 2 - 7 Attacks. 45 Damage
Level 3 - 6 Attacks. 60 Damage
Level 4 - 5 Attacks. 75 Damage

Passive

Thanks if you can help...

haha those guys with triggers that never work when u can do this by just editing some objects.. pretty funny.
Just give the critical strike ability and edit the values
would be :
level 1 data 12% chance 30 damage
level 2 data - 14% chance 45 damage
and so on.
 

polo2005

Wana start playing LoL? http://tinyurl.com/369as27
Reaction score
97
There is no way to make the spell perfectly in GUI. It's always malfunctioning... Try pressing Attack-Stop-Attack-stop or try to move the hero before he attacks... I have tryed that with ursa's second spell on dota and the spell has to fade off when the hero attacks 5 times but when you press attack, stop etc.. it is fading off when the hero attacks once, twice etc.. I don't think it will work properly. I don't think this that i say is useful.. But GOOD LUCK on your spell

wanna bet? pretty sure i could do this skill
 

Flare

Stops copies me!
Reaction score
662
It's perfectly do-able in GUI, but you need a half-decent damage detection system (this is one I made) for it that caters for differentiating between physical/magical damage (which means you can't use -ANY- orb effects other than the one used for detection) otherwise you have the obvious problem of spell damage contributing towards the counter
 

Igor_Z

You can change this now in User CP.
Reaction score
61
let me see triggers polo2005 but in GUI please... And vaziocs how can u make the spell from critical when the critical is multipling the base damage not dealing damage that u want and it shows floating text with red numbers...
 

polo2005

Wana start playing LoL? http://tinyurl.com/369as27
Reaction score
97
let me see triggers polo2005 but in GUI please... And vaziocs how can u make the spell from critical when the critical is multipling the base damage not dealing damage that u want and it shows floating text with red numbers...

woot? jsut use critical strike?
but working on overload ability right now
 

Igor_Z

You can change this now in User CP.
Reaction score
61
Ok polo im waiting because i need that spell too :p. If u make it to work perfectly you will get credit in my awsome map... Hope you'd make it
 

XeNiM666

I lurk for pizza
Reaction score
138
Code:
A unit Is attacked

Level of Ability for Attacking unit Greater Than 0

If / Then / Else
If
Interval Equal to 5
Then
Unit - Damage Attacked unit for 50 damage
Set Interval = 0
Else
Set Interval = Interval + 1

Sorry, i dont have WE on
 

MeTr01DPr1M3

New Member
Reaction score
5
Well hello there. Just to say this (I know you're going to hate me but...), I'd like to make a small adjustment to what all of ya have said so far. First of all guys, the unit recieves magical damage. Why is that? Cause when "Overload
" (for example) reaches it's max attacks, then it creates a Dummy Unit at the position of the Attacked unit, and just orders the Dummy Unit to cast a modified Thunder Clap. Seriously, check it out. I know that I am not capable at this point to make a trigger like this, but I just wanted to add this little detail. Sorry if I disturbed any one of you in any way. Just thought it would be easier for ya all to know how it actually works. :D

C ya around mates. :cool:
 

Igor_Z

You can change this now in User CP.
Reaction score
61
Nope man you are wrong it's not a dummy with the spell because it thunder claps instantly when it hits.. So it can't be a dummy it is a special effect created at the location. I thought that it is a dummy but the dummy needs time to cast thunder clap. So it must be an effect.. But still i can't figure out how to make it so it won't malfunction... Thanks to everyone for this thread. Everyone that has helped will get credit in my map..
 

Igor_Z

You can change this now in User CP.
Reaction score
61
OK but i still think its a special effect that is spawning when the unit attacks with the ability. Thanks for the useful info Flare... I didn't know that
 

Smilis

TH.net Regular
Reaction score
7
Well it's work now, I had turned off the trigger earlier, and forgot to turn it on.. Thanks all :D
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Howdy
  • 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 Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top