This commit is contained in:
2025-05-14 10:11:51 +08:00
parent 476be36a03
commit 176bdbc811
6 changed files with 24 additions and 9 deletions

View File

@@ -75,10 +75,10 @@ export class CardComp extends CCComp {
if(this.is_used) return
switch(this.c_type){
case 0:
oops.message.dispatchEvent(GameEvent.UserHeroCard,{uuid:this.c_uuid})
oops.message.dispatchEvent(GameEvent.UseHeroCard,{uuid:this.c_uuid})
break
case 1:
oops.message.dispatchEvent(GameEvent.UserSkillCard,{uuid:this.c_uuid})
oops.message.dispatchEvent(GameEvent.UseSkillCard,{uuid:this.c_uuid})
break
case 2:
oops.message.dispatchEvent(GameEvent.UseCard,{uuid:this.c_uuid})