http://**********/xstrdm503pwb
Code:
case 8842:
case 8841:
case 233:
case 316:
case 312:
case 313:
case 318:
String[] actions = npc.actions.clone();
String name = npc.name;
int id = npc.id;
EntityDef.clone(npc, 33317);
npc.id = id;
npc.anIntArray94 = new int[] {1491};
npc.actions = actions;
npc.name = name;
if (npc.id == 318) {
npc.actions = new String[] {"Net", null, "Lure", null, null};
}
break;
public static EntityDef clone(EntityDef def, int clone) {
EntityDef def2 = forID(clone);
def.anInt55 = def2.anInt55;
def.anInt57 = def2.anInt57;
def.anInt58 = def2.anInt58;
def.anInt59 = def2.anInt59;
def.combatLevel = def2.combatLevel;
def.walkAnim = def2.walkAnim;
def.aByte68 = def2.aByte68;
def.anInt75 = def2.anInt75;
def.standAnim = def2.standAnim;
def.anInt79 = def2.anInt79;
def.anInt83 = def2.anInt83;
def.aBoolean84 = def2.aBoolean84;
def.anInt86 = def2.anInt86;
def.aBoolean87 = def2.aBoolean87;
def.anInt91 = def2.anInt91;
def.aBoolean93 = def2.aBoolean93;
return def;
}