Convert alot of methods to use TimeSpan.
This commit is contained in:
@@ -1621,7 +1621,7 @@ namespace Game.Spells
|
||||
// randomize position for multiple summons
|
||||
pos = caster.GetRandomPoint(destTarget, radius);
|
||||
|
||||
summon = caster.SummonCreature(entry, pos, summonType, (uint)duration, 0, m_spellInfo.Id, privateObjectOwner);
|
||||
summon = caster.SummonCreature(entry, pos, summonType, TimeSpan.FromMilliseconds(duration), 0, m_spellInfo.Id, privateObjectOwner);
|
||||
if (summon == null)
|
||||
continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user