For some reason, everything works except animating the player with this part.
function wandArcaneProjectile::OnCollision(%this, %obj, %col, %fade, %pos, %normal)
{
if(%col.getClassName() $= "Player" || %col.getClassName() $= "AIPlayer")
{
if(%col.getMountedImage(0).getName() $= "wizardWandImage")
{
if(%col.client.attunement $= "Arcane")
{
%col.playThread(2,ShiftUp);
ReboundProjectile(%this,%obj,%col,%fade,%pos,%normal);
return;
}
Any help is appreciated