refactor(Core/Game): restyle game lib with astyle (#3466)

This commit is contained in:
Kargatum
2020-10-12 15:08:15 +07:00
committed by GitHub
parent e99b526e17
commit a2b26272d2
338 changed files with 52196 additions and 50944 deletions

View File

@@ -181,14 +181,13 @@ void LoadSkillExtraItemTable()
skillExtraItemEntry.newMaxOrEntry = newMaxOrEntry;
++count;
}
while (result->NextRow());
} while (result->NextRow());
sLog->outString(">> Loaded %u spell specialization definitions in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
sLog->outString();
}
bool CanCreatePerfectItem(Player* player, uint32 spellId, float &perfectCreateChance, uint32 &perfectItemType)
bool CanCreatePerfectItem(Player* player, uint32 spellId, float& perfectCreateChance, uint32& perfectItemType)
{
SkillPerfectItemMap::const_iterator ret = SkillPerfectItemStore.find(spellId);
// no entry in DB means no perfection proc possible
@@ -212,7 +211,7 @@ bool CanCreatePerfectItem(Player* player, uint32 spellId, float &perfectCreateCh
return true;
}
bool canCreateExtraItems(Player* player, uint32 spellId, float &additionalChance, int32 &newMaxOrEntry)
bool canCreateExtraItems(Player* player, uint32 spellId, float& additionalChance, int32& newMaxOrEntry)
{
// get the info for the specified spell
SkillExtraItemMap::const_iterator ret = SkillExtraItemStore.find(spellId);