Core/Scripts: Remove a small debug message from Brutallus code.
This commit is contained in:
@@ -155,7 +155,6 @@ public:
|
|||||||
{
|
{
|
||||||
if (!Intro || IsIntro)
|
if (!Intro || IsIntro)
|
||||||
return;
|
return;
|
||||||
sLog->outError("Start Intro");
|
|
||||||
Creature *Madrigosa = Unit::GetCreature(*me, pInstance ? pInstance->GetData64(DATA_MADRIGOSA) : 0);
|
Creature *Madrigosa = Unit::GetCreature(*me, pInstance ? pInstance->GetData64(DATA_MADRIGOSA) : 0);
|
||||||
if (Madrigosa)
|
if (Madrigosa)
|
||||||
{
|
{
|
||||||
@@ -167,7 +166,8 @@ public:
|
|||||||
me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);
|
me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);
|
||||||
me->Attack(Madrigosa, true);
|
me->Attack(Madrigosa, true);
|
||||||
Madrigosa->Attack(me, true);
|
Madrigosa->Attack(me, true);
|
||||||
}else
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
//Madrigosa not found, end intro
|
//Madrigosa not found, end intro
|
||||||
sLog->outError("Madrigosa was not found");
|
sLog->outError("Madrigosa was not found");
|
||||||
@@ -180,7 +180,6 @@ public:
|
|||||||
me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);
|
me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);
|
||||||
Intro = false;
|
Intro = false;
|
||||||
IsIntro = false;
|
IsIntro = false;
|
||||||
sLog->outError("End Intro");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void AttackStart(Unit* pWho)
|
void AttackStart(Unit* pWho)
|
||||||
|
|||||||
Reference in New Issue
Block a user