crt 改为crit

This commit is contained in:
2025-06-24 21:08:46 +08:00
parent 4ef2855e49
commit 766c1f8176
12 changed files with 11211 additions and 7154 deletions

View File

@@ -138,7 +138,7 @@ export class MissionHeroCompComp extends CCComp {
}
get_info_and_remove(fight_pos:number,uuid:number){
let info:any={ap:0,hp:0,lv:1,crt:0,crt_d:0,dod:0,dod_no:false,crt_no:false}
let info:any={ap:0,hp:0,lv:1,crit:0,crit_d:0,dod:0,dod_no:false,crit_no:false}
let heros=ecs.query(ecs.allOf(FriendModelComp))
if(heros.length>0){
let hero = heros[0]
@@ -146,11 +146,11 @@ export class MissionHeroCompComp extends CCComp {
info.ap=hv.ap
info.hp=hv.hp_max
info.lv=hv.lv
info.crt=hv.crt
info.crt_d=hv.crt_d
info.crit=hv.crit
info.crit_d=hv.crit_d
info.dod=hv.dod
info.dod_no=hv.dod_no
info.crt_no=hv.crt_no
info.crit_no=hv.crit_no
hero.destroy()
return info