Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] hey guys, how do I check if player has an aura effect active?

[DiscordArchive] hey guys, how do I check if player has an aura effect active?

[DiscordArchive] hey guys, how do I check if player has an aura effect active?

rektbyfaith
Administrator
0
04-27-2019, 12:53 PM
#1
Archived author: MR.MUSTACHE • Posted: 2019-04-27T12:53:01.169000+00:00
Original source

hey guys, how do I check if player has an aura effect active?
rektbyfaith
04-27-2019, 12:53 PM #1

Archived author: MR.MUSTACHE • Posted: 2019-04-27T12:53:01.169000+00:00
Original source

hey guys, how do I check if player has an aura effect active?

rektbyfaith
Administrator
0
04-27-2019, 12:53 PM
#2
Archived author: MR.MUSTACHE • Posted: 2019-04-27T12:53:47.056000+00:00
Original source

for example, I wanna execute this only if player doesn't have it already
```cpp
me->CastSpell(*plr, 20372); // tag: heart
```
rektbyfaith
04-27-2019, 12:53 PM #2

Archived author: MR.MUSTACHE • Posted: 2019-04-27T12:53:47.056000+00:00
Original source

for example, I wanna execute this only if player doesn't have it already
```cpp
me->CastSpell(*plr, 20372); // tag: heart
```

rektbyfaith
Administrator
0
04-27-2019, 12:56 PM
#3
Archived author: MR.MUSTACHE • Posted: 2019-04-27T12:56:18.462000+00:00
Original source

obviously my Google search abilities are weak, since I get tons of non relative results
rektbyfaith
04-27-2019, 12:56 PM #3

Archived author: MR.MUSTACHE • Posted: 2019-04-27T12:56:18.462000+00:00
Original source

obviously my Google search abilities are weak, since I get tons of non relative results

rektbyfaith
Administrator
0
04-27-2019, 12:57 PM
#4
Archived author: MR.MUSTACHE • Posted: 2019-04-27T12:57:24.043000+00:00
Original source

ok found it
```
player->HasAura
```
rektbyfaith
04-27-2019, 12:57 PM #4

Archived author: MR.MUSTACHE • Posted: 2019-04-27T12:57:24.043000+00:00
Original source

ok found it
```
player->HasAura
```

rektbyfaith
Administrator
0
04-27-2019, 01:22 PM
#5
Archived author: Deleted User • Posted: 2019-04-27T13:22:02.335000+00:00
Original source

Hello everyone,

I think, no, i'm sure i have a problem with CMake when i try to compilate TrinityCore.
Already i have this same error, i let you see :

http://prntscr.com/nhl1ni

I use Windows and not Unbutu, can you help me please ? Thanks ^^'
[Embed: Screenshot]
Captured with Lightshot
http://prntscr.com/nhl1ni
rektbyfaith
04-27-2019, 01:22 PM #5

Archived author: Deleted User • Posted: 2019-04-27T13:22:02.335000+00:00
Original source

Hello everyone,

I think, no, i'm sure i have a problem with CMake when i try to compilate TrinityCore.
Already i have this same error, i let you see :

http://prntscr.com/nhl1ni

I use Windows and not Unbutu, can you help me please ? Thanks ^^'
[Embed: Screenshot]
Captured with Lightshot
http://prntscr.com/nhl1ni

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