Update extra.js

This commit is contained in:
mengxinzxz 2023-08-22 16:15:07 +08:00 committed by GitHub
parent 479053b2b8
commit 4234b61eba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 14 deletions

View File

@ -2935,22 +2935,26 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
}, },
tspowei:{ tspowei:{
audio:2, audio:3,
dutySkill:true, dutySkill:true,
forced:true, locked:true,
derivation:'shenzhu',
group:['tspowei_init','tspowei_move','tspowei_achieve','tspowei_fail','tspowei_use','tspowei_remove'],
subSkill:{
remove:{
audio:'tspowei3',
trigger:{global:'damageEnd'}, trigger:{global:'damageEnd'},
logTarget:'player',
filter:function(event,player){ filter:function(event,player){
return event.player&&event.player.isIn()&&event.player.hasMark('dulie'); return event.player&&event.player.isIn()&&event.player.hasMark('dulie');
}, },
forced:true,
logTarget:'player',
content:function(){ content:function(){
trigger.player.removeMark('dulie',trigger.player.countMark('dulie')); trigger.player.removeMark('dulie',trigger.player.countMark('dulie'));
}, },
derivation:'shenzhu', },
group:['tspowei_init','tspowei_move','tspowei_achieve','tspowei_fail','tspowei_use'],
subSkill:{
use:{ use:{
audio:'tspowei', audio:'tspowei3',
trigger:{global:'phaseBegin'}, trigger:{global:'phaseBegin'},
direct:true, direct:true,
filter:function(event,player){ filter:function(event,player){
@ -3004,7 +3008,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
}, },
init:{ init:{
audio:'tspowei', audio:'tspowei3',
trigger:{ trigger:{
global:'phaseBefore', global:'phaseBefore',
player:'enterGame', player:'enterGame',
@ -3022,7 +3026,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
}, },
move:{ move:{
audio:'tspowei', audio:'tspowei3',
trigger:{player:'phaseBegin'}, trigger:{player:'phaseBegin'},
forced:true, forced:true,
filter:function(event,player){ filter:function(event,player){
@ -3078,6 +3082,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
tspowei1:{audio:true}, tspowei1:{audio:true},
tspowei2:{audio:true}, tspowei2:{audio:true},
tspowei3:{audio:true},
shenzhu:{ shenzhu:{
audio:2, audio:2,
trigger:{player:'useCardAfter'}, trigger:{player:'useCardAfter'},