public static float GetTrapStrength(LogicTrapData data, int upgLevel)
        {
            int damageStrength = data.GetDamage(upgLevel);

            if (damageStrength == 0)
            {
                if (data.GetNumSpawns(upgLevel) != 0)
                {
                    damageStrength = data.GetNumSpawns(upgLevel);
                }

                if (data.GetEjectHousingLimit(upgLevel) != 0)
                {
                    damageStrength = data.GetEjectHousingLimit(upgLevel);
                }

                if (data.GetPushback() != 0)
                {
                    damageStrength = data.GetPushback();
                }
            }

            return(damageStrength * 0.014286f * data.GetStrengthWeight(upgLevel));
        }