[DiscordArchive] When calculating things when player/caster gets hit by something, should it be player or caster?
[DiscordArchive] When calculating things when player/caster gets hit by something, should it be player or caster?
Archived author: edea • Posted: 2025-04-14T14:11:26.332000+00:00
Original source
or gettarget
Archived author: edea • Posted: 2025-04-14T14:12:10.956000+00:00
Original source
or getactiontarget iirc
Archived author: syntaxhell • Posted: 2025-04-14T14:15:30.467000+00:00
Original source
```if (eventInfo.GetDamageInfo()->GetDamage() > 0)
return;
```
Archived author: syntaxhell • Posted: 2025-04-14T14:15:38.842000+00:00
Original source
Something like that to begin check the proc
Archived author: syntaxhell • Posted: 2025-04-14T14:16:11.917000+00:00
Original source
So first DoCheckProc, and if it hasn't even done anything, don't do anything
Archived author: syntaxhell • Posted: 2025-04-14T14:16:40.650000+00:00
Original source
And I guess the proc applies like some sort of invisible aura maybe?
Archived author: syntaxhell • Posted: 2025-04-14T14:16:58.941000+00:00
Original source
So when handling the proc, it shouldn't do anything if the aura is active
Archived author: syntaxhell • Posted: 2025-04-14T14:19:16.803000+00:00
Original source
Trial and error it is!