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',
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');