Forum > Serverside Modding

[QUESTION] Allow skinning of all mobs no matter skill level

(1/1)

mathex:
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?

Kaev:
Not tested, but i think you search this: https://github.com/TrinityCore/TrinityC ... .cpp#L5165

mathex:

--- Quote from: "Kaev" ---Not tested, but i think you search this: https://github.com/TrinityCore/TrinityC ... .cpp#L5165
--- End quote ---

That's what I just changed to 0. All around.

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.

mathex:

--- 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.
--- End quote ---
Tried changing to a high level and even delete the code, nothing of that did work.

Navigation

[0] Message Index

Go to full version