Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] Shauren or Ovah, is not a good idea addd a callback to be executed on MovementInform ?

[DiscordArchive] Shauren or Ovah, is not a good idea addd a callback to be executed on MovementInform ?

[DiscordArchive] Shauren or Ovah, is not a good idea addd a callback to be executed on MovementInform ?

Pages (3): 1 2 3 Next
rektbyfaith
Administrator
0
02-12-2024, 10:33 PM
#1
Archived author: Berti • Posted: 2024-02-12T22:33:43.733000+00:00
Original source

Shauren or Ovah, is not a good idea addd a callback to be executed on MovementInform ?
rektbyfaith
02-12-2024, 10:33 PM #1

Archived author: Berti • Posted: 2024-02-12T22:33:43.733000+00:00
Original source

Shauren or Ovah, is not a good idea addd a callback to be executed on MovementInform ?

rektbyfaith
Administrator
0
02-12-2024, 10:33 PM
#2
Archived author: Berti • Posted: 2024-02-12T22:33:58.810000+00:00
Original source

When is not a player you can't use the MovementInform hook for charge spells
rektbyfaith
02-12-2024, 10:33 PM #2

Archived author: Berti • Posted: 2024-02-12T22:33:58.810000+00:00
Original source

When is not a player you can't use the MovementInform hook for charge spells

rektbyfaith
Administrator
0
02-12-2024, 10:34 PM
#3
Archived author: ModoX • Posted: 2024-02-12T22:34:47.389000+00:00
Original source

you cant due to spell object lifetime
rektbyfaith
02-12-2024, 10:34 PM #3

Archived author: ModoX • Posted: 2024-02-12T22:34:47.389000+00:00
Original source

you cant due to spell object lifetime

rektbyfaith
Administrator
0
02-12-2024, 10:35 PM
#4
Archived author: Berti • Posted: 2024-02-12T22:35:09.817000+00:00
Original source

I mean a callback like momvement inform
rektbyfaith
02-12-2024, 10:35 PM #4

Archived author: Berti • Posted: 2024-02-12T22:35:09.817000+00:00
Original source

I mean a callback like momvement inform

rektbyfaith
Administrator
0
02-12-2024, 10:35 PM
#5
Archived author: Berti • Posted: 2024-02-12T22:35:16.498000+00:00
Original source

Or something like that for players
rektbyfaith
02-12-2024, 10:35 PM #5

Archived author: Berti • Posted: 2024-02-12T22:35:16.498000+00:00
Original source

Or something like that for players

rektbyfaith
Administrator
0
02-12-2024, 10:36 PM
#6
Archived author: Berti • Posted: 2024-02-12T22:36:44.565000+00:00
Original source

That get the spell id at least because you suffer with that
rektbyfaith
02-12-2024, 10:36 PM #6

Archived author: Berti • Posted: 2024-02-12T22:36:44.565000+00:00
Original source

That get the spell id at least because you suffer with that

rektbyfaith
Administrator
0
02-12-2024, 10:37 PM
#7
Archived author: Mematoru • Posted: 2024-02-12T22:37:09.671000+00:00
Original source

if i wanna make a periodic aura, is this enough for the DoEffectCalcPeriodic?
```void CalculatePeriodic(AuraEffect const* aurEff, bool& isPeriodic, int32& amplitude) const
{
isPeriodic = true;
amplitude = aurEff->GetPeriod();
}
```
then for EffectPeriodic i calculate the new value
and in CalculateAmount i assign the new value
rektbyfaith
02-12-2024, 10:37 PM #7

Archived author: Mematoru • Posted: 2024-02-12T22:37:09.671000+00:00
Original source

if i wanna make a periodic aura, is this enough for the DoEffectCalcPeriodic?
```void CalculatePeriodic(AuraEffect const* aurEff, bool& isPeriodic, int32& amplitude) const
{
isPeriodic = true;
amplitude = aurEff->GetPeriod();
}
```
then for EffectPeriodic i calculate the new value
and in CalculateAmount i assign the new value

rektbyfaith
Administrator
0
02-12-2024, 10:37 PM
#8
Archived author: Mematoru • Posted: 2024-02-12T22:37:58.132000+00:00
Original source

im not sure tho if i properly understood how things go for this
rektbyfaith
02-12-2024, 10:37 PM #8

Archived author: Mematoru • Posted: 2024-02-12T22:37:58.132000+00:00
Original source

im not sure tho if i properly understood how things go for this

rektbyfaith
Administrator
0
02-12-2024, 10:39 PM
#9
Archived author: Berti • Posted: 2024-02-12T22:39:20.287000+00:00
Original source

You mean because spell is not present at the moment of charge i guess, but what if you have only the id
rektbyfaith
02-12-2024, 10:39 PM #9

Archived author: Berti • Posted: 2024-02-12T22:39:20.287000+00:00
Original source

You mean because spell is not present at the moment of charge i guess, but what if you have only the id

rektbyfaith
Administrator
0
02-12-2024, 10:39 PM
#10
Archived author: Berti • Posted: 2024-02-12T22:39:20.971000+00:00
Original source

?
rektbyfaith
02-12-2024, 10:39 PM #10

Archived author: Berti • Posted: 2024-02-12T22:39:20.971000+00:00
Original source

?

Pages (3): 1 2 3 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)