fix: bugs

* 万智牌 - 地牌改变背景失效
* 昆特牌 - 凯瑞斯【卫土】无法触发护甲抵挡效果
* 炉石传说 - 阿玛拉【守望】当目标技能被禁用时可以无限对其发动
This commit is contained in:
lucilor 2023-10-02 07:13:46 +08:00
parent da953811d4
commit e7eb7aff9c
No known key found for this signature in database
GPG Key ID: 776ADE0EF6168756
3 changed files with 4 additions and 5 deletions

View File

@ -999,10 +999,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
group:'gwweitu_gain', group:'gwweitu_gain',
subSkill:{ subSkill:{
gain:{ gain:{
trigger:{player:'damageZero'}, trigger: {player: 'changeHujiaAfter'},
filter:function(event){ filter: (event) => event.num < 0,
return event.hujia;
},
forced:true, forced:true,
content:function(){ content:function(){
player.storage.gwweitu++; player.storage.gwweitu++;

View File

@ -2023,6 +2023,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
}, },
shouwang2:{ shouwang2:{
charlotte: true,
mark:true, mark:true,
intro:{ intro:{
content:'已发动' content:'已发动'

View File

@ -34345,7 +34345,7 @@
game.addVideo('changeLand',player,url); game.addVideo('changeLand',player,url);
const parsedPath=lib.path.parse(url); const parsedPath=lib.path.parse(url);
delete parsedPath.base; delete parsedPath.base;
if(!parsedPath.dir) parsedPath.dir='image/card'; if(!parsedPath.dir) parsedPath.dir='image/card/';
if(!parsedPath.ext) parsedPath.ext='.jpg'; if(!parsedPath.ext) parsedPath.ext='.jpg';
game.broadcastAll((formattedPath,name,skill,player)=>{ game.broadcastAll((formattedPath,name,skill,player)=>{
const node=ui.create.div('.background.upper.land'); const node=ui.create.div('.background.upper.land');