mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Update OnGiveXP to include new parameter.
This commit is contained in:
@@ -657,9 +657,9 @@ public:
|
||||
sEluna->OnMoneyChanged(player, amount);
|
||||
}
|
||||
|
||||
void OnGiveXP(Player* player, uint32& amount, Unit* victim) override
|
||||
void OnGiveXP(Player* player, uint32& amount, Unit* victim, uint8 xpSource) override
|
||||
{
|
||||
sEluna->OnGiveXP(player, amount, victim);
|
||||
sEluna->OnGiveXP(player, amount, victim, xpSource);
|
||||
}
|
||||
|
||||
bool OnReputationChange(Player* player, uint32 factionID, int32& standing, bool incremental) override
|
||||
|
||||
Reference in New Issue
Block a user