Misc fixes
This commit is contained in:
@@ -1403,8 +1403,8 @@ namespace Game.AI
|
||||
break;
|
||||
|
||||
// Set the timer to 1 ms so the path will be resumed on next update loop
|
||||
if (((SmartAI)_me.GetAI()).CanResumePath())
|
||||
((SmartAI)_me.GetAI()).SetWPPauseTimer(1);
|
||||
if (_me.GetAI<SmartAI>().CanResumePath())
|
||||
_me.GetAI<SmartAI>().SetWPPauseTimer(1);
|
||||
break;
|
||||
}
|
||||
case SmartActions.SetOrientation:
|
||||
|
||||
@@ -105,7 +105,7 @@ namespace Game.Chat
|
||||
player.GetPosition(out x, out y, out z);
|
||||
|
||||
handler.SendSysMessage("{0:D4}{1:D2}{2:D2}.mmtile", player.GetMapId(), gy, gx);
|
||||
handler.SendSysMessage("gridloc [{0}, {1}]", gx, gy);
|
||||
handler.SendSysMessage("tileloc [{0}, {1}]", gx, gy);
|
||||
|
||||
// calculate navmesh tile location
|
||||
uint terrainMapId = PhasingHandler.GetTerrainMapId(player.GetPhaseShift(), player.GetMap(), x, y);
|
||||
|
||||
@@ -187,7 +187,7 @@ namespace Game.Chat
|
||||
return true;
|
||||
}
|
||||
|
||||
[CommandNonGroup("additemset", RBACPermissions.CommandAdditemset)]
|
||||
[CommandNonGroup("additem set", RBACPermissions.CommandAdditemset)]
|
||||
static bool HandleAddItemSetCommand(CommandHandler handler, StringArguments args)
|
||||
{
|
||||
if (args.Empty())
|
||||
|
||||
@@ -4328,6 +4328,14 @@ namespace Game.Entities
|
||||
spellInfo.NegativeEffects[2] = true;
|
||||
});
|
||||
|
||||
// Headless Horseman Climax - Return Head (Hallow End)
|
||||
// Headless Horseman Climax - Body Regen (confuse only - removed on death)
|
||||
// Headless Horseman Climax - Head Is Dead
|
||||
ApplySpellFix(new[] { 42401, 43105, 42428 }, spellInfo =>
|
||||
{
|
||||
spellInfo.Attributes |= SpellAttr0.UnaffectedByInvulnerability;
|
||||
});
|
||||
|
||||
foreach (var spellInfo in mSpellInfoMap.Values)
|
||||
{
|
||||
// Fix range for trajectory triggered spell
|
||||
|
||||
Reference in New Issue
Block a user