Browse Source

Added target checking on hit

hugedong69 9 years ago
parent
commit
4b1bea27b5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      index.js

+ 1 - 1
index.js

@@ -388,7 +388,7 @@ module.exports = function FpsUtils(dispatch) {
                 }
 		}
 		if (flags.hitother) {
-		if (!event.source.equals(pcid) || (!event.owner.equals(pcid) && event.owner > 0)) {
+		if (!event.source.equals(pcid) || (!event.owner.equals(pcid) && event.owner > 0) || !event.target.equals(pcid)) {
 				event.skill = '',
                  event.type = '',
                  event.type2 = '';