*Merge.
--HG-- branch : trunk
This commit is contained in:
@@ -299,6 +299,7 @@ struct TRINITY_DLL_DECL boss_moroesAI : public ScriptedAI
|
|||||||
if (target && target->GetTypeId() == TYPEID_PLAYER && m_creature->IsWithinMeleeRange(target))
|
if (target && target->GetTypeId() == TYPEID_PLAYER && m_creature->IsWithinMeleeRange(target))
|
||||||
{
|
{
|
||||||
DoCast(target, SPELL_BLIND);
|
DoCast(target, SPELL_BLIND);
|
||||||
|
|
||||||
Blind_Timer = 40000;
|
Blind_Timer = 40000;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -297,6 +297,7 @@ struct TRINITY_DLL_DECL boss_skeramAI : public ScriptedAI
|
|||||||
}
|
}
|
||||||
Invisible = true;
|
Invisible = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
CreatureAI* GetAI_boss_skeram(Creature *_Creature)
|
CreatureAI* GetAI_boss_skeram(Creature *_Creature)
|
||||||
|
|||||||
@@ -613,7 +613,6 @@ void WorldSession::HandleAddFriendOpcodeCallBack(QueryResult *result, uint32 acc
|
|||||||
}
|
}
|
||||||
session->GetPlayer()->GetSocial()->SetFriendNote(GUID_LOPART(friendGuid), friendNote);
|
session->GetPlayer()->GetSocial()->SetFriendNote(GUID_LOPART(friendGuid), friendNote);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sSocialMgr.SendFriendStatus(session->GetPlayer(), friendResult, GUID_LOPART(friendGuid), false);
|
sSocialMgr.SendFriendStatus(session->GetPlayer(), friendResult, GUID_LOPART(friendGuid), false);
|
||||||
|
|||||||
@@ -188,7 +188,10 @@ bool OutdoorPvPSI::HandleDropFlag(Player *plr, uint32 spellId)
|
|||||||
GameObject * go = new GameObject;
|
GameObject * go = new GameObject;
|
||||||
Map * map = MapManager::Instance().GetMap(plr->GetMapId(), plr);
|
Map * map = MapManager::Instance().GetMap(plr->GetMapId(), plr);
|
||||||
if(!map)
|
if(!map)
|
||||||
return true;
|
{
|
||||||
|
delete go;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
if(!go->Create(objmgr.GenerateLowGuid(HIGHGUID_GAMEOBJECT),SI_SILITHYST_MOUND, map, plr->GetPhaseMask() ,plr->GetPositionX(),plr->GetPositionY(),plr->GetPositionZ(),plr->GetOrientation(),0,0,0,0,100,GO_STATE_READY))
|
if(!go->Create(objmgr.GenerateLowGuid(HIGHGUID_GAMEOBJECT),SI_SILITHYST_MOUND, map, plr->GetPhaseMask() ,plr->GetPositionX(),plr->GetPositionY(),plr->GetPositionZ(),plr->GetOrientation(),0,0,0,0,100,GO_STATE_READY))
|
||||||
{
|
{
|
||||||
delete go;
|
delete go;
|
||||||
|
|||||||
+1
-1
@@ -141,9 +141,9 @@ enum WorldConfigs
|
|||||||
CONFIG_GM_IN_GM_LIST,
|
CONFIG_GM_IN_GM_LIST,
|
||||||
CONFIG_GM_IN_WHO_LIST,
|
CONFIG_GM_IN_WHO_LIST,
|
||||||
CONFIG_GM_LOG_TRADE,
|
CONFIG_GM_LOG_TRADE,
|
||||||
|
CONFIG_START_GM_LEVEL,
|
||||||
CONFIG_ALLOW_GM_GROUP,
|
CONFIG_ALLOW_GM_GROUP,
|
||||||
CONFIG_ALLOW_GM_FRIEND,
|
CONFIG_ALLOW_GM_FRIEND,
|
||||||
CONFIG_START_GM_LEVEL,
|
|
||||||
CONFIG_GM_LOWER_SECURITY,
|
CONFIG_GM_LOWER_SECURITY,
|
||||||
CONFIG_GM_ALLOW_ACHIEVEMENT_GAINS,
|
CONFIG_GM_ALLOW_ACHIEVEMENT_GAINS,
|
||||||
CONFIG_GROUP_VISIBILITY,
|
CONFIG_GROUP_VISIBILITY,
|
||||||
|
|||||||
Reference in New Issue
Block a user