Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Is that what u ment?

[DiscordArchive] Is that what u ment?

[DiscordArchive] Is that what u ment?

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
01-17-2023, 10:12 PM
#11
Archived author: Anchy • Posted: 2023-01-17T22:12:07.314000+00:00
Original source

you will have to share your new entry
rektbyfaith
01-17-2023, 10:12 PM #11

Archived author: Anchy • Posted: 2023-01-17T22:12:07.314000+00:00
Original source

you will have to share your new entry

rektbyfaith
Administrator
0
01-17-2023, 10:12 PM
#12
Archived author: Revision • Posted: 2023-01-17T22:12:39.852000+00:00
Original source

I guess it makes sense. If you faction change sometimes it'll say the player has a skill that doesn't exist because it wasn't properly transferred.
rektbyfaith
01-17-2023, 10:12 PM #12

Archived author: Revision • Posted: 2023-01-17T22:12:39.852000+00:00
Original source

I guess it makes sense. If you faction change sometimes it'll say the player has a skill that doesn't exist because it wasn't properly transferred.

rektbyfaith
Administrator
0
01-17-2023, 10:13 PM
#13
Archived author: Anchy • Posted: 2023-01-17T22:13:25.129000+00:00
Original source

yeah, the error is not exactly accurate; it says it doesnt exist if it doesnt meet criteria and should probably be re-worded
rektbyfaith
01-17-2023, 10:13 PM #13

Archived author: Anchy • Posted: 2023-01-17T22:13:25.129000+00:00
Original source

yeah, the error is not exactly accurate; it says it doesnt exist if it doesnt meet criteria and should probably be re-worded

rektbyfaith
Administrator
0
01-17-2023, 10:15 PM
#14
Archived author: Anchy • Posted: 2023-01-17T22:15:45.759000+00:00
Original source

the issue most likely lies in SkillLineAbility.dbc
rektbyfaith
01-17-2023, 10:15 PM #14

Archived author: Anchy • Posted: 2023-01-17T22:15:45.759000+00:00
Original source

the issue most likely lies in SkillLineAbility.dbc

rektbyfaith
Administrator
0
01-17-2023, 10:36 PM
#15
Archived author: wqq • Posted: 2023-01-17T22:36:21.717000+00:00
Original source

But what if race and class masks equals zero? I just want a copy of GM spellbook tab, but with my spells. Is it depends on spells in skill line? For example I want orgri port on priest char in custom spellbook tab
rektbyfaith
01-17-2023, 10:36 PM #15

Archived author: wqq • Posted: 2023-01-17T22:36:21.717000+00:00
Original source

But what if race and class masks equals zero? I just want a copy of GM spellbook tab, but with my spells. Is it depends on spells in skill line? For example I want orgri port on priest char in custom spellbook tab

rektbyfaith
Administrator
0
01-17-2023, 10:45 PM
#16
Archived author: Anchy • Posted: 2023-01-17T22:45:27.872000+00:00
Original source

it doesn't include all if you use 0, instead you will have to create a sum of all of the class/race masks
rektbyfaith
01-17-2023, 10:45 PM #16

Archived author: Anchy • Posted: 2023-01-17T22:45:27.872000+00:00
Original source

it doesn't include all if you use 0, instead you will have to create a sum of all of the class/race masks

rektbyfaith
Administrator
0
01-17-2023, 10:46 PM
#17
Archived author: Anchy • Posted: 2023-01-17T22:46:56.562000+00:00
Original source

```cpp
SkillRaceClassInfoEntry const* GetSkillRaceClassInfo(uint32 skill, uint8 race, uint8 class_)
{
SkillRaceClassInfoBounds bounds = SkillRaceClassInfoBySkill.equal_range(skill);
for (SkillRaceClassInfoMap::iterator itr = bounds.first; itr != bounds.second; ++itr)
{
if (itr->second->RaceMask && !(itr->second->RaceMask & (1 << (race - 1))))
{
continue;
}

if (itr->second->ClassMask && !(itr->second->ClassMask & (1 << (class_ - 1))))
{
continue;
}

return itr->second;
}

return nullptr;
}```
rektbyfaith
01-17-2023, 10:46 PM #17

Archived author: Anchy • Posted: 2023-01-17T22:46:56.562000+00:00
Original source

```cpp
SkillRaceClassInfoEntry const* GetSkillRaceClassInfo(uint32 skill, uint8 race, uint8 class_)
{
SkillRaceClassInfoBounds bounds = SkillRaceClassInfoBySkill.equal_range(skill);
for (SkillRaceClassInfoMap::iterator itr = bounds.first; itr != bounds.second; ++itr)
{
if (itr->second->RaceMask && !(itr->second->RaceMask & (1 << (race - 1))))
{
continue;
}

if (itr->second->ClassMask && !(itr->second->ClassMask & (1 << (class_ - 1))))
{
continue;
}

return itr->second;
}

return nullptr;
}```

rektbyfaith
Administrator
0
01-17-2023, 10:47 PM
#18
Archived author: Anchy • Posted: 2023-01-17T22:47:05.186000+00:00
Original source

in fact if you use 0 it will instantly be skipped
rektbyfaith
01-17-2023, 10:47 PM #18

Archived author: Anchy • Posted: 2023-01-17T22:47:05.186000+00:00
Original source

in fact if you use 0 it will instantly be skipped

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