Ejemplo n.º 1
0
 //子类添加 FilterUnit 函数可以自定义过滤掉不需要的目标
 protected bool FilterUnit(Unit unit, string spellId, Unit targetUnit, CfgSpellTriggerData cfgSpellTriggerData)
 {
     return(true);
 }
Ejemplo n.º 2
0
 protected bool CheckTriggerCondition(CfgSpellTriggerData cfgSpellTriggerData, Unit sourceUnit,
                                      Unit targetUnit)
 {
     return(true);
 }