![]() |
TrinityCore
|
#include "Common.h"
Include dependency graph for SkillExtraItems.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| TC_GAME_API bool | CanCreatePerfectItem (Player *player, uint32 spellId, float &perfectCreateChance, uint32 &perfectItemType) |
| TC_GAME_API void | LoadSkillPerfectItemTable () |
| TC_GAME_API bool | CanCreateExtraItems (Player *player, uint32 spellId, float &additionalChance, uint8 &additionalMax) |
| TC_GAME_API void | LoadSkillExtraItemTable () |
| TC_GAME_API bool CanCreateExtraItems | ( | Player * | player, |
| uint32 | spellId, | ||
| float & | additionalChance, | ||
| uint8 & | additionalMax | ||
| ) |
Definition at line 222 of file SkillExtraItems.cpp.
References SkillExtraItemEntry::additionalCreateChance, SkillExtraItemEntry::additionalMaxNum, Player::HasSpell(), SkillExtraItemEntry::requiredSpecialization, and SkillExtraItemStore.
Referenced by Spell::DoCreateItem().
| TC_GAME_API bool CanCreatePerfectItem | ( | Player * | player, |
| uint32 | spellId, | ||
| float & | perfectCreateChance, | ||
| uint32 & | perfectItemType | ||
| ) |
Definition at line 201 of file SkillExtraItems.cpp.
References Player::HasSpell(), SkillPerfectItemEntry::perfectCreateChance, SkillPerfectItemEntry::perfectItemType, SkillPerfectItemEntry::requiredSpecialization, and SkillPerfectItemStore.
Referenced by Spell::DoCreateItem().
| TC_GAME_API void LoadSkillExtraItemTable | ( | ) |
Definition at line 138 of file SkillExtraItems.cpp.
References SkillExtraItemEntry::additionalCreateChance, SkillExtraItemEntry::additionalMaxNum, DIFFICULTY_NONE, Field::GetFloat(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), SkillExtraItemEntry::requiredSpecialization, SkillExtraItemStore, sSpellMgr, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
Referenced by reload_commandscript::HandleReloadSkillExtraItemTemplateCommand(), and World::SetInitialWorldSettings().
| TC_GAME_API void LoadSkillPerfectItemTable | ( | ) |
Definition at line 51 of file SkillExtraItems.cpp.
References DIFFICULTY_NONE, Field::GetFloat(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), SkillPerfectItemEntry::perfectCreateChance, SkillPerfectItemEntry::perfectItemType, SkillPerfectItemEntry::requiredSpecialization, SkillPerfectItemStore, sObjectMgr, sSpellMgr, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
Referenced by reload_commandscript::HandleReloadSkillPerfectItemTemplateCommand(), and World::SetInitialWorldSettings().