Пример #1
0
        public Solver(Stats _stats, Character _char)
            : base(_stats, _char)
        {
            role = (eRole)calculationOptions.Role;

            if (role == eRole.AUTO_Tank) // OOOH MAGIC TANK ROTATION!!!
            {
                Role = "Auto ";
                if (character.PriestTalents.Penance > 0)
                {
                    if (character.PriestTalents.DivineFury < 5)
                        role = eRole.Disc_Tank_FH; // Disc-MT, Using Flash Heal instead of GH
                    else
                        role = eRole.Disc_Tank_GH; // Disc-MT
                }
                else
                    role = eRole.Holy_Tank; // Holy-MT
            }
            else if (role == eRole.AUTO_Raid) // Raid rotation
            {
                Role = "Auto ";
                if (character.PriestTalents.Penance > 0)
                    role = eRole.Disc_Raid; // Disc-Raid (PW:S/Penance/Flash)
                else if (character.PriestTalents.CircleOfHealing > 0)
                    role = eRole.Holy_Raid; // Holy-Raid (CoH/FH)
                else
                    role = eRole.Flash_Heal; // Fallback to Flash Heal raid.

            }
        }
Пример #2
0
 public bool Notification_Register(string email,eRole kind)
 {
     string Body = "Email : " + email;
     ConfigEmailMessage("Edstart - A new " + kind.ToString() + " had registed", Config.EdstartMail , Body);
     return Send();
 }