Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Regarding the learning armor & weapon proficiency on the unsupported classes:

[DiscordArchive] Regarding the learning armor & weapon proficiency on the unsupported classes:

[DiscordArchive] Regarding the learning armor & weapon proficiency on the unsupported classes:

rektbyfaith
Administrator
0
08-15-2023, 12:51 AM
#1
Archived author: xiiihearts • Posted: 2023-08-15T00:51:15.040000+00:00
Original source

Regarding the learning armor & weapon proficiency on the unsupported classes:

I still have no clue how to edit the dbc to make sure whenever the player relog, they would retained their "modded" abilities.

BUT

I looked into ```PlayerStorage.cpp```, there's a line regarding allowing player can use items and equipment.

Line 2279 - 2288

``` switch (getClass())
{
case CLASS_HUNTER:
case CLASS_SHAMAN:
allowEquip = (itemSkill == SKILL_MAIL);
break;
case CLASS_PALADIN:
case CLASS_WARRIOR:
allowEquip = (itemSkill == SKILL_PLATE_MAIL);
break;```

if I added more classes to those lines, will I be able to make those classes to be able to wear such equipment or will it break when I compile it?
rektbyfaith
08-15-2023, 12:51 AM #1

Archived author: xiiihearts • Posted: 2023-08-15T00:51:15.040000+00:00
Original source

Regarding the learning armor & weapon proficiency on the unsupported classes:

I still have no clue how to edit the dbc to make sure whenever the player relog, they would retained their "modded" abilities.

BUT

I looked into ```PlayerStorage.cpp```, there's a line regarding allowing player can use items and equipment.

Line 2279 - 2288

``` switch (getClass())
{
case CLASS_HUNTER:
case CLASS_SHAMAN:
allowEquip = (itemSkill == SKILL_MAIL);
break;
case CLASS_PALADIN:
case CLASS_WARRIOR:
allowEquip = (itemSkill == SKILL_PLATE_MAIL);
break;```

if I added more classes to those lines, will I be able to make those classes to be able to wear such equipment or will it break when I compile it?

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