This commit is contained in:
2025-06-17 00:00:56 +08:00
parent 843d03ac20
commit 3ad905cd59
5 changed files with 83 additions and 17 deletions

View File

@@ -11,6 +11,8 @@ import { oops } from "db://oops-framework/core/Oops";
import { GameEvent } from "../common/config/GameEvent";
import { FightConComp } from "../map/FightConComp";
import { EquipSpecialAttr } from "../common/config/Equips";
import { FightSet } from "../common/config/Mission";
import { HeroPos } from "../common/config/heroSet";
const { ccclass, property } = _decorator;
@@ -308,7 +310,10 @@ export class HeroViewComp extends CCComp {
this.to_drop()
}
to_alive(){
this.is_dead=false
this.node.setPosition(HeroPos[0].pos)
}
//掉落物品
to_drop(){
// let Drops = getMonsterDrops(1, MonsterType.Normal, 1.2);