Fixed some errors from analyzer
This commit is contained in:
@@ -368,7 +368,7 @@ namespace Scripts.Northrend.IcecrownCitadel
|
||||
public SlotInfo(uint _entry, float x, float y, float z, float o, uint _cooldown)
|
||||
{
|
||||
Entry = _entry;
|
||||
TargetPosition = new Position(x, y, z);
|
||||
TargetPosition = new Position(x, y, z, o);
|
||||
Cooldown = _cooldown;
|
||||
}
|
||||
public SlotInfo(uint _entry, Position pos, uint _cooldown)
|
||||
|
||||
@@ -85,7 +85,7 @@ namespace Scripts.Northrend.IcecrownCitadel
|
||||
if (player.IsInCombat())
|
||||
{
|
||||
SpellInfo spell = Global.SpellMgr.GetSpellInfo(TeleporterSpells.FROZEN_THRONE_TELEPORT);
|
||||
if (spell == null)
|
||||
if (spell != null)
|
||||
{
|
||||
ObjectGuid castId = ObjectGuid.Create(HighGuid.Cast, SpellCastSource.Normal, player.GetMapId(), spell.Id, player.GetMap().GenerateLowGuid(HighGuid.Cast));
|
||||
Spell.SendCastResult(player, spell, 0, castId, SpellCastResult.AffectingCombat);
|
||||
|
||||
@@ -1147,7 +1147,8 @@ namespace Scripts.Spells.Druid
|
||||
|
||||
void SetTargets(List<WorldObject> targets)
|
||||
{
|
||||
targets = _targets;
|
||||
targets.Clear();
|
||||
targets .AddRange(_targets);
|
||||
}
|
||||
|
||||
public override void Register()
|
||||
|
||||
Reference in New Issue
Block a user