예제 #1
0
    public static int[] CreateDamageMatrix(int _baseDamage, bool _isPureDamage)
    {
        int[] tRetVal = new int[AbstractDungeon.GetMonsters().Monsters.Count];
        for (int i = 0; i < tRetVal.Length; i++)
        {
            DamageInfo tDamageInfo = new DamageInfo(AbstractDungeon.Player, _baseDamage);
            if (!_isPureDamage)
            {
                tDamageInfo.ApplyEnemyPowersOnly(AbstractDungeon.GetMonsters().Monsters[i]);
            }

            tRetVal[i] = tDamageInfo.Output;
        }

        return(tRetVal);
    }