Fix build. (scripts are fixed but most need updated tho)

This commit is contained in:
hondacrx
2019-08-18 23:23:18 -04:00
parent aa71a8926a
commit b3faf9685a
61 changed files with 1611 additions and 1442 deletions
+2 -2
View File
@@ -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);
}