Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] In other words is it possible to do SetSpellInfo(GetSpellInfo(12345)); where 12345 is the id of the

[DiscordArchive] In other words is it possible to do SetSpellInfo(GetSpellInfo(12345)); where 12345 is the id of the

[DiscordArchive] In other words is it possible to do SetSpellInfo(GetSpellInfo(12345)); where 12345 is the id of the

Pages (3): 1 2 3 Next
rektbyfaith
Administrator
0
12-05-2021, 07:38 PM
#1
Archived author: Ruderalis • Posted: 2021-12-05T19:38:11.538000+00:00
Original source

In other words is it possible to do SetSpellInfo(GetSpellInfo(12345)); where 12345 is the id of the spell I want to get info from ?
rektbyfaith
12-05-2021, 07:38 PM #1

Archived author: Ruderalis • Posted: 2021-12-05T19:38:11.538000+00:00
Original source

In other words is it possible to do SetSpellInfo(GetSpellInfo(12345)); where 12345 is the id of the spell I want to get info from ?

rektbyfaith
Administrator
0
12-05-2021, 07:39 PM
#2
Archived author: Drooppi • Posted: 2021-12-05T19:39:35.723000+00:00
Original source

Some of hte use for HasAura seems to be this
rektbyfaith
12-05-2021, 07:39 PM #2

Archived author: Drooppi • Posted: 2021-12-05T19:39:35.723000+00:00
Original source

Some of hte use for HasAura seems to be this

rektbyfaith
Administrator
0
12-05-2021, 07:39 PM
#3
Archived author: Drooppi • Posted: 2021-12-05T19:39:37.227000+00:00
Original source


[Image: unknown.png?ex=690c50b8&is=690aff38&hm=e...ac85ba0de&]
rektbyfaith
12-05-2021, 07:39 PM #3

Archived author: Drooppi • Posted: 2021-12-05T19:39:37.227000+00:00
Original source


[Image: unknown.png?ex=690c50b8&is=690aff38&hm=e...ac85ba0de&]

rektbyfaith
Administrator
0
12-05-2021, 07:40 PM
#4
Archived author: Drooppi • Posted: 2021-12-05T19:40:17.190000+00:00
Original source


[Image: unknown.png?ex=690c50e0&is=690aff60&hm=7...3f427f81d&]
rektbyfaith
12-05-2021, 07:40 PM #4

Archived author: Drooppi • Posted: 2021-12-05T19:40:17.190000+00:00
Original source


[Image: unknown.png?ex=690c50e0&is=690aff60&hm=7...3f427f81d&]

rektbyfaith
Administrator
0
12-05-2021, 07:41 PM
#5
Archived author: Drooppi • Posted: 2021-12-05T19:41:09.039000+00:00
Original source

and 48018 is https://www.wowhead.com/spell=48018/demonic-circle (just for the example), so it's a spell
rektbyfaith
12-05-2021, 07:41 PM #5

Archived author: Drooppi • Posted: 2021-12-05T19:41:09.039000+00:00
Original source

and 48018 is https://www.wowhead.com/spell=48018/demonic-circle (just for the example), so it's a spell

rektbyfaith
Administrator
0
12-05-2021, 07:45 PM
#6
Archived author: andriuspel • Posted: 2021-12-05T19:45:16.558000+00:00
Original source

https://www.azerothcore.org/wiki/spell_linked_spell
rektbyfaith
12-05-2021, 07:45 PM #6

Archived author: andriuspel • Posted: 2021-12-05T19:45:16.558000+00:00
Original source

https://www.azerothcore.org/wiki/spell_linked_spell

rektbyfaith
Administrator
0
12-05-2021, 07:45 PM
#7
Archived author: Ruderalis • Posted: 2021-12-05T19:45:52.326000+00:00
Original source

Yes, I found this, but I wanna try in another way.
I wanna do some thing in castSpell where I switch on the spellId to make
effIndex = sSpellMgr->Spellinfo(12345)->effIndex
rektbyfaith
12-05-2021, 07:45 PM #7

Archived author: Ruderalis • Posted: 2021-12-05T19:45:52.326000+00:00
Original source

Yes, I found this, but I wanna try in another way.
I wanna do some thing in castSpell where I switch on the spellId to make
effIndex = sSpellMgr->Spellinfo(12345)->effIndex

rektbyfaith
Administrator
0
12-05-2021, 07:50 PM
#8
Archived author: Ruderalis • Posted: 2021-12-05T19:50:40.946000+00:00
Original source

Oh, ty I did totally forget this DB table ! I'll also try this with my dummy spell. I suppose I'll have to make an entry for when the spell is cast and it should apply/remove the aura ? By managing Spellinfo effindex I aimed to set the active icon for the dummy spell as long as the connected aura is applied
rektbyfaith
12-05-2021, 07:50 PM #8

Archived author: Ruderalis • Posted: 2021-12-05T19:50:40.946000+00:00
Original source

Oh, ty I did totally forget this DB table ! I'll also try this with my dummy spell. I suppose I'll have to make an entry for when the spell is cast and it should apply/remove the aura ? By managing Spellinfo effindex I aimed to set the active icon for the dummy spell as long as the connected aura is applied

rektbyfaith
Administrator
0
12-05-2021, 07:54 PM
#9
Archived author: andriuspel • Posted: 2021-12-05T19:54:21.419000+00:00
Original source

spell_linked_spell actually can be improved further with target/caster flags but later...
rektbyfaith
12-05-2021, 07:54 PM #9

Archived author: andriuspel • Posted: 2021-12-05T19:54:21.419000+00:00
Original source

spell_linked_spell actually can be improved further with target/caster flags but later...

rektbyfaith
Administrator
0
12-05-2021, 07:55 PM
#10
Archived author: andriuspel • Posted: 2021-12-05T19:55:46.229000+00:00
Original source

currently this table works only on spell/aura target
rektbyfaith
12-05-2021, 07:55 PM #10

Archived author: andriuspel • Posted: 2021-12-05T19:55:46.229000+00:00
Original source

currently this table works only on spell/aura target

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