mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +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
|
|
@ -1034,7 +1034,8 @@ void GameObject::Use(Unit* user)
|
|||
break;
|
||||
}
|
||||
|
||||
player->CastedCreatureOrGO(info->id, GetObjectGuid(), 0);
|
||||
player->RewardPlayerAndGroupAtCast(this);
|
||||
|
||||
}
|
||||
|
||||
if (uint32 trapEntry = info->goober.linkedTrapId)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue