How to show damage?

0WN3D

New Member
Reaction score
15
I'm having a problem. When my hero increases damage via triggers, the damage is not show in the "stats screen"(the place where u see ur hero model's face)(not exactly sure what its called:p). If u know dota, Ursa Warrior's 'Become Enrage" is able to show the extra damage increase in his "stats screen".
 

Accname

2D-Graphics enthusiast
Reaction score
1,463
would you mind telling us how you increase your heroes damage via triggers? would be helping alot.
 

Bogrim

y hello thar
Reaction score
154
The only way to show a damage bonus in the unit stats is to add an ability which adds damage or a buff which increases damage, like the Claws of Attack ability, the War Drums Aura or Inner Fire.
 

0WN3D

New Member
Reaction score
15
would you mind telling us how you increase your heroes damage via triggers? would be helping alot.
Via the
Event"when unit is attacked"
Condition" attacking unit is HeroName"
Damage "Order Attacking unit to Damage attacked unit by 100 Normal damage"

The only way to show a damage bonus in the unit stats is to add an ability which adds damage or a buff which increases damage, like the Claws of Attack ability, the War Drums Aura or Inner Fire.
But Ursa from DoTa is able to base it on amount of hp he have.I don't believe that they made 100+ levels of skills cause Ursa can have all the way to extremely high hp 5k+
 

mapguy

New Member
Reaction score
46
I think u can add item abilities to hearoes LOTS of times, for example, u can add claws of attack + 6, for example, ten times to the hero to increase it's damage by 60.

and u have to remember that items can't have their level upgraded when in use.

I think the best ways is giving TOMES OF POWER to your hero and when the effects ends you give NEGATIVE TOMES OF POWER to the hero.
 

Ayanami

칼리
Reaction score
288
I think u can add item abilities to hearoes LOTS of times, for example, u can add claws of attack + 6, for example, ten times to the hero to increase it's damage by 60.

and u have to remember that items can't have their level upgraded when in use.

I think the best ways is giving TOMES OF POWER to your hero and when the effects ends you give NEGATIVE TOMES OF POWER to the hero.

That would cause lag if the damage is really high. Here's a very easy way to achieve up to 99999 damage. All it takes is 5 skills and a bit of triggering.

Trigger:
  • Actions
    • Set TempReal = 10000.00
    • Set TempDivider = 10000
    • For each (Integer A) from 1 to 5, do (Actions)
      • Loop - Actions
        • Set TempInt = ((Integer(TempReal)) / TempDivider)
        • Unit - Set level of Ability[(Integer A)] for (Triggering unit) to (TempInt + 1)
        • Set TempReal = (TempReal - (Real((TempInt x TempDivider))))
        • Set TempDivider = (TempDivider / 10)


Let me explain. Here are the variables first

Variables
TempReal - Real
TempDivider - Integer
TempInt - Integer
Ability - Ability Array (Will explain more later)

Okay, basically you have to make 5 abilities. These abilities are based on Item Damage Bonus. Make 10 levels per ability. For the first ability, make it in the interval of 10000. Level 1 would always be 0. So,

Level 1 - 0
Level 2 - 10000
Level 3 - 20000
and so on...

Until you have 10 levels, which should give you 90000 at level 10. Set this ability as "Ability[1]" variable. Then make the second ability based on the same ability. This time, make the ability on intervals of 1000. So,

Level 1 - 0
Level 2 - 1000
Level 3 - 2000
and so on...

At level 10, should be 9000. Set this ability as "Ability[2]" variable. Do this until you have Ability[5].

Now, time to explain the trigger. Basically, all you have to do is to include that trigger whenever you want to set the damage. Obviously you have to add the abilities to the unit whenever you want to use this. TempReal is the damage that you want. So knock yourself out with the values, as long as it's below 99999. If you want a detailed explanation on how the trigger works, I can explain it if you want.
 

mapguy

New Member
Reaction score
46
That would cause lag if the damage is really high. Here's a very easy way to achieve up to 99999 damage. All it takes is 5 skills and a bit of triggering.

Trigger:
  • Actions
    • Set TempReal = 10000.00
    • Set TempDivider = 10000
    • For each (Integer A) from 1 to 5, do (Actions)
      • Loop - Actions
        • Set TempInt = ((Integer(TempReal)) / TempDivider)
        • Unit - Set level of Ability[(Integer A)] for (Triggering unit) to (TempInt + 1)
        • Set TempReal = (TempReal - (Real((TempInt x TempDivider))))
        • Set TempDivider = (TempDivider / 10)


Let me explain. Here are the variables first

Variables
TempReal - Real
TempDivider - Integer
TempInt - Integer
Ability - Ability Array (Will explain more later)

Okay, basically you have to make 5 abilities. These abilities are based on Item Damage Bonus. Make 10 levels per ability. For the first ability, make it in the interval of 10000. Level 1 would always be 0. So,

Level 1 - 0
Level 2 - 10000
Level 3 - 20000
and so on...

Until you have 10 levels, which should give you 90000 at level 10. Set this ability as "Ability[1]" variable. Then make the second ability based on the same ability. This time, make the ability on intervals of 1000. So,

Level 1 - 0
Level 2 - 1000
Level 3 - 2000
and so on...

At level 10, should be 9000. Set this ability as "Ability[2]" variable. Do this until you have Ability[5].

Now, time to explain the trigger. Basically, all you have to do is to include that trigger whenever you want to set the damage. Obviously you have to add the abilities to the unit whenever you want to use this. TempReal is the damage that you want. So knock yourself out with the values, as long as it's below 99999. If you want a detailed explanation on how the trigger works, I can explain it if you want.

AWESOME!

u used each ability for one number slot.

very smart.

but it remains the question. can u increase the level of an item ability and make it work? cause I tryed giving an item ability to a hero and it dont goes more than level 1.
 

Ayanami

칼리
Reaction score
288
AWESOME!

u used each ability for one number slot.

very smart.

but it remains the question. can u increase the level of an item ability and make it work? cause I tryed giving an item ability to a hero and it dont goes more than level 1.

Yes. All you have to do is to make it a unit ability. I used this in my spell packs, so I know it works. This works for damage and armor at least. For life, there's a bug that I discovered. Here's a link explaining that bug.
 

0WN3D

New Member
Reaction score
15
Thx Glenphir..... Though a lot of work to be done but well.... it workz...Thx again +rep
 
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