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; }
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) { }