Core/Refactor: Part 3

This commit is contained in:
hondacrx
2018-05-16 19:57:48 -04:00
parent 225a5d27f7
commit 5dacd669b5
112 changed files with 564 additions and 561 deletions
@@ -86,7 +86,7 @@ namespace Scripts.Northrend.AzjolNerub.Ahnkahet.ElderNadox
_scheduler.Schedule(TimeSpan.FromSeconds(10), task =>
{
/// @todo: summoned by egg
// @todo: summoned by egg
DoCast(me, SpellIds.SummonSwarmers);
if (RandomHelper.URand(1, 3) == 3) // 33% chance of dialog
Talk(TextIds.SayEggSac);
@@ -147,7 +147,7 @@ namespace Scripts.Northrend.AzjolNerub.Ahnkahet.ElderNadox
if (!GuardianSummoned && me.HealthBelowPct(50))
{
/// @todo: summoned by egg
// @todo: summoned by egg
Talk(TextIds.EmoteHatches, me);
DoCast(me, SpellIds.SummonSwarmGuard);
GuardianSummoned = true;
@@ -316,7 +316,7 @@ namespace Scripts.Northrend.AzjolNerub.Ahnkahet.PrinceTaldaram
{
DoCast(me, SpellIds.FlameSpherePeriodic, true);
/// @todo: find correct values
// @todo: find correct values
float angleOffset = 0.0f;
float distOffset = Misc.DataSphereDistance;
@@ -342,7 +342,7 @@ namespace Scripts.Northrend.AzjolNerub.Ahnkahet.PrinceTaldaram
float x = me.GetPositionX() + distOffset * (float)Math.Cos(angle);
float y = me.GetPositionY() + distOffset * (float)Math.Sin(angle);
/// @todo: correct speed
// @todo: correct speed
me.GetMotionMaster().MovePoint(0, x, y, me.GetPositionZ());
break;
}
@@ -447,7 +447,7 @@ namespace Scripts.Northrend.FrozenHalls.PitOfSaron.BossKrickAndIck
case Events.Outro9:
{
Talk(TextIds.SayKrickOutro8);
/// @todo Tyrannus starts killing Krick.
// @todo Tyrannus starts killing Krick.
// there shall be some visual spell effect
Creature tyrannus = ObjectAccessor.GetCreature(me, _tyrannusGUID);
if (tyrannus)
@@ -139,7 +139,7 @@ namespace Scripts.Northrend.Nexus.EyeOfEternity
return true;
}
/// @todo this should be handled in map, maybe add a summon function in map
// @todo this should be handled in map, maybe add a summon function in map
// There is no other way afaik...
void SpawnGameObject(uint entry, Position pos)
{
@@ -220,7 +220,7 @@ namespace Scripts.Northrend.Nexus.Nexus
if (aurEff.GetBase().GetStackAmount() < 2)
return;
Unit caster = GetCaster();
/// @todo the caster should be boss but not the player
// @todo the caster should be boss but not the player
if (!caster || caster.GetAI() == null)
return;
@@ -1058,7 +1058,7 @@ namespace Scripts.Northrend.Ulduar.FlameLeviathan
{
brann.RemoveFlag(UnitFields.NpcFlags, NPCFlags.Gossip);
delorah.GetMotionMaster().MovePoint(0, brann.GetPositionX() - 4, brann.GetPositionY(), brann.GetPositionZ());
/// @todo delorah->AI()->Talk(xxxx, brann->GetGUID()); when reached at branz
// @todo delorah->AI()->Talk(xxxx, brann->GetGUID()); when reached at branz
}
}
}
@@ -1388,7 +1388,7 @@ namespace Scripts.Northrend.Ulduar.FlameLeviathan
void FilterTargets(List<WorldObject> targets)
{
targets.RemoveAll(new Predicate<WorldObject>(target =>
targets.RemoveAll(target =>
{
//! No players, only vehicles (@todo check if blizzlike)
Creature creatureTarget = target.ToCreature();
@@ -1420,7 +1420,7 @@ namespace Scripts.Northrend.Ulduar.FlameLeviathan
}
return !playerFound;
}));
});
if (targets.Empty())
{
+1 -1
View File
@@ -176,7 +176,7 @@ namespace Scripts.Northrend.Ulduar
public const uint MagneticCore = 64436;
public const uint MagneticCoreVisual = 64438;
public const uint HalfHeal = 64188;
public const uint ClearAllDebuffs = 34098; /// @Todo: Make Use Of This Spell...
public const uint ClearAllDebuffs = 34098; // @Todo: Make Use Of This Spell...
public const uint FreezeAnimStun = 63354; // Used To Prevent Mkii From Doing Stuff?..
public const uint FreezeAnim = 16245; // Idle Aura. Freezes Animation.
}