Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] Hey, I am trying to figure out how spells know where they can be used... but I don't find anything.

[DiscordArchive] Hey, I am trying to figure out how spells know where they can be used... but I don't find anything.

[DiscordArchive] Hey, I am trying to figure out how spells know where they can be used... but I don't find anything.

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
03-08-2023, 02:51 AM
#1
Archived author: Saty • Posted: 2023-03-08T02:51:59.939000+00:00
Original source

Hey, I am trying to figure out how spells know where they can be used... but I don't find anything.
Can anyone point me maybe in the right direction?
rektbyfaith
03-08-2023, 02:51 AM #1

Archived author: Saty • Posted: 2023-03-08T02:51:59.939000+00:00
Original source

Hey, I am trying to figure out how spells know where they can be used... but I don't find anything.
Can anyone point me maybe in the right direction?

rektbyfaith
Administrator
0
03-08-2023, 03:31 AM
#2
Archived author: HelloKitty • Posted: 2023-03-08T03:31:19.163000+00:00
Original source

In the 3.3.5 spell DBC there is a field refered to as RequiredAreaGroupId which is an optional FK to the DBC table AreaGroup. The entry in this table can then be used to create a set of areas a spell is allowed to be cast: <https://wowdev.wiki/DB/AreaGroup>.
rektbyfaith
03-08-2023, 03:31 AM #2

Archived author: HelloKitty • Posted: 2023-03-08T03:31:19.163000+00:00
Original source

In the 3.3.5 spell DBC there is a field refered to as RequiredAreaGroupId which is an optional FK to the DBC table AreaGroup. The entry in this table can then be used to create a set of areas a spell is allowed to be cast: <https://wowdev.wiki/DB/AreaGroup>.

rektbyfaith
Administrator
0
03-08-2023, 03:52 AM
#3
Archived author: Saty • Posted: 2023-03-08T03:52:31.204000+00:00
Original source

I am looking at this spell: https://www.wowhead.com/wotlk/spell=4976/filling
But it seems like the "RequiredAreaGroupId" is empty
[Embed: Filling]
Right-click to fill the Crystal Phial at the Shadowglen moonwell. In the Uncategorized Spells category. Added in Classic World of Warcraft. Always up to date.
https://www.wowhead.com/wotlk/spell=4976/filling
rektbyfaith
03-08-2023, 03:52 AM #3

Archived author: Saty • Posted: 2023-03-08T03:52:31.204000+00:00
Original source

I am looking at this spell: https://www.wowhead.com/wotlk/spell=4976/filling
But it seems like the "RequiredAreaGroupId" is empty
[Embed: Filling]
Right-click to fill the Crystal Phial at the Shadowglen moonwell. In the Uncategorized Spells category. Added in Classic World of Warcraft. Always up to date.
https://www.wowhead.com/wotlk/spell=4976/filling

rektbyfaith
Administrator
0
03-08-2023, 03:54 AM
#4
Archived author: HelloKitty • Posted: 2023-03-08T03:54:19.997000+00:00
Original source

That one is implemented as "Spell Focus".
rektbyfaith
03-08-2023, 03:54 AM #4

Archived author: HelloKitty • Posted: 2023-03-08T03:54:19.997000+00:00
Original source

That one is implemented as "Spell Focus".

rektbyfaith
Administrator
0
03-08-2023, 03:54 AM
#5
Archived author: HelloKitty • Posted: 2023-03-08T03:54:54.876000+00:00
Original source

Here is a copy paste of the wiki for spell focus: ```SpellFocusObject: Spell focus needed by spell to be casted. Player needs to be within range of apropriate gameobject with type=8.```
rektbyfaith
03-08-2023, 03:54 AM #5

Archived author: HelloKitty • Posted: 2023-03-08T03:54:54.876000+00:00
Original source

Here is a copy paste of the wiki for spell focus: ```SpellFocusObject: Spell focus needed by spell to be casted. Player needs to be within range of apropriate gameobject with type=8.```

rektbyfaith
Administrator
0
03-08-2023, 03:55 AM
#6
Archived author: HelloKitty • Posted: 2023-03-08T03:55:14.527000+00:00
Original source

It's a column on the Spell DBC table.
rektbyfaith
03-08-2023, 03:55 AM #6

Archived author: HelloKitty • Posted: 2023-03-08T03:55:14.527000+00:00
Original source

It's a column on the Spell DBC table.

rektbyfaith
Administrator
0
03-08-2023, 03:55 AM
#7
Archived author: Saty • Posted: 2023-03-08T03:55:43.402000+00:00
Original source

Ah okay... thats 11 for that spell
rektbyfaith
03-08-2023, 03:55 AM #7

Archived author: Saty • Posted: 2023-03-08T03:55:43.402000+00:00
Original source

Ah okay... thats 11 for that spell

rektbyfaith
Administrator
0
03-08-2023, 03:55 AM
#8
Archived author: HelloKitty • Posted: 2023-03-08T03:55:44.422000+00:00
Original source

Annoyingly they don't use an gameobject id, they point to another DBC: <https://wowdev.wiki/DB/SpellFocusObject>
rektbyfaith
03-08-2023, 03:55 AM #8

Archived author: HelloKitty • Posted: 2023-03-08T03:55:44.422000+00:00
Original source

Annoyingly they don't use an gameobject id, they point to another DBC: <https://wowdev.wiki/DB/SpellFocusObject>

rektbyfaith
Administrator
0
03-08-2023, 03:56 AM
#9
Archived author: HelloKitty • Posted: 2023-03-08T03:56:15.417000+00:00
Original source

Or maybe it is the GameobjectID, I never opened the DBC lol.
rektbyfaith
03-08-2023, 03:56 AM #9

Archived author: HelloKitty • Posted: 2023-03-08T03:56:15.417000+00:00
Original source

Or maybe it is the GameobjectID, I never opened the DBC lol.

rektbyfaith
Administrator
0
03-08-2023, 03:57 AM
#10
Archived author: Saty • Posted: 2023-03-08T03:57:09.065000+00:00
Original source

Hmm... it's not the ID it looks like, only points to a name in the SpellFocusObject table
rektbyfaith
03-08-2023, 03:57 AM #10

Archived author: Saty • Posted: 2023-03-08T03:57:09.065000+00:00
Original source

Hmm... it's not the ID it looks like, only points to a name in the SpellFocusObject table

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)