Spoiler for issue:
As the title says certain npcs don't take damage, specifically the npcs used within this quote.

Code:
	public void dropItems(int i) {
		int npc = 0;
		Client c = (Client) Server.playerHandler.players[npcs[i].killedBy];
		if (c != null) {
			if (npcs[i].npcType == 6222 || npcs[i].npcType == 6260
					|| npcs[i].npcType == 3200)
				c.magePoints += 1 + Misc.random(2);

			if (npcs[i].npcType == 2881 || npcs[i].npcType == 2882
					|| npcs[i].npcType == 2883)
				c.magePoints += 1;

			if (npcs[i].npcType == 5666 || npcs[i].npcType == 1158
					|| npcs[i].npcType == 3943)
				c.magePoints += 1 + Misc.random(2);

			if (npcs[i].npcType == 4292 || npcs[i].npcType == 4291
					&& c.inCyclops) {
				int random2 = Misc.random(4);
				if (random2 == 1) {
					Server.itemHandler.createGroundItem(c, Server
							.getWarriorsGuild().getCyclopsDrop(c),
							npcs[i].absX, npcs[i].absY, 1, c.playerId);
				}
			}
I don't know what's causing it, any feedback or help is appreciated, and please any thing you try to tell me keep it as noob friendly as. I don't know Java to the extent where you can throw the terminology and expect me to know it.

Sorry and Thanks in advance.


This has been sorted, it was the actual form of combat chosen against the npc, eg, Mage or Range.