|
|
using System;
|
using System.Collections.Generic;
|
|
public class BattleDeadPack
|
{
|
public HB422_tagMCTurnFightObjDead deadPack;
|
|
public CustomHB426CombinePack deadTriggerSkill;
|
|
// 存储死亡包之后的所有包,这些包需要等待死亡完成后再分发
|
public List<GameNetPackBasic> packListAfterDeath = new List<GameNetPackBasic>();
|
|
public bool isPlaySkill = false;
|
|
public bool IsOwnSkill(HB427_tagSCUseSkill hB427_TagSCUseSkill)
|
{
|
if (deadTriggerSkill != null)
|
{
|
return false;
|
}
|
|
if (deadPack != null)
|
{
|
return deadPack.ObjID == hB427_TagSCUseSkill.ObjID;
|
}
|
|
return false;
|
}
|
|
public void SetDeathSkill(CustomHB426CombinePack combinePack)
|
{
|
deadTriggerSkill = combinePack;
|
}
|
}
|