More refactoring of code.
This commit is contained in:
@@ -220,7 +220,7 @@ namespace Scripts.Northrend.FrozenHalls.ForgeOfSouls
|
||||
Initialize();
|
||||
}
|
||||
|
||||
public override void sGossipSelect(Player player, uint menuId, uint gossipListId)
|
||||
public override void GossipSelect(Player player, uint menuId, uint gossipListId)
|
||||
{
|
||||
if (menuId == Misc.MenuIdSylvanas && gossipListId == Misc.GossipOptionId)
|
||||
{
|
||||
@@ -304,7 +304,7 @@ namespace Scripts.Northrend.FrozenHalls.ForgeOfSouls
|
||||
Initialize();
|
||||
}
|
||||
|
||||
public override void sGossipSelect(Player player, uint menuId, uint gossipListId)
|
||||
public override void GossipSelect(Player player, uint menuId, uint gossipListId)
|
||||
{
|
||||
if (menuId == Misc.MenuIdJaina && gossipListId == Misc.GossipOptionId)
|
||||
{
|
||||
|
||||
@@ -183,7 +183,7 @@ namespace Scripts.Northrend.FrozenHalls.PitOfSaron.BossKrickAndIck
|
||||
if (!me.IsInCombat())
|
||||
return;
|
||||
|
||||
if (!me.GetVictim() && me.GetThreatManager().isThreatListEmpty())
|
||||
if (!me.GetVictim() && me.GetThreatManager().IsThreatListEmpty())
|
||||
{
|
||||
EnterEvadeMode(EvadeReason.NoHostiles);
|
||||
return;
|
||||
@@ -616,7 +616,7 @@ namespace Scripts.Northrend.FrozenHalls.PitOfSaron.BossKrickAndIck
|
||||
{
|
||||
ick.GetAI().Talk(TextIds.SayIckChase1, target);
|
||||
ick.AddAura(GetSpellInfo().Id, target);
|
||||
ick.GetAI<boss_ick>().SetTempThreat(ick.GetThreatManager().getThreat(target));
|
||||
ick.GetAI<boss_ick>().SetTempThreat(ick.GetThreatManager().GetThreat(target));
|
||||
ick.AddThreat(target, GetEffectValue());
|
||||
target.AddThreat(ick, GetEffectValue());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user