[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 ?
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 ?
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
Archived author: ModoX • Posted: 2024-02-12T22:34:47.389000+00:00
Original source
you cant due to spell object lifetime
Archived author: Berti • Posted: 2024-02-12T22:35:09.817000+00:00
Original source
I mean a callback like momvement inform
Archived author: Berti • Posted: 2024-02-12T22:35:16.498000+00:00
Original source
Or something like that for players
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
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
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
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
Archived author: Berti • Posted: 2024-02-12T22:39:20.971000+00:00
Original source
?