Jump to content

Multiple masks classes for quests


Guest virusav

Recommended Posts

Is there a need to specify the requirements of several classes of quests, has been based upon a patch http://code.google.com/p/trinitycore/source/detail?r=6f1c4fcf4e, then the rules manually, the kernel source, so k. original patch by Trinity.

At the base:

ALTER TABLE `quest_template` CHANGE COLUMN `SkillOrClass` `SkillOrClassMask` mediumint (8) NOT NULL DEFAULT '0 ';
UPDATE `quest_template` SET `SkillOrClassMask` =- (1 <<(-` SkillOrClassMask `-1)) WHERE` SkillOrClassMask `<0;

http://paste2.org/p/956558

I checked in the game - is working.

I hope that nothing is missed.:)

Examples Quests:

http://www.wowhead.com/quest=24595, put "-1104"

http://www.wowhead.com/quest=24553, put "-598"

similarly, for example

http://www.wowhead.com/quest=13408, put "-1503" (now does not exclude DK)

http://www.wowhead.com/quest=13410, put "-32" (now you can put "-6")

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use