[7559] Implement function Player::RewardPlayerAndGroupAtEvent for reward (quest objective only) player and group at special kill-like events. Author: Ramses_II

Use it for Spell::EffectKillCredit and some dummy code.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-28 16:26:31 -06:00
parent ce8462ccf9
commit 1299521d50
3 changed files with 28 additions and 2 deletions
+1
View File
@@ -1675,6 +1675,7 @@ class TRINITY_DLL_SPEC Player : public Unit
bool IsAtGroupRewardDistance(WorldObject const* pRewardSource) const;
bool RewardPlayerAndGroupAtKill(Unit* pVictim);
void RewardPlayerAndGroupAtEvent(uint32 creature_id,WorldObject* pRewardSource);
bool isHonorOrXPTarget(Unit* pVictim);
ReputationMgr& GetReputationMgr() { return m_reputationMgr; }