Misc cleanups/Fixes
This commit is contained in:
@@ -1676,7 +1676,7 @@ namespace Game.Spells
|
||||
|
||||
[AuraEffectHandler(AuraType.ModScale)]
|
||||
[AuraEffectHandler(AuraType.ModScale2)]
|
||||
void HandleAuraModScale(AuraApplication aurApp, AuraEffectHandleModes mode, bool apply)
|
||||
public void HandleAuraModScale(AuraApplication aurApp, AuraEffectHandleModes mode, bool apply)
|
||||
{
|
||||
if (!mode.HasAnyFlag(AuraEffectHandleModes.ChangeAmountSendForClientMask))
|
||||
return;
|
||||
|
||||
@@ -1720,7 +1720,7 @@ namespace Game.Spells
|
||||
pos = destTarget;
|
||||
else
|
||||
// randomize position for multiple summons
|
||||
m_caster.GetRandomPoint(destTarget, radius, out pos);
|
||||
pos = m_caster.GetRandomPoint(destTarget, radius);
|
||||
|
||||
summon = m_originalCaster.SummonCreature(entry, pos, summonType, (uint)duration, 0, personalSpawn);
|
||||
if (summon == null)
|
||||
@@ -4972,7 +4972,7 @@ namespace Game.Spells
|
||||
pos = destTarget;
|
||||
else
|
||||
// randomize position for multiple summons
|
||||
m_caster.GetRandomPoint(destTarget, radius, out pos);
|
||||
pos = m_caster.GetRandomPoint(destTarget, radius);
|
||||
|
||||
TempSummon summon = map.SummonCreature(entry, pos, properties, (uint)duration, caster, m_spellInfo.Id);
|
||||
if (summon == null)
|
||||
|
||||
@@ -3611,7 +3611,6 @@ namespace Game.Spells
|
||||
|
||||
Dictionary<uint, SpellEffectInfo> _effects = new Dictionary<uint, SpellEffectInfo>();
|
||||
List<SpellXSpellVisualRecord> _visuals = new List<SpellXSpellVisualRecord>();
|
||||
bool _hasPowerDifficultyData;
|
||||
SpellSpecificType _spellSpecific;
|
||||
AuraStateType _auraState;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user