Misc fixes
This commit is contained in:
@@ -667,7 +667,7 @@ namespace Scripts.BrokenIsles.ZoneMardum
|
||||
|
||||
public override void OnSceneStart(Player player, uint sceneInstanceID, SceneTemplate sceneTemplate)
|
||||
{
|
||||
Creature sevisObject = player.FindNearestCreatureWithOptions(30.0f, new() { CreatureId = AshtongueIntroData.NpcSevisBrightflameAshtongue, IgnorePhases = true });
|
||||
Creature sevisObject = player.FindNearestCreatureWithOptions(30.0f, new() new FindCreatureOptions() { CreatureId = AshtongueIntroData.NpcSevisBrightflameAshtongue, IgnorePhases = true });
|
||||
if (sevisObject == null)
|
||||
return;
|
||||
|
||||
|
||||
@@ -679,7 +679,7 @@ namespace Scripts.World.GameObjects
|
||||
_rings = 12;
|
||||
}
|
||||
|
||||
// Dwarf hourly horn should only play a Math.Single time, each time the next hour begins.
|
||||
// Dwarf hourly horn should only play a Single time, each time the next hour begins.
|
||||
if (_soundId == BellHourlyConst.Belltolldwarfgnome)
|
||||
{
|
||||
_rings = 1;
|
||||
|
||||
@@ -620,7 +620,7 @@ namespace Scripts.World.NpcsSpecial
|
||||
Creature patient = me.SummonCreature(patientEntry, point, TempSummonType.TimedDespawnOutOfCombat, TimeSpan.FromSeconds(5));
|
||||
if (patient != null)
|
||||
{
|
||||
//303, this flag appear to be required for client side item.spell to work (TargetMath.SingleFriend)
|
||||
//303, this flag appear to be required for client side item.spell to work (TargetSingleFriend)
|
||||
patient.SetUnitFlag(UnitFlags.PlayerControlled);
|
||||
|
||||
Patients.Add(patient.GetGUID());
|
||||
|
||||
Reference in New Issue
Block a user