mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[7776] Completed implementation of CMSG_SPELLCLICK
For vehicles, you have to add the correct SPELL_AURA_CONTROL_VEHICLE spells to npc_spellclick_spells, otherwise you won't be able to use them
This commit is contained in:
parent
6e87802fa5
commit
fefe56e3c5
19 changed files with 225 additions and 39 deletions
|
|
@ -208,7 +208,7 @@ void Group::ConvertToRaid()
|
|||
// update quest related GO states (quest activity dependent from raid membership)
|
||||
for(member_citerator citr = m_memberSlots.begin(); citr != m_memberSlots.end(); ++citr)
|
||||
if(Player* player = objmgr.GetPlayer(citr->guid))
|
||||
player->UpdateForQuestsGO();
|
||||
player->UpdateForQuestWorldObjects();
|
||||
}
|
||||
|
||||
bool Group::AddInvite(Player *player)
|
||||
|
|
@ -302,7 +302,7 @@ bool Group::AddMember(const uint64 &guid, const char* name)
|
|||
|
||||
// quest related GO state dependent from raid memebership
|
||||
if(isRaidGroup())
|
||||
player->UpdateForQuestsGO();
|
||||
player->UpdateForQuestWorldObjects();
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
@ -319,7 +319,7 @@ uint32 Group::RemoveMember(const uint64 &guid, const uint8 &method)
|
|||
{
|
||||
// quest related GO state dependent from raid membership
|
||||
if(isRaidGroup())
|
||||
player->UpdateForQuestsGO();
|
||||
player->UpdateForQuestWorldObjects();
|
||||
|
||||
WorldPacket data;
|
||||
|
||||
|
|
@ -400,7 +400,7 @@ void Group::Disband(bool hideDestroy)
|
|||
|
||||
// quest related GO state dependent from raid membership
|
||||
if(isRaidGroup())
|
||||
player->UpdateForQuestsGO();
|
||||
player->UpdateForQuestWorldObjects();
|
||||
|
||||
if(!player->GetSession())
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue