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',
subSkill:{
gain:{
trigger:{player:'damageZero'},
filter:function(event){
return event.hujia;
},
trigger: {player: 'changeHujiaAfter'},
filter: (event) => event.num < 0,
forced:true,
content:function(){
player.storage.gwweitu++;

View File

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

View File

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