Updated to 8.2.0.31429 (scripts disabled atm, they still need updated)
Code Port from TrinityCore https://github.com/TrinityCore/TrinityCore Casc from WoW-Tools https://github.com/WoW-Tools/CASCExplorer
This commit is contained in:
@@ -539,8 +539,7 @@ namespace Game
|
||||
return;
|
||||
|
||||
Global.ScriptMgr.OnPlayerClearEmote(GetPlayer());
|
||||
if (GetPlayer().GetUInt32Value(UnitFields.NpcEmotestate) != 0)
|
||||
GetPlayer().SetUInt32Value(UnitFields.NpcEmotestate, 0);
|
||||
GetPlayer().SetEmoteState(Emote.OneshotNone);
|
||||
}
|
||||
|
||||
[WorldPacketHandler(ClientOpcodes.SendTextEmote)]
|
||||
@@ -573,7 +572,7 @@ namespace Game
|
||||
break;
|
||||
case Emote.StateDance:
|
||||
case Emote.StateRead:
|
||||
GetPlayer().SetUInt32Value(UnitFields.NpcEmotestate, emote_anim);
|
||||
GetPlayer().SetEmoteState((Emote)emote_anim);
|
||||
break;
|
||||
default:
|
||||
// Only allow text-emotes for "dead" entities (feign death included)
|
||||
|
||||
Reference in New Issue
Block a user