From 4b6a88ff0cc985b50ed9eec6d8b23e33fb4d47d9 Mon Sep 17 00:00:00 2001 From: libccy Date: Mon, 27 Feb 2017 11:50:47 +0800 Subject: [PATCH] 1.9.9.8beta --- character/xianjian.js | 2 ++ game/game.js | 12 ++++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/character/xianjian.js b/character/xianjian.js index 223145891..a2b25e38e 100644 --- a/character/xianjian.js +++ b/character/xianjian.js @@ -648,6 +648,7 @@ character.xianjian={ return event.player!=player&&event.player.num('h')>0&&player.num('h')>0; }, check:function(event,player){ + if(player.isUnseen()) return false; if(ai.get.attitude(player,event.player)>=0) return false; var hs=player.get('h'); if(hs.length