天赋完善 继续

This commit is contained in:
2025-07-30 22:25:31 +08:00
parent c3ecc08767
commit 23ef6c3ca0
6 changed files with 170 additions and 43 deletions

View File

@@ -78,7 +78,7 @@ export class EquipSkillComp extends CCComp {
update(dt: number): void {
if(!smc.mission.play||smc.mission.pause) return
if(this.skill1.uuid!=0){
let cd=this.skill1.cd*(100-smc.vmdata.hero.skill_cd_buff)/100
let cd=this.skill1.cd/((smc.vmdata.hero.skill_cd_buff)/100+1)
if(this.skill1.cd_time < cd){
this.skill1.cd_time+=dt
}else{