immolation

vonahs

New Member
Reaction score
0
just to get immolation to do a scaleing damage? cant even have it do 10% of enemys health
 

Cheddar

This is the way it was meant to be.
Reaction score
126
It's impossible to return a unit's damage for use in triggers. It doesn't show up in the Integer or Real section.
 

vonahs

New Member
Reaction score
0
so its nit possible to have immolation do scaling damage? can you use reseasrch to lvl it as a unit spell vs a hero spell. same way you research attack damage and armor?
 

Zorobay

Member
Reaction score
1
well you might be able to do it in a pretty complicated way. What if you add the units that were damage by immolation and then you create dummy units that is the same as the ones damaged. Then create dummy units that take damage from the dummy creeps. then calculate how much damage the dummy units were taken and then damage the "creeps"!
 

skyblader

You're living only because it's illegal killing.
Reaction score
159
Okay so if I get you right, what you want to do is create immolation that damages enemy for 10% of their health every second?

Simply add units that come in range to a unit group and remove it when they're out of range.

Create a dummy unit and use it to damage the units in the unit group for 10% of their max health.

However, if you want to create immolation based on your damage, I don't think it's possible. Damage detection systems would work... but only when your unit actually attacks.
 

DioD

New Member
Reaction score
57
database with every unit damage
trigger to deal AOE damage every 0.1 second
???
done

this is nothing hard after blizzard added hashtables into GUI.

since most likely only one unit will have immolation, you need to store only his damage, and every possible bonus.
 

vypur85

Hibernate
Reaction score
803
> this is nothing hard
> store only his damage, and every possible bonus

Hmmm... :rolleyes:

All in all, there won't be a desirable result. Forget about this. Use some other unit data as reference to the damage. The unit's life is a good start.
 

baassee

Member
Reaction score
5
You just need to damage formula, attributes and bonuses and you're good to go. Although if you aren't experienced with this, move along.
 

KaerfNomekop

Swim, fishies. Swim through the veil of steel.
Reaction score
613
How about creating a copy of the targeted unit, changing its ownership to the Immolation unit's owner, then getting the copy to attack the target?
 

hopy

Active Member
Reaction score
64
You just need to damage formula, attributes and bonuses and you're good to go. Although if you aren't experienced with this, move along.

We'll just calculate the hero's damage it can do and damage units with a random amount based on those calculations.

Now, a hero's damage done is based on his primary stat, damage dices and bonus items such as claws.

Damage: (Base damage + Amount of Dice) -> (Base damage + (Amount of DicexNumber of Sides))

Save the units damage bonus gained from items and abilities in a real, we'll call it [Bonus Damage], only items like claws (bonus damage) not stats like boots of argility.
Afther that save the hero's main atribute (argility, strenght or int) in another real, include bonusses, we'll call it [Base Damage].

Now search the units 'Attack - number of dice' and 'Attack - Number per dice'.We'll save these two things in a real called [Attack - number of dice] and [Attack - Number per dice].


'Set [Total Damage] = (Random number between ((([Base Damage] + [Bonus Damage]) + [Attack - Number of Dice])) and (([Base Damage] + [Bonus Damage]) + ([Attack - number of dice] x [Attack - Number per dice])))'

Please keep in mind that this is all hand typed and I don't have a World Editor here at the moment.

Now if for example the hero has Command Aura increasing the total damage by 10% add something like:
'Set [Total Damage] = ([Total Damage] x 1.10)'.

I know this isn't exactly the amount of damage the hero would've done, but it's close enough I think. :p

Please let me know if this was unclear, haven't got much time to tpye a long story and I don't have World Editor with me here. These are just the calculations for damage.
 

TomTTT

New Member
Reaction score
44
maybe make a periodic of this unit attacking a dummy, and setting the damage dealt into a variable, and by that damaging the others? This really isn't so effective.
 

vonahs

New Member
Reaction score
0
now yall are over my head. what about spell lvl? can it be upgraded? cuz immolation as a unit spell can still ahve 3 lvls. can i upgrade spell lvl and just have certain amount of damage increase as spell increases?
 

Cheddar

This is the way it was meant to be.
Reaction score
126
maybe make a periodic of this unit attacking a dummy, and setting the damage dealt into a variable, and by that damaging the others? This really isn't so effective.

You'd have to adjust for the enemies' armors, plus if your unit dies or just never gets the opportunity to attack then it'd create problems. If it's done voluntarily then a player could just stack 6 of the most damaging items in the game, attack the dummy, and then build normally while maxing out Immolation despite not having the combination of items that give the maximum damage.
 

Ayanami

칼리
Reaction score
288
We'll just calculate the hero's damage it can do and damage units with a random amount based on those calculations.

Now, a hero's damage done is based on his primary stat, damage dices and bonus items such as claws.

Damage: (Base damage + Amount of Dice) -> (Base damage + (Amount of DicexNumber of Sides))

Save the units damage bonus gained from items and abilities in a real, we'll call it [Bonus Damage], only items like claws (bonus damage) not stats like boots of argility.
Afther that save the hero's main atribute (argility, strenght or int) in another real, include bonusses, we'll call it [Base Damage].

Now search the units 'Attack - number of dice' and 'Attack - Number per dice'.We'll save these two things in a real called [Attack - number of dice] and [Attack - Number per dice].


'Set [Total Damage] = (Random number between ((([Base Damage] + [Bonus Damage]) + [Attack - Number of Dice])) and (([Base Damage] + [Bonus Damage]) + ([Attack - number of dice] x [Attack - Number per dice])))'

Please keep in mind that this is all hand typed and I don't have a World Editor here at the moment.

Now if for example the hero has Command Aura increasing the total damage by 10% add something like:
'Set [Total Damage] = ([Total Damage] x 1.10)'.

I know this isn't exactly the amount of damage the hero would've done, but it's close enough I think. :p

Please let me know if this was unclear, haven't got much time to tpye a long story and I don't have World Editor with me here. These are just the calculations for damage.

If there's a lot of Auras and Items in the map, this method would be pretty tedious and not worth it for just a single Immolation, unless the thread OP wants to do that much work for a single Immolation.
 

vonahs

New Member
Reaction score
0
ok the spells also have spell lvls. exp if you turn a hero spell into a unit spell it still have 3 lvls how do you utlizes those spell levels for lets say a mage?
 

skyblader

You're living only because it's illegal killing.
Reaction score
159
Please give more details. What do you mean utilize the levels for a mage? And if it's a different problem altogether, you should start a new thread instead.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Monovertex Monovertex:
    How are you all? :D
    +1
  • 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

      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