mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-25 06:36:24 +00:00
Added AzerothCore labels
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user