Keep being asked for the fix. Basically, when having a pet Tormented demon or Frost dragon pet, all Tormented demons and Frost dragons will actually transform into their pet versions.
To fix, replace these two cases in your client's NPCDef:
Code:
case 3047:
npc.name = "Frost dragon";
npc.combatLevel = 166;
npc.standAnim = 13156;
npc.walkAnim = 13157;
npc.turn180AnimIndex = -1;
npc.turn90CCWAnimIndex = -1;
npc.turn90CWAnimIndex = -1;
//npc.type = 51;
npc.degreesToTurn = 32 ;
npc.models = new int[] {56767, 55294};
npc.actions = new String[5];
npc.actions[0] = "Pick-up";
npc.sizeY = 72;
npc.sizeXZ = 72;
npc.squaresNeeded = 2;
break;
case 3048:
npc.models = new int[]{44733};
npc.name = "Tormented demon";
npc.combatLevel = 450;
npc.standAnim = 10921;
npc.walkAnim = 10920;
npc.turn180AnimIndex = -1;
npc.turn90CCWAnimIndex = -1;
npc.turn90CWAnimIndex = -1;
// npc.type = 8349;
npc.degreesToTurn = 32;
npc.actions = new String[5];
npc.actions[0] = "Pick-up";
npc.sizeY = 60;
npc.sizeXZ = 60;
npc.squaresNeeded = 2;
break;
Originally Posted by
NextGen
so i have a little problem when people use pets in server it will turn all npc to pets.
So example if you use a frost dragon pet it will turn all frost dragons to pets in server