This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION] Allow skinning of all mobs no matter skill level  (Read 1107 times)

mathex

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 24
    • View Profile
Hey I want to allow skinning on all mobs, no matter the mobs level and my skill level. I've tried setting it in the core (everywhere with SKILL_EFFECT_SKINNING), but that didn't work. is there anywhere in the client I have to edit this or am I just editing the core in the wrong places?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Kaev

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 308
    • View Profile
Re: [QUESTION] Allow skinning of all mobs no matter skill le
« Reply #1 on: July 28, 2015, 05:02:48 pm »
Not tested, but i think you search this: https://github.com/TrinityCore/TrinityC ... .cpp#L5165
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

mathex

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 24
    • View Profile
Re: [QUESTION] Allow skinning of all mobs no matter skill le
« Reply #2 on: July 28, 2015, 06:25:08 pm »
Quote from: "Kaev"
Not tested, but i think you search this: https://github.com/TrinityCore/TrinityC ... .cpp#L5165

That's what I just changed to 0. All around.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] Allow skinning of all mobs no matter skill le
« Reply #3 on: July 28, 2015, 06:51:31 pm »
If you change that to 0,  (ReqValue < 0 ? 0 : ReqValue) > irand(skillValue - 25, skillValue + 37)) a few lines below will become 0 > irand(), which is always false. Better change the conditions or choose something else than 0, like a very high value.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

mathex

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 24
    • View Profile
Re: [QUESTION] Allow skinning of all mobs no matter skill le
« Reply #4 on: July 29, 2015, 11:11:50 pm »
Quote from: "schlumpf"
If you change that to 0,  (ReqValue < 0 ? 0 : ReqValue) > irand(skillValue - 25, skillValue + 37)) a few lines below will become 0 > irand(), which is always false. Better change the conditions or choose something else than 0, like a very high value.
Tried changing to a high level and even delete the code, nothing of that did work.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »