From f2b7418744afb9f4d4161fe0e5edd41038ae5b3d Mon Sep 17 00:00:00 2001 From: Tipx-L <138244655+Tipx-L@users.noreply.github.com> Date: Tue, 29 Aug 2023 07:31:40 -0700 Subject: [PATCH] Fix Yingbian. --- card/yingbian.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/card/yingbian.js b/card/yingbian.js index 660cab3e1..8fed66518 100644 --- a/card/yingbian.js +++ b/card/yingbian.js @@ -492,7 +492,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ if(!yingbianEffectExecuted){ var defaultYingbianEffect=get.defaultYingbianEffect(card); if(lib.yingbian.effect.has(defaultYingbianEffect)){ - lib.yingbian.effect.get(defaultYingbianEffect)(trigger); + game.yingbianEffect(trigger,lib.yingbian.effect.get(defaultYingbianEffect)); if(!yingbianEffectExecuted) yingbianEffectExecuted=true; } }