Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Possibility of changing how Trainer options work in Creature_Template #20941

Open
TheSCREWEDSoftware opened this issue Dec 16, 2024 · 0 comments

Comments

@TheSCREWEDSoftware
Copy link
Contributor

Describe your feature request or suggestion in detail

Currently when choosing / making a Class Trainer you've to define what trainer_class.

Would it possible instead of using single values for the trainer_class having bitmasks?

Allowing example warrior and paladin would reflects as 3 (1 + 2). Now Warriors and Paladins could interact with this npc.

Another flag could be added here (if not moving trainer related columns to their own table) if it's restricted so it means that only "visible" class abilities match your class. Warriors and Paladins can interact with this NPC, but if restricted enabled only shows their respective spells to their class. If restriced is disabled it would show both classes spells.

Describe a possible solution to your feature or suggestion in detail

  • If this change was possible. Could be the time to liberate / reduce the size of creature_template and make another table like creature_template_model.

  • Making the class trianer be bitmask (to support multiple classes) with a option to be restriced or not.

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant