Skip to content

Maurowin/mod-npc-talent-template

This branch is 2 commits behind azerothcore/mod-npc-talent-template:master.

Folders and files

NameName
Last commit message
Last commit date
Sep 6, 2023
Sep 6, 2023
Nov 19, 2024
Nov 19, 2024
Nov 19, 2024
Feb 18, 2019
Feb 18, 2019
Feb 18, 2019
Nov 19, 2024
Sep 6, 2023
Sep 6, 2023

Repository files navigation

logo AzerothCore

mod-npc-talent-template

  • Latest build status with azerothcore:

Build Status

Description

This mod introduces an NPC that allows players to instantly apply pre-configured character templates that gear up, gem, set talents, and apply glyphs for any class. Ideal for quick character optimization for various roles and scenarios.

  • templates for level 80 PvP S6 and level 70 PvE T6
  • race-specific gear options (e.g., humans receive no PvP trinket)
  • administrator command for creating custom templates. Templates are managed directly through the database and config. No C++ edits needed

Video Showcase: https://streamable.com/yxv1m

Creating custom gear sets

This process can only be done by an administrator and is error-prone. Creating gear sets should be done on a local development server and exporting sets from the DB to a .sql is recommended.

  1. Setup a character with the desired gear set, gems, enchants, talents and glyphs.
  2. .templatenpc create [TemplateName] creates database entries for gear, talents, glyphs and an entry in the index table for your class. A template name needs to be unique for that class and is case-sensitive. For example, when creating a PvP set for a lvl80 Restoration Druid .templatenpc create Restoration80PvPS8.
  3. export to .sql
  4. some manual changes are needed

The following entries are created in the acore_characters db: a. mod_npc_talent_template_gear: gear for your class, spec and race. When exporting, modify the raceMask as needed. When creating spec set for multiple races, create a template for one race, export to sql then create template for a new race. Modify the raceMask as needed b. mod_npc_talent_template_talents: no modifying needed c. mod_npc_talent_template_glyphs: no modifying needed d. mod_npc_talent_template_index: modify gossipText, actionId needs to be unique per spec. Gossip options are displayed according to their ID with the lowest ID at the top. You can override a column to re-use talents or glyphs or gear from another template. For example, talents and glyphs from Restoration80PvP can be re-used

.templatenpc reload to reload changes. Test with dropping acore_characters.mod_npc_talent_template* tables and updates from character db as needed

DELETE FROM acore_characters.updates WHERE name='npc_talent_template_data_1_80_pvp_s6.sql';
DELETE FROM acore_characters.updates WHERE name='npc_talent_template_data_2_70_pve_t6.sql';
DELETE FROM acore_characters.updates WHERE name='npc_talent_template.sql';
DROP TABLE IF EXISTS acore_characters.mod_npc_talent_template_gear;
DROP TABLE IF EXISTS acore_characters.mod_npc_talent_template_glyphs;
DROP TABLE IF EXISTS acore_characters.mod_npc_talent_template_index;
DROP TABLE IF EXISTS acore_characters.mod_npc_talent_template_talents;

About

Template NPC (gear, talents)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 97.1%
  • Shell 2.9%