mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-26 07:06:23 +00:00
Added AzerothCore labels
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
#ifndef SUNWELLCORE_ARENASPECTATOR_H
|
||||
#define SUNWELLCORE_ARENASPECTATOR_H
|
||||
#ifndef AZEROTHCORE_ARENASPECTATOR_H
|
||||
#define AZEROTHCORE_ARENASPECTATOR_H
|
||||
|
||||
#include "Player.h"
|
||||
#include "World.h"
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef SUNWELLCORE_ARENATEAM_H
|
||||
#define SUNWELLCORE_ARENATEAM_H
|
||||
#ifndef AZEROTHCORE_ARENATEAM_H
|
||||
#define AZEROTHCORE_ARENATEAM_H
|
||||
|
||||
#include "QueryResult.h"
|
||||
#include "Map.h"
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef SUNWELLCORE_CHAT_H
|
||||
#define SUNWELLCORE_CHAT_H
|
||||
#ifndef AZEROTHCORE_CHAT_H
|
||||
#define AZEROTHCORE_CHAT_H
|
||||
|
||||
#include "SharedDefines.h"
|
||||
#include "WorldSession.h"
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef SUNWELLCORE_CHATLINK_H
|
||||
#define SUNWELLCORE_CHATLINK_H
|
||||
#ifndef AZEROTHCORE_CHATLINK_H
|
||||
#define AZEROTHCORE_CHATLINK_H
|
||||
|
||||
#include "SharedDefines.h"
|
||||
#include <sstream>
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef SUNWELLCORE_CORPSE_H
|
||||
#define SUNWELLCORE_CORPSE_H
|
||||
#ifndef AZEROTHCORE_CORPSE_H
|
||||
#define AZEROTHCORE_CORPSE_H
|
||||
|
||||
#include "Object.h"
|
||||
#include "DatabaseEnv.h"
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef SUNWELLCORE_CREATURE_H
|
||||
#define SUNWELLCORE_CREATURE_H
|
||||
#ifndef AZEROTHCORE_CREATURE_H
|
||||
#define AZEROTHCORE_CREATURE_H
|
||||
|
||||
#include "Common.h"
|
||||
#include "Unit.h"
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef SUNWELLCORE_GOSSIP_H
|
||||
#define SUNWELLCORE_GOSSIP_H
|
||||
#ifndef AZEROTHCORE_GOSSIP_H
|
||||
#define AZEROTHCORE_GOSSIP_H
|
||||
|
||||
#include "Common.h"
|
||||
#include "QuestDef.h"
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef SUNWELLCORE_TEMPSUMMON_H
|
||||
#define SUNWELLCORE_TEMPSUMMON_H
|
||||
#ifndef AZEROTHCORE_TEMPSUMMON_H
|
||||
#define AZEROTHCORE_TEMPSUMMON_H
|
||||
|
||||
#include "Creature.h"
|
||||
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef SUNWELLCORE_DYNAMICOBJECT_H
|
||||
#define SUNWELLCORE_DYNAMICOBJECT_H
|
||||
#ifndef AZEROTHCORE_DYNAMICOBJECT_H
|
||||
#define AZEROTHCORE_DYNAMICOBJECT_H
|
||||
|
||||
#include "Object.h"
|
||||
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef SUNWELLCORE_GAMEOBJECT_H
|
||||
#define SUNWELLCORE_GAMEOBJECT_H
|
||||
#ifndef AZEROTHCORE_GAMEOBJECT_H
|
||||
#define AZEROTHCORE_GAMEOBJECT_H
|
||||
|
||||
#include "Common.h"
|
||||
#include "SharedDefines.h"
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef SUNWELLCORE_ITEM_H
|
||||
#define SUNWELLCORE_ITEM_H
|
||||
#ifndef AZEROTHCORE_ITEM_H
|
||||
#define AZEROTHCORE_ITEM_H
|
||||
|
||||
#include "Common.h"
|
||||
#include "Object.h"
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef SUNWELLCORE_PET_H
|
||||
#define SUNWELLCORE_PET_H
|
||||
#ifndef AZEROTHCORE_PET_H
|
||||
#define AZEROTHCORE_PET_H
|
||||
|
||||
#include "PetDefines.h"
|
||||
#include "TemporarySummon.h"
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef SUNWELLCORE_PET_DEFINES_H
|
||||
#define SUNWELLCORE_PET_DEFINES_H
|
||||
#ifndef AZEROTHCORE_PET_DEFINES_H
|
||||
#define AZEROTHCORE_PET_DEFINES_H
|
||||
|
||||
enum PetType
|
||||
{
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef SUNWELLCORE_TOTEM_H
|
||||
#define SUNWELLCORE_TOTEM_H
|
||||
#ifndef AZEROTHCORE_TOTEM_H
|
||||
#define AZEROTHCORE_TOTEM_H
|
||||
|
||||
#include "TemporarySummon.h"
|
||||
|
||||
|
||||
@@ -9306,7 +9306,7 @@ bool Unit::Attack(Unit* victim, bool meleeAttack)
|
||||
if (GetTypeId() == TYPEID_PLAYER && IsMounted())
|
||||
return false;
|
||||
|
||||
//if (HasFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_PACIFIED)) // pussywizard: wtf? why having this flag prevents from entering combat? it should just prevent melee attack >_> tc retards https://github.com/SunwellCore/SunwellCore/commit/06f50110713feec2d6957e68ce2c5a5d2a997d6a
|
||||
//if (HasFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_PACIFIED)) // pussywizard: wtf? why having this flag prevents from entering combat? it should just prevent melee attack
|
||||
// return false;
|
||||
|
||||
// nobody can attack GM in GM-mode
|
||||
|
||||
@@ -106,7 +106,7 @@ std::string GetScriptCommandName(ScriptCommands command)
|
||||
case SCRIPT_COMMAND_LOAD_PATH: res = "SCRIPT_COMMAND_LOAD_PATH"; break;
|
||||
case SCRIPT_COMMAND_CALLSCRIPT_TO_UNIT: res = "SCRIPT_COMMAND_CALLSCRIPT_TO_UNIT"; break;
|
||||
case SCRIPT_COMMAND_KILL: res = "SCRIPT_COMMAND_KILL"; break;
|
||||
// SunwellCore only
|
||||
// AzerothCore only
|
||||
case SCRIPT_COMMAND_ORIENTATION: res = "SCRIPT_COMMAND_ORIENTATION"; break;
|
||||
case SCRIPT_COMMAND_EQUIP: res = "SCRIPT_COMMAND_EQUIP"; break;
|
||||
case SCRIPT_COMMAND_MODEL: res = "SCRIPT_COMMAND_MODEL"; break;
|
||||
|
||||
@@ -117,7 +117,7 @@ enum ScriptCommands
|
||||
SCRIPT_COMMAND_CALLSCRIPT_TO_UNIT = 21, // source = WorldObject (if present used as a search center), datalong = script id, datalong2 = unit lowguid, dataint = script table to use (see ScriptsType)
|
||||
SCRIPT_COMMAND_KILL = 22, // source/target = Creature, dataint = remove corpse attribute
|
||||
|
||||
// SunwellCore only
|
||||
// AzerothCore only
|
||||
SCRIPT_COMMAND_ORIENTATION = 30, // source = Unit, target (datalong > 0) = Unit, datalong = > 0 turn source to face target, o = orientation
|
||||
SCRIPT_COMMAND_EQUIP = 31, // soucre = Creature, datalong = equipment id
|
||||
SCRIPT_COMMAND_MODEL = 32, // source = Creature, datalong = model id
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef SUNWELLCORE_GROUP_H
|
||||
#define SUNWELLCORE_GROUP_H
|
||||
#ifndef AZEROTHCORE_GROUP_H
|
||||
#define AZEROTHCORE_GROUP_H
|
||||
|
||||
#include "DBCEnums.h"
|
||||
#include "GroupRefManager.h"
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef SUNWELLCORE_GUILD_H
|
||||
#define SUNWELLCORE_GUILD_H
|
||||
#ifndef AZEROTHCORE_GUILD_H
|
||||
#define AZEROTHCORE_GUILD_H
|
||||
|
||||
#include "World.h"
|
||||
#include "Item.h"
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef SUNWELLCORE_QUEST_H
|
||||
#define SUNWELLCORE_QUEST_H
|
||||
#ifndef AZEROTHCORE_QUEST_H
|
||||
#define AZEROTHCORE_QUEST_H
|
||||
|
||||
#include "Define.h"
|
||||
#include "DatabaseEnv.h"
|
||||
|
||||
@@ -2568,7 +2568,7 @@ void AuraEffect::HandleAuraModPacify(AuraApplication const* aurApp, uint8 mode,
|
||||
if (apply)
|
||||
{
|
||||
target->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_PACIFIED);
|
||||
//target->AttackStop(); // pussywizard: wtf? why having this flag prevents from being in combat? it should just prevent melee attack >_> tc retards https://github.com/SunwellCore/SunwellCore/commit/06f50110713feec2d6957e68ce2c5a5d2a997d6a
|
||||
//target->AttackStop(); // pussywizard: wtf? why having this flag prevents from being in combat? it should just prevent melee attack
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user