Script Function: Q43E
From Ultima Online: The Second Age
function int Q43E(obj Q5U8, obj target, int damage) { int Q5NH = damage; int Q5DD = 0x01; int Q5T9 = 0x00; if (Q5U8 != NULL()) { loc Q5TR = getLocation(Q5U8); Q5T9 = inJusticeRegion(Q5TR); if (isNPC(Q5U8)) { if (!Q4Z7(Q5U8)) { Q5DD = 0x00; } } } int Q637 = 0x00; if (target != NULL()) { loc Q639 = getLocation(target); Q637 = inJusticeRegion(Q639); if (isNPC(target)) { if (!Q4Z7(target)) { Q5DD = 0x00; } } } if (Q5DD && (Q5T9 || Q637)) { Q5NH = 0x00; } return (Q5NH); }