protected void useItem(NPCProto npc, Item item, short state, short targetState) { if (!(state == -1 && targetState == 0)) { return; } if (npc is Player) { npc.PlayPlayerEffect((Player)npc, "SLOW_TIME", npc, 0, 0, 0, false); } }