Couple of small fixes

Fixed an issue with onDyeTarget event where the dyetub and target object parameters were not set properly
Fixed some incorrect casting animation-related variable assignments for AI_HEALER and AI_EVIL_HEALER
Fixed an issue with pets not going wild from lack of loyalty to their owners when at zero loyalty
Addressed issues with idle/fidget animation setup that could cause NPCs to blink out of existence
Removed stray semicolon behind control statement related to triggering of OnFacetChange JS event
Fixed an issue with Bless spell when cast from item
Some minor code cleanup
This commit is contained in:
Xoduz 2022-10-27 00:54:41 +08:00
parent f10e8d4f14
commit 0ce39a3410
23 changed files with 173 additions and 75 deletions

View file

@ -61,7 +61,7 @@ bool CountNPCFunctor( CBaseObject *a, UI32 &b, void *extraData )
bool retVal = true;
if( ValidateObject( a ))
{
CChar *j = static_cast< CChar * >( a );
CChar *j = static_cast<CChar *>( a );
if( j->IsNpc() )
{
++b;