orCode:else if (npcs[NPCID].npcType == 50) { if (c.playerEquipment[c.playerShield] == 16002) { npcs[NPCID].animNumber = 91; // KBD attack hitDiff = 10 + misc.random(20); } else { npcs[NPCID].animNumber = 91; // KBD attack hitDiff = 40 + misc.random(60); } }
Code:else if (npcs[NPCID].npcType == 50) { if (p.playerEquipment[p.playerShield] == 16002) { npcs[NPCID].animNumber = 91; // KBD attack hitDiff = 10 + misc.random(20); } else { npcs[NPCID].animNumber = 91; // KBD attack hitDiff = 40 + misc.random(60); } }