At a glance, SetPrimSkill just sets the prim_melee_type to the passed type inside npc.h.
In one of my code sets that sets prim_melee_type, I do it prior to the npc being instantiated/spawned, it's possible there's an appearance struct packet that needs to be sent.
I didn't look too deep, but just wanted to share my recent experience in this area. Hope it helps.
|