mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-26 15:16:24 +00:00
Skill perfect item template (#1564)
* Core/Misc Created handler for character creation * fix(Core/DB): Error message when the password is longer than 16 char when creating an account * Update rev_1551539925032805900.sql * Update AccountMgr.cpp * Milestone (DB/Core): Create new table for perfect item craft, create new command for reload capability to this new table, implements the table into core (killExtraItems.cpp, SkillExtraItems.h, SpellEffects.cpp), change some magic number with enum. Tnx to Treestone * clean old sql * Remove perfect item in skill extra item template table, now the perfect are in skill_perfect_item_template, sync column name skill_extra_item_template same as TC * Update rev_1552232377246845400.sql
This commit is contained in:
@@ -11,6 +11,10 @@
|
||||
|
||||
// predef classes used in functions
|
||||
class Player;
|
||||
// returns true and sets the appropriate info if the player can create a perfect item with the given spellId
|
||||
bool CanCreatePerfectItem(Player* player, uint32 spellId, float &perfectCreateChance, uint32 &perfectItemType);
|
||||
// load perfection proc info from DB
|
||||
void LoadSkillPerfectItemTable();
|
||||
// returns true and sets the appropriate info if the player can create extra items with the given spellId
|
||||
bool canCreateExtraItems(Player* player, uint32 spellId, float &additionalChance, int32 &newMaxOrEntry);
|
||||
// function to load the extra item creation info from DB
|
||||
|
||||
Reference in New Issue
Block a user