AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "Common.h"
Go to the source code of this file.
Functions | |
bool | CanCreatePerfectItem (Player *player, uint32 spellId, float &perfectCreateChance, uint32 &perfectItemType) |
void | LoadSkillPerfectItemTable () |
bool | canCreateExtraItems (Player *player, uint32 spellId, float &additionalChance, int32 &newMaxOrEntry) |
void | LoadSkillExtraItemTable () |
bool canCreateExtraItems | ( | Player * | player, |
uint32 | spellId, | ||
float & | additionalChance, | ||
int32 & | newMaxOrEntry | ||
) |
References SkillExtraItemEntry::additionalCreateChance, Player::HasSpell(), SkillExtraItemEntry::newMaxOrEntry, SkillExtraItemEntry::requiredSpecialization, and SkillExtraItemStore.
Referenced by Spell::DoCreateItem().
bool CanCreatePerfectItem | ( | Player * | player, |
uint32 | spellId, | ||
float & | perfectCreateChance, | ||
uint32 & | perfectItemType | ||
) |
References Player::HasSpell(), SkillPerfectItemEntry::perfectCreateChance, SkillPerfectItemEntry::perfectItemType, SkillPerfectItemEntry::requiredSpecialization, and SkillPerfectItemStore.
Referenced by Spell::DoCreateItem().
void LoadSkillExtraItemTable | ( | ) |
References SkillExtraItemEntry::additionalCreateChance, Field::Get(), getMSTime(), GetMSTimeDiffToNow(), LOG_ERROR, LOG_INFO, LOG_WARN, SkillExtraItemEntry::newMaxOrEntry, SkillExtraItemEntry::requiredSpecialization, SkillExtraItemStore, sSpellMgr, and WorldDatabase.
Referenced by reload_commandscript::HandleReloadSkillExtraItemTemplateCommand(), and World::SetInitialWorldSettings().
void LoadSkillPerfectItemTable | ( | ) |
References Field::Get(), getMSTime(), GetMSTimeDiffToNow(), LOG_ERROR, LOG_INFO, LOG_WARN, SkillPerfectItemEntry::perfectCreateChance, SkillPerfectItemEntry::perfectItemType, SkillPerfectItemEntry::requiredSpecialization, SkillPerfectItemStore, sObjectMgr, sSpellMgr, and WorldDatabase.
Referenced by reload_commandscript::HandleReloadSkillPerfectItemTemplateCommand(), and World::SetInitialWorldSettings().