[DiscordArchive] Regarding the learning armor & weapon proficiency on the unsupported classes:
[DiscordArchive] Regarding the learning armor & weapon proficiency on the unsupported classes:
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?