• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

TrinityCore 3.3.5 Class item usage

Vitrex

Moderator
As far as i know you can find some checks/disables in itemHandler.cpp
if i remember correct i edited it here for vendors : https://github.com/TrinityCore/TrinityCore/blob/3.3.5/src/server/game/Handlers/ItemHandler.cpp#L777
Also there is one more place where it sets the data : https://github.com/TrinityCore/TrinityCore/blob/3.3.5/src/server/game/Handlers/ItemHandler.cpp#L343

unfortunately in itemPrototype.h there is no comments for AllowableClass variable the same as in .cpp

And the main edits should be done i player.cpp here i guess.

https://github.com/TrinityCore/Trin...server/game/Entities/Player/Player.cpp#L11589
https://github.com/TrinityCore/Trin...server/game/Entities/Player/Player.cpp#L11641
 
Last edited:

slp13at420

Mad Scientist
Side-Note

There also is a place in the sql DB to set that:
world.item_template.AllowableClass
 
Last edited:

madman1851

Enthusiast
Thank you for your answers, but i'm seeking different thing (my bad for writing it first time wrong). I need to find skills that class is able to use like plate mail etc.
 
Top