Merge pull request #444 from Lucilor/PR-Branch

修复一些bug
This commit is contained in:
Spmario233 2023-10-02 12:05:17 +08:00 committed by GitHub
commit b8125a1b77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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');