コード例 #1
0
    public override void Effect(CardManager user, HexCell cell)
    {
        user.ActionPoint += ActionPoint;
        Unit_Base unit = cell.GetUnitOnCell();

        unit.AddTempHealth(TempHealth);
        unit.ChangeHealth(Health);
    }
コード例 #2
0
 public void Merged(Unit_Base MergeToUnit)
 {
     MergeToUnit.ChangeHealth(Health);
     MergeToUnit.TempHealth += TempHealth;
     UnitRemoved();
 }
コード例 #3
0
    public override void Effect(CardManager user, HexCell cell)
    {
        Unit_Base unit = cell.GetUnitOnCell();

        unit.ChangeHealth(user.GetTotalResource());
    }