[DiscordArchive] spell-> pointing to what?
[DiscordArchive] spell-> pointing to what?
Archived author: nixxi • Posted: 2024-05-29T14:31:13.293000+00:00
Original source
or should i declared the pointer of SpellInfo* spellInfo?
Archived author: Thulz • Posted: 2024-05-29T14:31:21.398000+00:00
Original source
Yes, I wasnt even looking at code thats why I wrote 'some like this'
Archived author: Thulz • Posted: 2024-05-29T14:32:07.931000+00:00
Original source
```
const SpellInfo* spellInfo = spell->GetSpellInfo();
if (!spellInfo) return;
const uint32 spellID = spellInfo->Id;
```
Archived author: nixxi • Posted: 2024-05-29T14:32:36.815000+00:00
Original source
thanks
Archived author: nixxi • Posted: 2024-05-29T14:35:33.652000+00:00
Original source
I used to use a lot lua but it give me performance issues now im moving to cpp because is compile language and my scripts are flying, but in cons it was a pain in the as to move all the code
Archived author: Thulz • Posted: 2024-05-29T14:36:29.820000+00:00
Original source
Weird, I have not had any issues with lua so far
Archived author: nixxi • Posted: 2024-05-29T14:36:51.981000+00:00
Original source
specially in on cast scripts it cause stuttering in the client
Archived author: Thulz • Posted: 2024-05-29T14:37:30.536000+00:00
Original source
Maybe because you redefining scripts instead of hooking them
Archived author: nixxi • Posted: 2024-05-29T14:38:20.602000+00:00
Original source