Esempio n. 1
0
 public Mechanic(long skillId, string inGameName, MechType mechType, MechanicPlotlySetting plotlySetting, string shortName, string description, string fullName, int internalCoolDown, CheckSpecialCondition condition = null)
 {
     InGameName       = inGameName;
     SkillId          = skillId;
     MechanicType     = mechType;
     PlotlySetting    = plotlySetting;
     ShortName        = shortName;
     FullName         = fullName;
     Description      = description;
     InternalCooldown = internalCoolDown;
     SpecialCondition = condition;
     IsEnemyMechanic  = MechanicType == MechType.EnemyBoon || MechanicType == MechType.EnemyBoonStrip ||
                        MechanicType == MechType.EnemyCastEnd || MechanicType == MechType.EnemyCastStart ||
                        MechanicType == MechType.Spawn;
 }
Esempio n. 2
0
 public Mechanic(long skillId, string inGameName, MechType mechType, ParseEnum.BossIDS bossId,
                 string plotlyString, string shortName, string description, string plotlyName, int internalCoolDown,
                 CheckSpecialCondition condition = null)
 {
     InGameName       = inGameName;
     SkillId          = skillId;
     MechanicType     = mechType;
     BossID           = bossId;
     PlotlyString     = plotlyString;
     PlotlySymbol     = GeneralHelper.FindPattern(PlotlyString, "symbol\\s*:\\s*'([^']*)'");
     PlotlyColor      = GeneralHelper.FindPattern(PlotlyString, "color\\s*:\\s*'([^']*)'");
     ShortName        = shortName;
     Description      = description ?? InGameName;
     PlotlyName       = plotlyName ?? InGameName;
     InternalCooldown = internalCoolDown;
     SpecialCondition = condition;
     IsEnemyMechanic  = MechanicType == MechType.EnemyBoon || MechanicType == MechType.EnemyBoonStrip ||
                        MechanicType == MechType.EnemyCastEnd || MechanicType == MechType.EnemyCastStart ||
                        MechanicType == MechType.Spawn;
 }
Esempio n. 3
0
 public Mechanic(long skillId, string inGameName, MechType mechType, MechanicPlotlySetting plotlySetting, string shortName, int internalCoolDown, CheckSpecialCondition condition = null) : this(skillId, inGameName, mechType, plotlySetting, shortName, shortName, shortName, internalCoolDown, null)
 {
 }
Esempio n. 4
0
 public Mechanic(long skillId, string inGameName, MechType mechType, ParseEnum.BossIDS bossId,
                 string plotlyString, string shortName, int internalCoolDown, CheckSpecialCondition condition = null) :
     this(skillId, inGameName, mechType, bossId, plotlyString, shortName, null, null, internalCoolDown, condition)
 {
 }