Exemplo n.º 1
0
        private void AddScore(ETransformationType transformationType, bool sameEnergy, int factor = 1, int sparkFactor = 0)
        {
            switch (transformationType)
            {
            case ETransformationType.Same:
                Score.AddSameScore(ECompatibilityScore.ExtremelyHigh, factor);

                Score.AddHarmonyScore(ECompatibilityScore.ExtremelyHigh, factor);
                Score.AddConflictScore(ECompatibilityScore.ExtremelyLow, factor);
                Score.AddSupportScore(ECompatibilityScore.Medium, factor);
                Score.AddMutualUnderstandingScore(ECompatibilityScore.ExtremelyHigh, factor);

                Score.AddComplementarityScore(sameEnergy ? ECompatibilityScore.ExtremelyLow : ECompatibilityScore.Low, factor);
                Score.AddSexualChemistryScore(sameEnergy ? ESexualChemistryScore.NonExistant : ESexualChemistryScore.Low, factor + sparkFactor);
                Score.AddSparkScore(sameEnergy ? ECompatibilityScore.ExtremelyLow : ECompatibilityScore.Low, factor + sparkFactor);
                Score.AddLearningPotentialScore(sameEnergy ? ECompatibilityScore.VeryLow : ECompatibilityScore.Low, factor);
                break;

            case ETransformationType.Supports:
            case ETransformationType.IsSupported:
                Score.AddSupportiveScore(ECompatibilityScore.ExtremelyHigh, factor);

                Score.AddHarmonyScore(ECompatibilityScore.VeryHigh, factor);
                Score.AddConflictScore(ECompatibilityScore.VeryLow, factor);
                Score.AddSupportScore(ECompatibilityScore.ExtremelyHigh, factor);
                Score.AddMutualUnderstandingScore(ECompatibilityScore.High, factor);
                Score.AddComplementarityScore(ECompatibilityScore.ExtremelyHigh, factor);
                Score.AddSexualChemistryScore(ESexualChemistryScore.High, factor);
                Score.AddSparkScore(ECompatibilityScore.High, factor);
                Score.AddLearningPotentialScore(ECompatibilityScore.MediumToHigh, factor);
                break;

            case ETransformationType.Challenges:
            case ETransformationType.IsChallenged:
                Score.AddChallengingScore(ECompatibilityScore.ExtremelyHigh, factor);

                Score.AddHarmonyScore(ECompatibilityScore.ExtremelyLow, factor);
                Score.AddConflictScore(ECompatibilityScore.ExtremelyHigh, factor);
                Score.AddSupportScore(ECompatibilityScore.MediumToHigh, factor);
                Score.AddMutualUnderstandingScore(ECompatibilityScore.VeryLow, factor);
                Score.AddComplementarityScore(ECompatibilityScore.High, factor);
                Score.AddSexualChemistryScore(ESexualChemistryScore.OffTheCharts, factor + sparkFactor);
                Score.AddSparkScore(ECompatibilityScore.ExtremelyHigh, factor + sparkFactor);
                Score.AddLearningPotentialScore(ECompatibilityScore.ExtremelyHigh, factor);
                break;
            }
        }
Exemplo n.º 2
0
        private void AddCrossReferencedScore(ETransformationType transformationType, int factor = 1)
        {
            switch (transformationType)
            {
            case ETransformationType.Same:
                Score.AddSameScore(ECompatibilityScore.ExtremelyHigh, factor);

                Score.AddHarmonyScore(ECompatibilityScore.High, factor);
                Score.AddConflictScore(ECompatibilityScore.Low, factor);
                Score.AddSupportScore(ECompatibilityScore.High, factor);
                Score.AddMutualUnderstandingScore(ECompatibilityScore.High, factor);
                Score.AddComplementarityScore(ECompatibilityScore.Low, factor);
                Score.AddLearningPotentialScore(ECompatibilityScore.LowToMedium, factor);
                break;

            case ETransformationType.Supports:
            case ETransformationType.IsSupported:
                Score.AddSupportiveScore(ECompatibilityScore.ExtremelyHigh, factor);

                Score.AddHarmonyScore(ECompatibilityScore.High, factor);
                Score.AddConflictScore(ECompatibilityScore.Low, factor);
                Score.AddSupportScore(ECompatibilityScore.High, factor);
                Score.AddMutualUnderstandingScore(ECompatibilityScore.High, factor);
                Score.AddComplementarityScore(ECompatibilityScore.High, factor);
                Score.AddLearningPotentialScore(ECompatibilityScore.MediumToHigh, factor);
                break;

            case ETransformationType.Challenges:
            case ETransformationType.IsChallenged:
                Score.AddChallengingScore(ECompatibilityScore.ExtremelyHigh, factor);

                Score.AddHarmonyScore(ECompatibilityScore.Low, factor);
                Score.AddConflictScore(ECompatibilityScore.High, factor);
                Score.AddSupportScore(ECompatibilityScore.MediumToHigh, factor);
                Score.AddMutualUnderstandingScore(ECompatibilityScore.Low, factor);
                Score.AddComplementarityScore(ECompatibilityScore.High, factor);
                Score.AddLearningPotentialScore(ECompatibilityScore.High, factor);
                break;
            }
        }
