Cleanup and reorganization of Unit and SpellEntry headers. (#312)

* Move some unit and spell defines to dedicated header.

* Reorder functions in unit header.

* Clean up until spell category.

* Finish cleaning up spell functions.

* Cleanup combat system methods.

* Done cleaning up unit header.

* Reduce not needed includes.
This commit is contained in:
ratkosrb
2019-11-24 22:20:44 +02:00
committed by GitHub
parent df76eff1d3
commit 66659fe13f
374 changed files with 7116 additions and 7379 deletions
+1 -1
View File
@@ -176,7 +176,7 @@ uint32 Quest::XPValue(Player *pPlayer) const
{
if (RewXP > 0)
{
uint32 pLevel = pPlayer->getLevel();
uint32 pLevel = pPlayer->GetLevel();
uint32 qLevel = QuestLevel;
float fullxp = RewXP;