示例#1
0
文件: Lasso.cs 项目: McPalm/FEPonies
    public void Notify(Tile target)
    {
        DamageData dd = new DamageData();

        if (target.Unit)
        {
            dd.target = target.Unit;
        }
        dd.source = GetComponent <Unit>();

        PinEffect.StaticApply(dd);
        FinishUse();
    }
示例#2
0
    public void Notify(Tile target)
    {
        DamageData dd = new DamageData();

        if (target.Unit)
        {
            dd.target = target.Unit;
        }
        dd.source = GetComponent <Unit>();

        PinEffect.StaticApply(dd);
        uses--;
        dd.source.StartAttackSequence(target.Unit);
        //FinishUse();
    }
示例#3
0
 public int StaticApply(DamageData dd, int duration = 1)
 {
     PinEffect.StaticApply(dd, duration);
     return(Damage.StaticApply(dd));        // may kill target, do last. Just to keep the sequence more safe.
 }