mirror of
https://github.com/mangosfour/server.git
synced 2025-12-30 19:37:04 +00:00
[10028] Reward group for shareable quests at cast event to creature/go.
This commit is contained in:
parent
ff3fb9b727
commit
6ebbcd8dbb
5 changed files with 85 additions and 56 deletions
|
|
@ -1404,7 +1404,7 @@ class MANGOS_DLL_SPEC Player : public Unit
|
|||
void ItemRemovedQuestCheck( uint32 entry, uint32 count );
|
||||
void KilledMonster( CreatureInfo const* cInfo, ObjectGuid guid );
|
||||
void KilledMonsterCredit( uint32 entry, ObjectGuid guid );
|
||||
void CastedCreatureOrGO( uint32 entry, ObjectGuid guid, uint32 spell_id );
|
||||
void CastedCreatureOrGO( uint32 entry, ObjectGuid guid, uint32 spell_id, bool original_caster = true );
|
||||
void TalkedToCreature( uint32 entry, ObjectGuid guid );
|
||||
void MoneyChanged( uint32 value );
|
||||
void ReputationChanged(FactionEntry const* factionEntry );
|
||||
|
|
@ -1906,6 +1906,7 @@ class MANGOS_DLL_SPEC Player : public Unit
|
|||
bool IsAtGroupRewardDistance(WorldObject const* pRewardSource) const;
|
||||
void RewardSinglePlayerAtKill(Unit* pVictim);
|
||||
void RewardPlayerAndGroupAtEvent(uint32 creature_id,WorldObject* pRewardSource);
|
||||
void RewardPlayerAndGroupAtCast(WorldObject* pRewardSource, uint32 spellid = 0);
|
||||
bool isHonorOrXPTarget(Unit* pVictim) const;
|
||||
|
||||
ReputationMgr& GetReputationMgr() { return m_reputationMgr; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue