NeuroToxin
New Member
- Reaction score
- 46
Very Well.
I am currently doing a spell called Maledict, otherwise known as the spell from the Witch Doctor in Dota, because I've always loved this spell. Basically it does damage per second, and that damage multiplies for every 250 - 200 - 150 - 100 damage taken. Now, the thing I want to do.
I have some sort of fetish for Timers at the moment, and hashtables, as hashtables recently became usable to me in JASS and vJASS, I know they were usable before, but there was no colored syntax for them. The problem for me, maybe it's because I'm incredibly tired and the solution is right there. But, instead of a separate trigger for damage detection, I'm simply adding the targeted unit to another trigger in the same trigger (Inception much?). Which handles all damage taken events in that trigger. How would I retrieve a specific instance of a hashtable, which is set on using the data of a timer, to set an integer for the damage dealt to a higher amount? For dealing multiplied damage. The solution is probably right in front of me, but I'm tired. So, thanks for reading this wall of text.
Thanks, Neuro.
I am currently doing a spell called Maledict, otherwise known as the spell from the Witch Doctor in Dota, because I've always loved this spell. Basically it does damage per second, and that damage multiplies for every 250 - 200 - 150 - 100 damage taken. Now, the thing I want to do.
I have some sort of fetish for Timers at the moment, and hashtables, as hashtables recently became usable to me in JASS and vJASS, I know they were usable before, but there was no colored syntax for them. The problem for me, maybe it's because I'm incredibly tired and the solution is right there. But, instead of a separate trigger for damage detection, I'm simply adding the targeted unit to another trigger in the same trigger (Inception much?). Which handles all damage taken events in that trigger. How would I retrieve a specific instance of a hashtable, which is set on using the data of a timer, to set an integer for the damage dealt to a higher amount? For dealing multiplied damage. The solution is probably right in front of me, but I'm tired. So, thanks for reading this wall of text.
Thanks, Neuro.