[DiscordArchive] i accidentaly asked in general, ill throw it here instead. anyone know if tracking player dmg dealt
[DiscordArchive] i accidentaly asked in general, ill throw it here instead. anyone know if tracking player dmg dealt
![[Image: image.png?ex=690c1dbc&is=690acc3c&hm=b71...6f18b28f8&]](https://cdn.discordapp.com/attachments/415944535718494208/1249755473792602172/image.png?ex=690c1dbc&is=690acc3c&hm=b71fedd8ab32bb687eb0839380e9d39ef7d1c438b63ee7071262c1a6f18b28f8&)
Archived author: Ĝ̷̳r̸̹͊a̷̜̚k̴̞̔ • Posted: 2024-06-10T16:02:04.328000+00:00
Original source
looking at warlock i think it can store in script, cause the initial haunt hit seems to be stored for later use in the haunt aura script
![[Image: image.png?ex=690c1dbc&is=690acc3c&hm=b71...6f18b28f8&]](https://cdn.discordapp.com/attachments/415944535718494208/1249755473792602172/image.png?ex=690c1dbc&is=690acc3c&hm=b71fedd8ab32bb687eb0839380e9d39ef7d1c438b63ee7071262c1a6f18b28f8&)
![[Image: image.png?ex=690c1dbf&is=690acc3f&hm=bd6...62fdf8ab2&]](https://cdn.discordapp.com/attachments/415944535718494208/1249755486668980274/image.png?ex=690c1dbf&is=690acc3f&hm=bd6ef96e2d4b264081dce337f28b65370633822d7ad6897a9186c3e62fdf8ab2&)
Archived author: Ĝ̷̳r̸̹͊a̷̜̚k̴̞̔ • Posted: 2024-06-10T16:02:07.497000+00:00
Original source
![[Image: image.png?ex=690c1dbf&is=690acc3f&hm=bd6...62fdf8ab2&]](https://cdn.discordapp.com/attachments/415944535718494208/1249755486668980274/image.png?ex=690c1dbf&is=690acc3f&hm=bd6ef96e2d4b264081dce337f28b65370633822d7ad6897a9186c3e62fdf8ab2&)
Archived author: Ĝ̷̳r̸̹͊a̷̜̚k̴̞̔ • Posted: 2024-06-10T16:03:12.613000+00:00
Original source
at least i think thats what im reading
Archived author: Aleist3r • Posted: 2024-06-10T16:16:35.393000+00:00
Original source
gimme a min, i should have my touch script
Archived author: Aleist3r • Posted: 2024-06-10T16:19:30.343000+00:00
Original source
so how i resolved it in touch of the magi script: i've set up as dummy effect that procs from every type of damage, be it melee, direct magic or periodic
Archived author: Aleist3r • Posted: 2024-06-10T16:19:58.688000+00:00
Original source
i have this declared in spell script as well ```private:
int32 damageTaken = 0;```
Archived author: Aleist3r • Posted: 2024-06-10T16:21:07.168000+00:00
Original source
and so in `OnEffectProc` i do `DamageInfo* damageInfo = eventInfo.GetDamageInfo();` -> `damageTaken += damageInfo->GetDamage();`
Archived author: Kaev • Posted: 2024-06-10T16:35:45.584000+00:00
Original source
just a hint, maybe you've checked it out already: Maybe it's properly implemented in TC master branch and you don't have to come up with an own implementation
Archived author: Crow • Posted: 2024-06-10T16:40:42.399000+00:00
Original source
aura stacks?
I did something where i made a dummy aura and just set its "base value" to the amount i wanted to track each time a spell hits, that way you can use it for multiple spells
Archived author: Ĝ̷̳r̸̹͊a̷̜̚k̴̞̔ • Posted: 2024-06-10T16:43:54.620000+00:00
Original source
aleist3r linked me some implementation of literaly the exact same spell on duskhaven. so im just yoinking that