Exemplo n.º 3
0
        private void CalculateScore()
        {
            switch (FundamentalEnergiesTransformationType)
            {
            case ETransformationType.Same:
                Score.AddSameScore(ECompatibilityScore.ExtremelyHigh, 9);

                Score.AddHarmonyScore(ECompatibilityScore.ExtremelyHigh, 9);
                Score.AddConflictScore(ECompatibilityScore.ExtremelyLow, 9);
                Score.AddSupportScore(ECompatibilityScore.LowToMedium, 9);
                Score.AddMutualUnderstandingScore(ECompatibilityScore.ExtremelyHigh, 9);

                Score.AddComplementarityScore(FundamentalEnergiesAreSameEnergy ? ECompatibilityScore.ExtremelyLow : ECompatibilityScore.Low, 9);
                Score.AddSexualChemistryScore(FundamentalEnergiesAreSameEnergy ? ESexualChemistryScore.NonExistant : ESexualChemistryScore.Low, 20);
                Score.AddSparkScore(FundamentalEnergiesAreSameEnergy ? ECompatibilityScore.ExtremelyLow : ECompatibilityScore.Low, 20);
                Score.AddLearningPotentialScore(FundamentalEnergiesAreSameEnergy ? ECompatibilityScore.VeryLow : ECompatibilityScore.Low, 9);
                break;

            case ETransformationType.Supports:
            case ETransformationType.IsSupported:
                Score.AddSupportiveScore(ECompatibilityScore.ExtremelyHigh, 9);

                Score.AddHarmonyScore(ECompatibilityScore.VeryHigh, 9);
                Score.AddConflictScore(ECompatibilityScore.VeryLow, 9);
                Score.AddSupportScore(ECompatibilityScore.ExtremelyHigh, 9);
                Score.AddMutualUnderstandingScore(ECompatibilityScore.High, 9);
                Score.AddComplementarityScore(ECompatibilityScore.ExtremelyHigh, 9);
                Score.AddSexualChemistryScore(ESexualChemistryScore.MediumToHigh, 9);
                Score.AddSparkScore(ECompatibilityScore.MediumToHigh, 9);
                Score.AddLearningPotentialScore(ECompatibilityScore.MediumToHigh, 9);
                break;

            case ETransformationType.Challenges:
            case ETransformationType.IsChallenged:
                Score.AddChallengingScore(ECompatibilityScore.ExtremelyHigh, 9);

                Score.AddHarmonyScore(ECompatibilityScore.ExtremelyLow, 12);
                Score.AddConflictScore(ECompatibilityScore.ExtremelyHigh, 9);
                Score.AddSupportScore(ECompatibilityScore.MediumToHigh, 9);
                Score.AddMutualUnderstandingScore(ECompatibilityScore.VeryLow, 9);
                Score.AddComplementarityScore(ECompatibilityScore.High, 9);
                Score.AddSexualChemistryScore(ESexualChemistryScore.OffTheCharts, 20);
                Score.AddSparkScore(ECompatibilityScore.ExtremelyHigh, 20);
                Score.AddLearningPotentialScore(ECompatibilityScore.ExtremelyHigh, 9);
                break;
            }

            AddScore(CharacterEnergiesTransformationType, CharacterEnergiesAreSameEnergy, 4, 5);
            AddScore(SurfaceEnergiesTransformationType, SurfaceEnergiesAreSameEnergy, 2);

            if (!(_nineStarKiModel1.MainEnergy.Energy == _nineStarKiModel2.MainEnergy.Energy &&
                  _nineStarKiModel1.CharacterEnergy.Energy == _nineStarKiModel2.CharacterEnergy.Energy))
            {
                AddCrossReferencedScore(FundamentalEnergy1ToCharacterEnergy2TransformationType, 3);
                AddCrossReferencedScore(FundamentalEnergy2ToCharacterEnergy1TransformationType, 3);
            }

            if (!(_nineStarKiModel1.MainEnergy.Energy == _nineStarKiModel2.MainEnergy.Energy &&
                  _nineStarKiModel1.SurfaceEnergy.Energy == _nineStarKiModel2.SurfaceEnergy.Energy))
            {
                AddCrossReferencedScore(FundamentalEnergy1ToSurfaceEnergy2TransformationType, 1);
                AddCrossReferencedScore(FundamentalEnergy2ToSurfaceEnergy1TransformationType, 1);
            }

            if (!(_nineStarKiModel1.CharacterEnergy.Energy == _nineStarKiModel2.CharacterEnergy.Energy &&
                  _nineStarKiModel1.SurfaceEnergy.Energy == _nineStarKiModel2.SurfaceEnergy.Energy))
            {
                AddCrossReferencedScore(CharacterEnergy1ToSurfaceEnergy2TransformationType);
                AddCrossReferencedScore(CharacterEnergy2ToSurfaceEnergy1TransformationType);
            }
        }