*Update script of heigan.
--HG-- branch : trunk
This commit is contained in:
+2
-1
@@ -2297,7 +2297,8 @@ void Spell::prepare(SpellCastTargets const* targets, AuraEffect* triggeredByAura
|
||||
ReSetTimer();
|
||||
//Containers for channeled spells have to be set
|
||||
//TODO:Apply this to all casted spells if needed
|
||||
if(m_IsTriggeredSpell && !IsChanneledSpell(m_spellInfo))
|
||||
// Why check m_casttime? 29350: channelled triggers channelled
|
||||
if(m_IsTriggeredSpell && (!IsChanneledSpell(m_spellInfo) || !m_casttime))
|
||||
cast(true);
|
||||
else
|
||||
{
|
||||
|
||||
+3
-2
@@ -13861,11 +13861,12 @@ void Unit::NearTeleportTo( float x, float y, float z, float orientation, bool ca
|
||||
DestroyForNearbyPlayers();
|
||||
|
||||
GetMap()->CreatureRelocation((Creature*)this, x, y, z, orientation);
|
||||
ObjectAccessor::UpdateObjectVisibility(this);
|
||||
|
||||
//WorldPacket data;
|
||||
// Work strange for many spells: triggered active mover set for targeted player to creature
|
||||
//BuildTeleportAckMsg(&data, x, y, z, orientation);
|
||||
BuildHeartBeatMsg(&data);
|
||||
SendMessageToSet(&data, false);
|
||||
//BuildHeartBeatMsg(&data);
|
||||
//SendMessageToSet(&data, false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user