Forums WoW Modding Support Archives WoWModding Support Archives [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

[DiscordArchive] i accidentaly asked in general, ill throw it here instead. anyone know if tracking player dmg dealt

Pages (3): Previous 1 2 3 Next
rektbyfaith
Administrator
0
06-10-2024, 04:02 PM
#11
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&]
rektbyfaith
06-10-2024, 04:02 PM #11

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&]

rektbyfaith
Administrator
0
06-10-2024, 04:02 PM
#12
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&]
rektbyfaith
06-10-2024, 04:02 PM #12

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&]

rektbyfaith
Administrator
0
06-10-2024, 04:03 PM
#13
Archived author: Ĝ̷̳r̸̹͊a̷̜̚k̴̞̔ • Posted: 2024-06-10T16:03:12.613000+00:00
Original source

at least i think thats what im reading
rektbyfaith
06-10-2024, 04:03 PM #13

Archived author: Ĝ̷̳r̸̹͊a̷̜̚k̴̞̔ • Posted: 2024-06-10T16:03:12.613000+00:00
Original source

at least i think thats what im reading

rektbyfaith
Administrator
0
06-10-2024, 04:16 PM
#14
Archived author: Aleist3r • Posted: 2024-06-10T16:16:35.393000+00:00
Original source

gimme a min, i should have my touch script
rektbyfaith
06-10-2024, 04:16 PM #14

Archived author: Aleist3r • Posted: 2024-06-10T16:16:35.393000+00:00
Original source

gimme a min, i should have my touch script

rektbyfaith
Administrator
0
06-10-2024, 04:19 PM
#15
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
rektbyfaith
06-10-2024, 04:19 PM #15

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

rektbyfaith
Administrator
0
06-10-2024, 04:19 PM
#16
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;```
rektbyfaith
06-10-2024, 04:19 PM #16

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;```

rektbyfaith
Administrator
0
06-10-2024, 04:21 PM
#17
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();`
rektbyfaith
06-10-2024, 04:21 PM #17

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();`

rektbyfaith
Administrator
0
06-10-2024, 04:35 PM
#18
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
rektbyfaith
06-10-2024, 04:35 PM #18

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

rektbyfaith
Administrator
0
06-10-2024, 04:40 PM
#19
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
rektbyfaith
06-10-2024, 04:40 PM #19

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

rektbyfaith
Administrator
0
06-10-2024, 04:43 PM
#20
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
rektbyfaith
06-10-2024, 04:43 PM #20

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

Pages (3): Previous 1 2 3 Next
Recently Browsing
 
Recently Browsing