From 4bac8705dc1ef212d79c21eef532c8161da4db93 Mon Sep 17 00:00:00 2001 From: libccy Date: Mon, 18 Jul 2016 10:08:45 +0800 Subject: [PATCH] 1 --- character/ow.js | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/character/ow.js b/character/ow.js index 7c97d4d88..e15fd4cc7 100644 --- a/character/ow.js +++ b/character/ow.js @@ -60,6 +60,29 @@ character.ow={ player.skip('phaseDiscard'); } }, + shanguang:{ + enable:'phaseUse', + usable:1, + filterCard:true, + position:'he', + filterTarget:function(card,player,target){ + return target!=player; + }, + check:function(card){ + return 6-ai.get.value(card); + }, + content:function(){ + target.addTempSkill('shanguang2','phaseAfter'); + }, + ai:{ + order:10, + result:{ + target:function(player,target){ + + } + } + } + }, baoxue:{ enable:'phaseUse', init:function(player){