[구버전] 성전환 물약
C_Itemuse.java
} else if (itemId == 아이템번호){
int[] MALE_LIST = new int[] { 0, 61, 138, 734, 2786, 6658, 6671 };
int[] FEMALE_LIST = new int[] { 1, 48, 37, 1186, 2796, 6661, 6650 };
if (pc.get_sex() == 0) {
pc.set_sex(1);
pc.setClassId(FEMALE_LIST[pc.getType()]);
} else {
pc.set_sex(0);
pc.setClassId(MALE_LIST[pc.getType()]);
}
pc.setTempCharGfx(pc.getClassId());
pc.sendPackets(new S_ChangeShape(pc.getId(), pc.getClassId()));
pc.broadcastPacket(new S_ChangeShape(pc.getId(), pc.getClassId()));
pc.getInventory().removeItem(l1iteminstance , 1);
int[] MALE_LIST = new int[] { 0, 61, 138, 734, 2786, 6658, 6671 };
int[] FEMALE_LIST = new int[] { 1, 48, 37, 1186, 2796, 6661, 6650 };
if (pc.get_sex() == 0) {
pc.set_sex(1);
pc.setClassId(FEMALE_LIST[pc.getType()]);
} else {
pc.set_sex(0);
pc.setClassId(MALE_LIST[pc.getType()]);
}
pc.setTempCharGfx(pc.getClassId());
pc.sendPackets(new S_ChangeShape(pc.getId(), pc.getClassId()));
pc.broadcastPacket(new S_ChangeShape(pc.getId(), pc.getClassId()));
pc.getInventory().removeItem(l1iteminstance , 1);