Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] All mount spells do have the correct race flags ?

[DiscordArchive] All mount spells do have the correct race flags ?

[DiscordArchive] All mount spells do have the correct race flags ?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
05-02-2022, 07:43 PM
#1
Archived author: Ruderalis • Posted: 2022-05-02T19:43:56.873000+00:00
Original source

All mount spells do have the correct race flags ?
rektbyfaith
05-02-2022, 07:43 PM #1

Archived author: Ruderalis • Posted: 2022-05-02T19:43:56.873000+00:00
Original source

All mount spells do have the correct race flags ?

rektbyfaith
Administrator
0
05-02-2022, 07:44 PM
#2
Archived author: Revision • Posted: 2022-05-02T19:44:09.901000+00:00
Original source

The attributes of spells can determine if it's a class-specific, race-specific or faction-specific spell so there's no need to even add that to a database
rektbyfaith
05-02-2022, 07:44 PM #2

Archived author: Revision • Posted: 2022-05-02T19:44:09.901000+00:00
Original source

The attributes of spells can determine if it's a class-specific, race-specific or faction-specific spell so there's no need to even add that to a database

rektbyfaith
Administrator
0
05-02-2022, 07:44 PM
#3
Archived author: Revision • Posted: 2022-05-02T19:44:24.539000+00:00
Original source

like this
`if (((spell->AttributesEx7 & SPELL_ATTR7_ALLIANCE_SPECIFIC_SPELL) && player->GetTeamId() != TEAM_ALLIANCE)`
rektbyfaith
05-02-2022, 07:44 PM #3

Archived author: Revision • Posted: 2022-05-02T19:44:24.539000+00:00
Original source

like this
`if (((spell->AttributesEx7 & SPELL_ATTR7_ALLIANCE_SPECIFIC_SPELL) && player->GetTeamId() != TEAM_ALLIANCE)`

rektbyfaith
Administrator
0
05-02-2022, 07:44 PM
#4
Archived author: Honey • Posted: 2022-05-02T19:44:45.441000+00:00
Original source

Ewww, .cpp
rektbyfaith
05-02-2022, 07:44 PM #4

Archived author: Honey • Posted: 2022-05-02T19:44:45.441000+00:00
Original source

Ewww, .cpp

rektbyfaith
Administrator
0
05-02-2022, 07:45 PM
#5
Archived author: Revision • Posted: 2022-05-02T19:45:02.282000+00:00
Original source

I made a very crude account bound mount module, I will probably rewrite it to use the account rather than character since that's apparently requested.
rektbyfaith
05-02-2022, 07:45 PM #5

Archived author: Revision • Posted: 2022-05-02T19:45:02.282000+00:00
Original source

I made a very crude account bound mount module, I will probably rewrite it to use the account rather than character since that's apparently requested.

rektbyfaith
Administrator
0
05-02-2022, 07:45 PM
#6
Archived author: Ruderalis • Posted: 2022-05-02T19:45:42.801000+00:00
Original source

I do not trust the spell attributes to be correct on all the specific mounts, but if it's truly reliable it's way more pertinent, yes (:
rektbyfaith
05-02-2022, 07:45 PM #6

Archived author: Ruderalis • Posted: 2022-05-02T19:45:42.801000+00:00
Original source

I do not trust the spell attributes to be correct on all the specific mounts, but if it's truly reliable it's way more pertinent, yes (:

rektbyfaith
Administrator
0
05-02-2022, 07:46 PM
#7
Archived author: Revision • Posted: 2022-05-02T19:46:04.581000+00:00
Original source

I have tested this on various mounts. Class specific, race specific and faction specific - never any issues
rektbyfaith
05-02-2022, 07:46 PM #7

Archived author: Revision • Posted: 2022-05-02T19:46:04.581000+00:00
Original source

I have tested this on various mounts. Class specific, race specific and faction specific - never any issues

rektbyfaith
Administrator
0
05-02-2022, 07:46 PM
#8
Archived author: Revision • Posted: 2022-05-02T19:46:39.893000+00:00
Original source

My rule is, there's no point doing extra work if less code can do it. But that's your choice. I'm going my route.
rektbyfaith
05-02-2022, 07:46 PM #8

Archived author: Revision • Posted: 2022-05-02T19:46:39.893000+00:00
Original source

My rule is, there's no point doing extra work if less code can do it. But that's your choice. I'm going my route.

rektbyfaith
Administrator
0
05-02-2022, 07:47 PM
#9
Archived author: Ruderalis • Posted: 2022-05-02T19:47:32.341000+00:00
Original source

I know why I still need my template table ! Inside it I link any mount (or spell) to its opposite variation (for example the horde spell for an alliance one, or the any class spell for a class specific one maybe)
rektbyfaith
05-02-2022, 07:47 PM #9

Archived author: Ruderalis • Posted: 2022-05-02T19:47:32.341000+00:00
Original source

I know why I still need my template table ! Inside it I link any mount (or spell) to its opposite variation (for example the horde spell for an alliance one, or the any class spell for a class specific one maybe)

rektbyfaith
Administrator
0
05-02-2022, 07:47 PM
#10
Archived author: Revision • Posted: 2022-05-02T19:47:48.556000+00:00
Original source

The idea is mainly to use the attributes when inserting the data, so it populates the columns with the required information - like faction etc
rektbyfaith
05-02-2022, 07:47 PM #10

Archived author: Revision • Posted: 2022-05-02T19:47:48.556000+00:00
Original source

The idea is mainly to use the attributes when inserting the data, so it populates the columns with the required information - like faction etc

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