*Handle target area path as area cone for now.
--HG-- branch : trunk
This commit is contained in:
@@ -229,6 +229,8 @@ INSERT INTO spell_check (spellid,SpellFamilyName,SpellFamilyMaskA,SpellFamilyMas
|
||||
(45030, 0, -1, -1, -1, -1, -1, 3, -1,-1,'Impale Emissary', 'Spell::EffectDummy'),
|
||||
(45088,-1, -1, -1, -1, -1, -1, -1, -1,-1,'Emissary of Hate Credit', 'Spell::EffectDummy'),
|
||||
(45150, 0, -1, -1, -1, -1, -1, 2, -1,-1,'Meteor Slash', 'Spell::EffectSchoolDMG'),
|
||||
(64422, 0, -1, -1, -1, -1, -1, 2, -1,-1,'Meteor Slash', 'Spell::EffectSchoolDMG'),
|
||||
(64688, 0, -1, -1, -1, -1, -1, 2, -1,-1,'Meteor Slash', 'Spell::EffectSchoolDMG'),
|
||||
(45182,-1, -1, -1, -1, -1, -1, -1, -1,-1,'Cheat Death', 'Spell::EffectDummy'),
|
||||
(46014,-1, -1, -1, -1, -1, -1, -1, -1,-1,'Knocked Up', 'Spell::EffectDummy'),
|
||||
(47540, 6,0x0080000000000000,0x00000000, -1, -1, -1, 3, -1,-1,'Penance', 'Spell::EffectDummy'),
|
||||
|
||||
@@ -2222,6 +2222,7 @@ void Spell::SetTargetMap(uint32 i, uint32 cur)
|
||||
case TARGET_UNIT_AREA_ENEMY_DST:
|
||||
case TARGET_UNIT_CONE_ENEMY:
|
||||
case TARGET_UNIT_CONE_ENEMY_UNKNOWN:
|
||||
case TARGET_UNIT_AREA_PATH:
|
||||
radius = GetSpellRadius(m_spellInfo, i, false);
|
||||
targetType = SPELL_TARGETS_ENEMY;
|
||||
break;
|
||||
|
||||
@@ -147,6 +147,7 @@ SpellMgr::SpellMgr()
|
||||
case TARGET_UNIT_CONE_ALLY:
|
||||
case TARGET_UNIT_CONE_ENTRY:
|
||||
case TARGET_UNIT_CONE_ENEMY_UNKNOWN:
|
||||
case TARGET_UNIT_AREA_PATH:
|
||||
SpellTargetType[i] = TARGET_TYPE_AREA_CONE;
|
||||
break;
|
||||
case TARGET_DST_CASTER:
|
||||
@@ -226,6 +227,7 @@ SpellMgr::SpellMgr()
|
||||
case TARGET_UNIT_CONE_ENEMY:
|
||||
case TARGET_UNIT_CONE_ALLY:
|
||||
case TARGET_UNIT_CONE_ENEMY_UNKNOWN:
|
||||
case TARGET_UNIT_AREA_PATH:
|
||||
case TARGET_UNIT_RAID_CASTER:
|
||||
IsAreaEffectTarget[i] = true;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user