Cleanup scripts and removed not needed ones.
This commit is contained in:
@@ -31,9 +31,8 @@ namespace Scripts.Northrend.AzjolNerub.Ahnkahet.JedogaShadowseeker
|
||||
public const uint LightningBolt = 56891; // 40y
|
||||
public const uint Thundershock = 56926; // 30y
|
||||
|
||||
public const uint RandomLightningVisual = 56327;
|
||||
public const uint SacrificeBeam = 56150;
|
||||
public const uint SacrificeVisual = 56133;
|
||||
public const uint BeamVisualJedogasAufseher1 = 60342;
|
||||
public const uint BeamVisualJedogasAufseher2 = 56312;
|
||||
}
|
||||
|
||||
struct TextIds
|
||||
@@ -62,6 +61,7 @@ namespace Scripts.Northrend.AzjolNerub.Ahnkahet.JedogaShadowseeker
|
||||
{
|
||||
public boss_jedoga_shadowseeker(Creature creature) : base(creature)
|
||||
{
|
||||
Initialize();
|
||||
instance = creature.GetInstanceScript();
|
||||
bFirstTime = true;
|
||||
bPreDone = false;
|
||||
@@ -86,8 +86,6 @@ namespace Scripts.Northrend.AzjolNerub.Ahnkahet.JedogaShadowseeker
|
||||
{
|
||||
Initialize();
|
||||
|
||||
DoCast(SpellIds.RandomLightningVisual);
|
||||
|
||||
if (!bFirstTime)
|
||||
instance.SetBossState(DataTypes.JedogaShadowseeker, EncounterState.Fail);
|
||||
|
||||
@@ -329,9 +327,9 @@ namespace Scripts.Northrend.AzjolNerub.Ahnkahet.JedogaShadowseeker
|
||||
}
|
||||
|
||||
[Script]
|
||||
class npc_jedoga_twilight_volunteer : ScriptedAI
|
||||
class npc_jedoga_initiand : ScriptedAI
|
||||
{
|
||||
public npc_jedoga_twilight_volunteer(Creature creature) : base(creature)
|
||||
public npc_jedoga_initiand(Creature creature) : base(creature)
|
||||
{
|
||||
Initialize();
|
||||
instance = creature.GetInstanceScript();
|
||||
@@ -485,10 +483,11 @@ namespace Scripts.Northrend.AzjolNerub.Ahnkahet.JedogaShadowseeker
|
||||
bool bWalking;
|
||||
}
|
||||
|
||||
|
||||
[Script]
|
||||
class npc_jedoga_controller : ScriptedAI
|
||||
class npc_jedogas_aufseher_trigger : ScriptedAI
|
||||
{
|
||||
public npc_jedoga_controller(Creature creature) : base(creature)
|
||||
public npc_jedogas_aufseher_trigger(Creature creature) : base(creature)
|
||||
{
|
||||
instance = creature.GetInstanceScript();
|
||||
bRemoved = false;
|
||||
@@ -500,13 +499,11 @@ namespace Scripts.Northrend.AzjolNerub.Ahnkahet.JedogaShadowseeker
|
||||
}
|
||||
|
||||
public override void Reset() { }
|
||||
|
||||
public override void EnterCombat(Unit who) { }
|
||||
|
||||
public override void AttackStart(Unit victim) { }
|
||||
|
||||
public override void MoveInLineOfSight(Unit who) { }
|
||||
|
||||
|
||||
public override void UpdateAI(uint diff)
|
||||
{
|
||||
if (!bRemoved && me.GetPositionX() > 440.0f)
|
||||
@@ -519,7 +516,7 @@ namespace Scripts.Northrend.AzjolNerub.Ahnkahet.JedogaShadowseeker
|
||||
}
|
||||
if (!bCast)
|
||||
{
|
||||
//DoCast(me, JedogaShadowseekerConst.SpellBeamVisualJedogasAufseher1, false);
|
||||
DoCast(me, SpellIds.BeamVisualJedogasAufseher1, false);
|
||||
bCast = true;
|
||||
}
|
||||
}
|
||||
@@ -527,7 +524,7 @@ namespace Scripts.Northrend.AzjolNerub.Ahnkahet.JedogaShadowseeker
|
||||
{
|
||||
if (!bCast2 && instance.GetData(DataTypes.JedogaTriggerSwitch) != 0)
|
||||
{
|
||||
//DoCast(me, JedogaShadowseekerConst.SpellBeamVisualJedogasAufseher2, false);
|
||||
DoCast(me, SpellIds.BeamVisualJedogasAufseher2, false);
|
||||
bCast2 = true;
|
||||
}
|
||||
if (bCast2 && instance.GetData(DataTypes.JedogaTriggerSwitch) == 0)
|
||||
|
||||
@@ -1551,7 +1551,6 @@ namespace Scripts.Northrend.IcecrownCitadel
|
||||
}
|
||||
}
|
||||
|
||||
[Script]
|
||||
[Script]
|
||||
class npc_gunship_gunner : gunship_npc_AI
|
||||
{
|
||||
|
||||
@@ -123,9 +123,9 @@ namespace Scripts.Northrend.IcecrownCitadel
|
||||
|
||||
// at Light's Hammer
|
||||
[Script]
|
||||
class npc_highlord_tirion_fordring : ScriptedAI
|
||||
class npc_highlord_tirion_fordring_lh : ScriptedAI
|
||||
{
|
||||
public npc_highlord_tirion_fordring(Creature creature)
|
||||
public npc_highlord_tirion_fordring_lh(Creature creature)
|
||||
: base(creature)
|
||||
{
|
||||
_instance = creature.GetInstanceScript();
|
||||
|
||||
@@ -296,9 +296,7 @@ namespace Scripts.Northrend.Nexus.Nexus
|
||||
[Script]
|
||||
class achievement_split_personality : AchievementCriteriaScript
|
||||
{
|
||||
public achievement_split_personality() : base("achievement_split_personality")
|
||||
{
|
||||
}
|
||||
public achievement_split_personality() : base("achievement_split_personality") { }
|
||||
|
||||
public override bool OnCheck(Player player, Unit target)
|
||||
{
|
||||
@@ -313,17 +311,4 @@ namespace Scripts.Northrend.Nexus.Nexus
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
[Script]
|
||||
class spell_gravity_well_effect : SpellScript
|
||||
{
|
||||
void HandleDummy(uint index)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void Register()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -122,9 +122,9 @@ namespace Scripts.Northrend.Ulduar.Xt002
|
||||
}
|
||||
|
||||
[Script]
|
||||
class boss_xt002_ : BossAI
|
||||
class boss_xt002 : BossAI
|
||||
{
|
||||
public boss_xt002_(Creature creature) : base(creature, BossIds.Xt002)
|
||||
public boss_xt002(Creature creature) : base(creature, BossIds.Xt002)
|
||||
{
|
||||
Initialize();
|
||||
_transferHealth = 0;
|
||||
|
||||
Reference in New Issue
Block a user