Example #1
0
    private void DebuffEnemyDamage(int amount, MapSquare currentSquare)
    {
        currentSquare.AdjustEnemyDamageDebuff(amount);
        List <MapSquare> squares = currentSquare.GetAdjacentSquares();

        foreach (MapSquare square in squares)
        {
            square.AdjustEnemyDamageDebuff(amount);
        }
    }