[svn] Fix a bug that players cannot hear others talking.
Provide script support for type 10 gameobject. Add some missing script sql. --HG-- branch : trunk
This commit is contained in:
1 parent
e3a9de2d84
commit
379bc3682c
11 files changed
+126
-84
No files matched your search
@@ -56,6 +56,7 @@
|
||||
#include "SocialMgr.h"
|
||||
#include "Util.h"
|
||||
#include "TemporarySummon.h"
|
||||
#include "ScriptCalls.h" // for goober gameobject script
|
||||
|
||||
pEffect SpellEffects[TOTAL_SPELL_EFFECTS]=
|
||||
{
|
||||
@@ -2807,6 +2808,7 @@ void Spell::SendLoot(uint64 guid, LootType loottype)
|
||||
if(player->GetQuestStatus(gameObjTarget->GetGOInfo()->goober.questId) != QUEST_STATUS_INCOMPLETE)
|
||||
return;
|
||||
|
||||
Script->GOHello(player, gameObjTarget);
|
||||
gameObjTarget->AddUniqueUse(player);
|
||||
gameObjTarget->SetLootState(GO_JUST_DEACTIVATED);
|
||||
|
||||
|
||||
Reference in new issue
Block a user