Misc fixes
This commit is contained in:
@@ -574,7 +574,7 @@ namespace Framework.Constants
|
|||||||
MovegensIdle = 527,
|
MovegensIdle = 527,
|
||||||
MovegensRandom = 528,
|
MovegensRandom = 528,
|
||||||
MovegensWaypoint = 529,
|
MovegensWaypoint = 529,
|
||||||
MovegensAnimalRandom = 530,
|
// = 530, not used
|
||||||
MovegensConfused = 531,
|
MovegensConfused = 531,
|
||||||
MovegensChasePlayer = 532,
|
MovegensChasePlayer = 532,
|
||||||
MovegensChaseCreature = 533,
|
MovegensChaseCreature = 533,
|
||||||
|
|||||||
@@ -239,11 +239,8 @@ namespace Game.Spells
|
|||||||
|
|
||||||
foreach (var aurApp in effectApplications)
|
foreach (var aurApp in effectApplications)
|
||||||
{
|
{
|
||||||
if (aurApp.HasEffect(GetEffIndex()))
|
aurApp.GetTarget()._RegisterAuraEffect(this, false);
|
||||||
{
|
HandleEffect(aurApp, handleMask, false);
|
||||||
aurApp.GetTarget()._RegisterAuraEffect(this, false);
|
|
||||||
HandleEffect(aurApp, handleMask, false);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Convert.ToBoolean(handleMask & AuraEffectHandleModes.ChangeAmount))
|
if (Convert.ToBoolean(handleMask & AuraEffectHandleModes.ChangeAmount))
|
||||||
@@ -257,11 +254,11 @@ namespace Game.Spells
|
|||||||
|
|
||||||
foreach (var aurApp in effectApplications)
|
foreach (var aurApp in effectApplications)
|
||||||
{
|
{
|
||||||
if (aurApp.HasEffect(GetEffIndex()))
|
if (aurApp.GetRemoveMode() != AuraRemoveMode.None)
|
||||||
{
|
continue;
|
||||||
aurApp.GetTarget()._RegisterAuraEffect(this, true);
|
|
||||||
HandleEffect(aurApp, handleMask, true);
|
aurApp.GetTarget()._RegisterAuraEffect(this, true);
|
||||||
}
|
HandleEffect(aurApp, handleMask, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (GetSpellInfo().HasAttribute(SpellAttr8.AuraSendAmount))
|
if (GetSpellInfo().HasAttribute(SpellAttr8.AuraSendAmount))
|
||||||
|
|||||||
@@ -2912,11 +2912,13 @@ namespace Game.Entities
|
|||||||
spellInfo.MaxAffectedTargets = 3;
|
spellInfo.MaxAffectedTargets = 3;
|
||||||
break;
|
break;
|
||||||
case 71809: // Jump
|
case 71809: // Jump
|
||||||
spellInfo.RangeEntry = CliDB.SpellRangeStorage.LookupByKey(3); // 20yd
|
spellInfo.RangeEntry = CliDB.SpellRangeStorage.LookupByKey(5); // 40yd
|
||||||
spellInfo.GetEffect(0).RadiusEntry = CliDB.SpellRadiusStorage.LookupByKey(EffectRadiusIndex.Yards25); // 25yd
|
spellInfo.GetEffect(0).RadiusEntry = CliDB.SpellRadiusStorage.LookupByKey(EffectRadiusIndex.Yards10); // 10yd
|
||||||
|
spellInfo.GetEffect(0).MiscValue = 190;
|
||||||
break;
|
break;
|
||||||
case 72405: // Broken Frostmourne
|
case 72405: // Broken Frostmourne
|
||||||
spellInfo.GetEffect(1).RadiusEntry = CliDB.SpellRadiusStorage.LookupByKey(EffectRadiusIndex.Yards200); // 200yd
|
spellInfo.GetEffect(1).RadiusEntry = CliDB.SpellRadiusStorage.LookupByKey(EffectRadiusIndex.Yards20); // 20yd
|
||||||
|
spellInfo.AttributesEx |= SpellAttr1.NoThreat;
|
||||||
break;
|
break;
|
||||||
// ENDOF ICECROWN CITADEL SPELLS
|
// ENDOF ICECROWN CITADEL SPELLS
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user