Misc fixes

This commit is contained in:
hondacrx
2020-05-06 14:51:08 -04:00
parent d6aea63269
commit ac8d747c61
3 changed files with 13 additions and 14 deletions
+1 -1
View File
@@ -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,
+7 -10
View File
@@ -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))
+5 -3
View File
@@ -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
// //