This commit is contained in:
Subv
2012-06-10 21:41:07 -05:00
3 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -2893,7 +2893,7 @@ void Unit::SetCurrentCastedSpell(Spell* pSpell)
InterruptSpell(CURRENT_AUTOREPEAT_SPELL);
m_AutoRepeatFirstCast = true;
}
if ((pSpell->m_spellInfo->CalcCastTime(this) > 0) && IsNonMeleeSpellCasted(false, false, true))
if (pSpell->m_spellInfo->CalcCastTime(this) > 0)
AddUnitState(UNIT_STATE_CASTING);
break;
@@ -18,6 +18,7 @@
#include "PacketLog.h"
#include "Config.h"
#include "ByteBuffer.h"
#include "WorldPacket.h"
PacketLog::PacketLog() : _file(NULL)
{
+4 -4
View File
@@ -777,10 +777,10 @@ public:
PlayerGUID = who->GetGUID();
}
void SpellHit(Unit* /*caster*/, const SpellInfo* /*spell*/)
{
DoCast(me, SPELL_DE_MATERIALIZE);
}
//void SpellHit(Unit* /*caster*/, const SpellInfo* /*spell*/)
//{
// DoCast(me, SPELL_DE_MATERIALIZE);
//}
void UpdateAI(const uint32 diff)
{