From 2961693eef67400b6eeee4f8fe88717c9c1f337d Mon Sep 17 00:00:00 2001 From: libccy Date: Tue, 2 Jan 2018 23:40:36 +0800 Subject: [PATCH] jg --- character/diy.js | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/character/diy.js b/character/diy.js index aaca484fd..3a180ae5a 100644 --- a/character/diy.js +++ b/character/diy.js @@ -2875,16 +2875,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ effect: { target: function(card, player, target) { if (get.tag(card, 'damage')) { - if (player.hasSkillTag('jueqing', false, target)) return [1, -2]; + if (player.hasSkillTag('jueqing', false, target)) return; if (!target.hasFriend()) return; - if (target.hp >= 4) return [0.5, get.tag(card, 'damage') * 2]; - if (!target.hasSkill('paiyi') && target.hp > 1) return [0.5, get.tag(card, 'damage') * 1.5]; - if (target.hp == 3) return [0.5, get.tag(card, 'damage') * 1]; - if (target.hp == 2) return [1, get.tag(card, 'damage') * 0.5]; + return 0.8; } - }, - }, - }, + } + } + } }, liangji:{ enable: "phaseUse",