Fix build. (scripts are fixed but most need updated tho)
This commit is contained in:
@@ -47,7 +47,7 @@ namespace Scripts.Outlands
|
||||
envelopingWinds_Timer = 9000;
|
||||
shock_Timer = 5000;
|
||||
|
||||
me.RemoveFlag64(UnitFields.NpcFlags, NPCFlags.QuestGiver);
|
||||
me.RemoveNpcFlag(NPCFlags.QuestGiver);
|
||||
me.SetFaction(Aeranas.FactionFriendly);
|
||||
|
||||
Talk(Aeranas.SaySummon);
|
||||
@@ -72,7 +72,7 @@ namespace Scripts.Outlands
|
||||
if (HealthBelowPct(30))
|
||||
{
|
||||
me.SetFaction(Aeranas.FactionFriendly);
|
||||
me.SetFlag64(UnitFields.NpcFlags, NPCFlags.QuestGiver);
|
||||
me.AddNpcFlag(NPCFlags.QuestGiver);
|
||||
me.RemoveAllAuras();
|
||||
me.DeleteThreatList();
|
||||
me.CombatStop(true);
|
||||
|
||||
@@ -142,7 +142,7 @@ namespace Scripts.Outlands
|
||||
{
|
||||
public npc_cooshcooshAI(Creature creature) : base(creature)
|
||||
{
|
||||
m_uiNormFaction = creature.getFaction();
|
||||
m_uiNormFaction = creature.GetFaction();
|
||||
}
|
||||
|
||||
uint m_uiNormFaction;
|
||||
@@ -150,7 +150,7 @@ namespace Scripts.Outlands
|
||||
public override void Reset()
|
||||
{
|
||||
_events.ScheduleEvent(Event_LightningBolt, 2000);
|
||||
if (me.getFaction() != m_uiNormFaction)
|
||||
if (me.GetFaction() != m_uiNormFaction)
|
||||
me.SetFaction(m_uiNormFaction);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user