debuff 灼烧完成
This commit is contained in:
@@ -206,20 +206,30 @@ export class BuffComp extends Component {
|
||||
let pos =v3(15,30);
|
||||
node.setPosition(pos)
|
||||
node.parent = this.node;
|
||||
}
|
||||
in_iced(t:number=1) {
|
||||
}
|
||||
in_iced(t:number=1,ap:number=0) {
|
||||
var path = "game/skills/iced";
|
||||
var prefab: Prefab = oops.res.get(path, Prefab)!;
|
||||
var node = instantiate(prefab);
|
||||
node.getComponent(timedCom).time = t;
|
||||
node.getComponent(timedCom).ap = ap;
|
||||
node.parent = this.node;
|
||||
}
|
||||
in_yun(t:number=1) {
|
||||
in_fired(t:number=1,ap:number=0) {
|
||||
var path = "game/skills/fired";
|
||||
var prefab: Prefab = oops.res.get(path, Prefab)!;
|
||||
var node = instantiate(prefab);
|
||||
node.getComponent(timedCom).time = t;
|
||||
node.getComponent(timedCom).ap = ap;
|
||||
node.parent = this.node;
|
||||
}
|
||||
in_yun(t:number=1,ap:number=0) {
|
||||
var path = "game/skills/yun";
|
||||
var prefab: Prefab = oops.res.get(path, Prefab)!;
|
||||
var node = instantiate(prefab);
|
||||
node.setPosition(v3(0,90));
|
||||
node.getComponent(timedCom).time = t;
|
||||
node.getComponent(timedCom).ap = ap;
|
||||
node.parent = this.node;
|
||||
}
|
||||
to_speek(words:string,time:number=0.5){
|
||||
|
||||
Reference in New Issue
Block a user