完善代码,避免错误
This commit is contained in:
parent
d647870ce2
commit
888b18356d
BIN
doc/细化.xmind
BIN
doc/细化.xmind
Binary file not shown.
@ -11,6 +11,7 @@ import { PetInfo, PetInfoMsg } from "../../../message/PetInfo";
|
|||||||
import { SkillParam, SkillTarget } from "../skill/SkillParam";
|
import { SkillParam, SkillTarget } from "../skill/SkillParam";
|
||||||
import { RemovePetMsg } from "../../../message/RemovePetMsg";
|
import { RemovePetMsg } from "../../../message/RemovePetMsg";
|
||||||
import { SKillEffectData } from "message/SkillInfo";
|
import { SKillEffectData } from "message/SkillInfo";
|
||||||
|
import { error } from "../../../common/Debug";
|
||||||
|
|
||||||
export class PetHandler {
|
export class PetHandler {
|
||||||
_pet: Pet;
|
_pet: Pet;
|
||||||
@ -179,7 +180,11 @@ export class PetHandler {
|
|||||||
}else if(obj.isAPHaloSkill() || obj.isBuffHaloSkill()){
|
}else if(obj.isAPHaloSkill() || obj.isBuffHaloSkill()){
|
||||||
this._halos.push(obj);
|
this._halos.push(obj);
|
||||||
}else{
|
}else{
|
||||||
this._waitskills.push(obj);
|
if(obj.triggerType() == TriggerType.NO_COND){
|
||||||
|
error('waitskill no cond!' + obj._id);
|
||||||
|
}else{
|
||||||
|
this._waitskills.push(obj);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
lst.push(obj);
|
lst.push(obj);
|
||||||
if(bkeep){
|
if(bkeep){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user