Well I've added all of the following:


Added,

Code:
if (npcs[NPCID].npcType == 1645) {
					gfxAll(369, EnemyY, EnemyX);
					hitDiff = 6 + misc.random(43);
				}
Under,

Code:
public boolean AttackNPCMage(int NPCID) {

Added,

Code:
if (npcs[NPCID].npcType == 1645) { // Infernal
						// Mage
						p.animation(369, p.absY, p.absX);
						hitDiff = 6 + misc.random(20);
					}
Under,

Code:
public boolean AttackPlayerMage(int NPCID) {

Added,

Code:
if ((npcs[i].npcType == 1645)
Under,

Code:
AttackPlayerMage(i);

And he just will not using Magic to attack anyone! Can someone help?