User Tag List

Results 1 to 5 of 5

Thread: Class item usage

  1. #1
    Enthusiast
    Join Date
    Feb 2015
    Posts
    23
    XP
    1,595
    Level
    11
    Thanks
    5
    Thanked 1 Time in 1 Post

    Class item usage

    Hi guys,

    could anyone point me to place in core where you can set what item can class use?

    Thank you for answers :-)

  2. #2
    Moderator <span style='color: #FF1493'><span class='glow_000000'>Vitrex</span></span>'s Avatar

    Join Date
    Sep 2013
    Location
    Vilnius , Lithuania
    Posts
    1,049
    XP
    1,000,662
    Level
    174
    Thanks
    283
    Thanked 137 Times in 97 Posts
    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/Trini...ndler.cpp#L777
    Also there is one more place where it sets the data : https://github.com/TrinityCore/Trini...ndler.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/Trini...yer.cpp#L11589
    https://github.com/TrinityCore/Trini...yer.cpp#L11641
    Last edited by Vitrex; 08-17-2016 at 08:44 PM.
    Achievements:
    Shopper Got a Sticky! 1 year registered Member Level XL Level C Referrer
    Awards:
    Raffle Winner Donator Member of Staff Pot Head
    I won't create anything for you, i can only guide you to right direction.
    Don't forget to read rules before posting.
    Forum Rules
    Need and assistance with your issue? use this section to ask for assistance !
    -----
    My Portfolio
    Wanna learn PHP ? check out my One-Page project


  3. #3
    Mad Scientist <span style='color: #008000'><span class='glow_006400'>slp13at420</span></span>'s Avatar



    Join Date
    Dec 2013
    Location
    Idaho
    Posts
    2,480
    XP
    20,134,655
    Level
    500
    Thanks
    1,086
    Thanked 329 Times in 211 Posts
    Side-Note

    There also is a place in the sql DB to set that:
    world.item_template.AllowableClass
    Last edited by slp13at420; 08-18-2016 at 10:36 PM.
    Achievements:
    Shopper Got a Sticky! Member 1 year registered Level XL Level D
    Awards:
    Pot Head LOL Raffle Winner Top Tagger Donator Hangman Scripter Repacker Drunk Support Member of Staff Da Bomb!
    "Cuz PvP's better with a bag 'o' weed"
    !! King Spade !!

    -Guild Plot System-
    Grumbo'z Guild Warz


    -VIP System-
    Grumbo'z VIP System

  4. The Following User Says Thank You to slp13at420 For This Useful Post:


  5. #4
    Original Poster
    Enthusiast
    Join Date
    Feb 2015
    Posts
    23
    XP
    1,595
    Level
    11
    Thanks
    5
    Thanked 1 Time in 1 Post
    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.

  6. #5
    Moderator <span style='color: #FF1493'><span class='glow_000000'>Vitrex</span></span>'s Avatar

    Join Date
    Sep 2013
    Location
    Vilnius , Lithuania
    Posts
    1,049
    XP
    1,000,662
    Level
    174
    Thanks
    283
    Thanked 137 Times in 97 Posts
    Achievements:
    Shopper Got a Sticky! 1 year registered Member Level XL Level C Referrer
    Awards:
    Raffle Winner Donator Member of Staff Pot Head
    I won't create anything for you, i can only guide you to right direction.
    Don't forget to read rules before posting.
    Forum Rules
    Need and assistance with your issue? use this section to ask for assistance !
    -----
    My Portfolio
    Wanna learn PHP ? check out my One-Page project


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •