Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] u would assume that if its nullptr its meant to cast on self but how do u know that ?

[DiscordArchive] u would assume that if its nullptr its meant to cast on self but how do u know that ?

[DiscordArchive] u would assume that if its nullptr its meant to cast on self but how do u know that ?

rektbyfaith
Administrator
0
12-13-2023, 02:52 AM
#1
Archived author: Rymercyble • Posted: 2023-12-13T02:52:47.683000+00:00
Original source

u would assume that if its nullptr its meant to cast on self but how do u know that ?
rektbyfaith
12-13-2023, 02:52 AM #1

Archived author: Rymercyble • Posted: 2023-12-13T02:52:47.683000+00:00
Original source

u would assume that if its nullptr its meant to cast on self but how do u know that ?

rektbyfaith
Administrator
0
12-13-2023, 02:53 AM
#2
Archived author: Natrist • Posted: 2023-12-13T02:53:10.567000+00:00
Original source

Ah, for CastSpell. I don't know lol.
rektbyfaith
12-13-2023, 02:53 AM #2

Archived author: Natrist • Posted: 2023-12-13T02:53:10.567000+00:00
Original source

Ah, for CastSpell. I don't know lol.

rektbyfaith
Administrator
0
12-13-2023, 02:53 AM
#3
Archived author: Natrist • Posted: 2023-12-13T02:53:38.135000+00:00
Original source

My thought process hasn't reached that point yet but I saw a few references to the function while refactoring AddAura and the signature was off.
rektbyfaith
12-13-2023, 02:53 AM #3

Archived author: Natrist • Posted: 2023-12-13T02:53:38.135000+00:00
Original source

My thought process hasn't reached that point yet but I saw a few references to the function while refactoring AddAura and the signature was off.

rektbyfaith
Administrator
0
12-13-2023, 02:53 AM
#4
Archived author: Natrist • Posted: 2023-12-13T02:53:41.475000+00:00
Original source

Let me find an example...
rektbyfaith
12-13-2023, 02:53 AM #4

Archived author: Natrist • Posted: 2023-12-13T02:53:41.475000+00:00
Original source

Let me find an example...

rektbyfaith
Administrator
0
12-13-2023, 02:54 AM
#5
Archived author: Rymercyble • Posted: 2023-12-13T02:54:28.968000+00:00
Original source

i was thinking about splitting it into 2 methods thats what i would do in something like php but c++ has overloading and im not yet used to account for such features in my thinking
rektbyfaith
12-13-2023, 02:54 AM #5

Archived author: Rymercyble • Posted: 2023-12-13T02:54:28.968000+00:00
Original source

i was thinking about splitting it into 2 methods thats what i would do in something like php but c++ has overloading and im not yet used to account for such features in my thinking

rektbyfaith
Administrator
0
12-13-2023, 02:59 AM
#6
Archived author: Natrist • Posted: 2023-12-13T02:59:04.960000+00:00
Original source

I would change the signature to be CastSpell(spell, target, triggerflag) instead of CastSpell(target, spell, triggerflag)
rektbyfaith
12-13-2023, 02:59 AM #6

Archived author: Natrist • Posted: 2023-12-13T02:59:04.960000+00:00
Original source

I would change the signature to be CastSpell(spell, target, triggerflag) instead of CastSpell(target, spell, triggerflag)

rektbyfaith
Administrator
0
12-13-2023, 02:59 AM
#7
Archived author: Natrist • Posted: 2023-12-13T02:59:50.330000+00:00
Original source

also I don't think the triggerflag is necessary but that would require a refactor of the spell system and I'm not ready to go down that rabbit hole just yet.
rektbyfaith
12-13-2023, 02:59 AM #7

Archived author: Natrist • Posted: 2023-12-13T02:59:50.330000+00:00
Original source

also I don't think the triggerflag is necessary but that would require a refactor of the spell system and I'm not ready to go down that rabbit hole just yet.

rektbyfaith
Administrator
0
12-13-2023, 03:00 AM
#8
Archived author: Rymercyble • Posted: 2023-12-13T03:00:35.838000+00:00
Original source

if u want to rework something port qaston
rektbyfaith
12-13-2023, 03:00 AM #8

Archived author: Rymercyble • Posted: 2023-12-13T03:00:35.838000+00:00
Original source

if u want to rework something port qaston

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)