*spell_bonus_data for Glyph of Chains of Ice - by Zcuron

--HG--
branch : trunk
This commit is contained in:
QAston
2009-07-14 16:39:20 +02:00
parent 79e0468af6
commit 96cd58bd37
2 changed files with 5 additions and 2 deletions
@@ -0,0 +1,3 @@
DELETE FROM `spell_bonus_data` WHERE `entry` = '58621';
INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `comments`) VALUES
(58621, 0, 0, 0.08, 'Death Knight - Glyph of Chains of Ice');
+2 -2
View File
@@ -10537,8 +10537,8 @@ void Unit::SetInCombatState(bool PvP, Unit* enemy)
if(GetTypeId() != TYPEID_PLAYER) if(GetTypeId() != TYPEID_PLAYER)
{ {
//if(GetMotionMaster()->GetMotionSlotType(MOTION_SLOT_IDLE) != IDLE_MOTION_TYPE) //if(GetMotionMaster()->GetMotionSlotType(MOTION_SLOT_IDLE) != IDLE_MOTION_TYPE)
if (((Creature *)this)->GetMotionMaster()->GetCurrentMovementGeneratorType() == WAYPOINT_MOTION_TYPE) //if (((Creature *)this)->GetMotionMaster()->GetCurrentMovementGeneratorType() == WAYPOINT_MOTION_TYPE)
((Creature*)this)->SetHomePosition(GetPositionX(), GetPositionY(), GetPositionZ(), GetOrientation()); //((Creature*)this)->SetHomePosition(GetPositionX(), GetPositionY(), GetPositionZ(), GetOrientation());
if(enemy) if(enemy)
{ {
if(((Creature*)this)->IsAIEnabled) if(((Creature*)this)->IsAIEnabled)