virtual public string GetMessageAbilitesList(User.Text lang) { string[] list = { $"1 - {lang.AttackString}", $"2 - {lang.Heal} ({HealCountdown}) [{HealPayMana}]", $"{lang.SelectAbility}:", }; return(string.Join("\n", list)); }
public override string GetMessageAbilitesList(User.Text lang) { string msg = $"{lang.List}:\n"; msg += $"1 - {lang.AttackString}\n"; if (HealCountdown > 0) { msg += $"2 - {lang.Heal} ({HealCountdown}) [{HealPayMana}]\n"; } else { msg += $"2 - {lang.Heal} [{HealPayMana}]\n"; } if (EarthshokCD > 0) { msg += $"3 - {AbiNameOne} ({EarthshokCD}) [{EarthshokManaPay}]\n"; } else { msg += $"3 - {AbiNameOne} [{EarthshokManaPay}]\n"; } if (OverpowerActivated) { msg += $"4 - {AbiNameTwo} <<{OverpowerDuration - OverpowerCounter + 1}>>\n"; } else { if (OverpowerCD > 0) { msg += $"4 - {AbiNameTwo} ({OverpowerCD}) [{OverpowerManaPay}]\n"; } else { msg += $"4 - {AbiNameTwo} [{OverpowerManaPay}]\n"; } } if (EnrageActivated) { msg += $"5 - {AbiNameThree} <<{EnrageDuration - EnrageCounter + 1}>>\n"; } else { if (EnrageCD > 0) { msg += $"5 - {AbiNameThree} ({EnrageCD})\n"; } else { msg += $"5 - {AbiNameThree}\n"; } } msg += $"{lang.SelectAbility}:"; return(msg); }
public override string GetMessageAbilitesList(User.Text lang) { string msg = $"{lang.List}:\n"; msg += $"1 - {lang.AttackString}\n"; if (HealCountdown > 0) { msg += $"2 - {lang.Heal} ({HealCountdown}) [{HealPayMana}]\n"; } else { msg += $"2 - {lang.Heal} [{HealPayMana}]\n"; } if (MistCoilCD > 0) { msg += $"3 - {AbiNameOne} ({MistCoilCD}) [{MistCoilManaPay}]\n"; } else { msg += $"3 - {AbiNameOne} [{MistCoilManaPay}]\n"; } if (AphoticShieldActivated) { msg += $"4 - {AbiNameTwo} <<{AphoticShieldDuration - AphoticShieldCounter + 1}>>\n"; } else { if (AphoticShieldCD > 0) { msg += $"4 - {AbiNameTwo} ({AphoticShieldCD}) [{AphoticShieldManaPay}]\n"; } else { msg += $"4 - {AbiNameTwo} [{AphoticShieldManaPay}]\n"; } } if (BorrowedTimeActivated) { msg += $"5 - {AbiNameThree} <<{BorrowedTimeDuration - BorrowedTimeCounter + 1}>>\n"; } else { if (BorrowedTimeCD > 0) { msg += $"5 - {AbiNameThree} ({BorrowedTimeCD})\n"; } else { msg += $"5 - {AbiNameThree}\n"; } } msg += $"{lang.SelectAbility}:"; return(msg); }
public override string GetMessageAbilitesList(User.Text lang) { string msg = $"{lang.List}:\n"; msg += $"1 - {lang.AttackString}\n"; if (HealCountdown > 0) { msg += $"2 - {lang.Heal} ({HealCountdown}) [{HealPayMana}]\n"; } else { msg += $"2 - {lang.Heal} [{HealPayMana}]\n"; } if (RageActivated) { msg += $"3 - {AbiNameOne} <<{RageDuration - RageCounter + 1}>>\n"; } else { if (RageCD > 0) { msg += $"3 - {AbiNameOne} ({RageCD}) [{RageManaPay}]\n"; } else { msg += $"3 - {AbiNameOne} [{RageManaPay}]\n"; } } if (OW_Activated) { msg += $"4 - {AbiNameTwo} <<{OW_Duration - OW_Counter + 1}>>\n"; } else { if (OW_CD > 0) { msg += $"4 - {AbiNameTwo} ({OW_CD}) [{OW_ManaPay}]\n"; } else { msg += $"4 - {AbiNameTwo} [{OW_ManaPay}]\n"; } } if (HoM_CD > 0) { msg += $"5 - {AbiNameThree} ({HoM_CD}) [{HoM_ManaPay}]\n"; } else { msg += $"5 - {AbiNameThree} [{HoM_ManaPay}]\n"; } msg += $"{lang.SelectAbility}:"; return(msg); }
public override string GetMessageAbilitesList(User.Text lang) { string msg = $"{lang.List}:\n"; msg += $"1 - {lang.AttackString}\n"; if (HealCountdown > 0) { msg += $"2 - {lang.Heal} ({HealCountdown}) [{HealPayMana}]\n"; } else { msg += $"2 - {lang.Heal} [{HealPayMana}]\n"; } if (TimeWalkCD > 0) { msg += $"3 - {AbiNameOne} ({TimeWalkCD}) [{TimeWalkManaPay}]\n"; } else { msg += $"3 - {AbiNameOne} [{TimeWalkManaPay}]\n"; } if (AoT_Activated) { msg += $"4 - {AbiNameTwo} <<{AoT_Duration - AoT_Counter}>>\n"; } else { if (AoT_CD > 0) { msg += $"4 - {AbiNameTwo} ({AoT_CD}) [{AoT_ManaPay}]\n"; } else { msg += $"4 - {AbiNameTwo} [{AoT_ManaPay}]\n"; } } if (ChronosphereActivated) { msg += $"5 - {AbiNameThree} <<{ChronosphereDuration - ChronosphereCounter + 1}>>\n"; } else { if (ChronosphereCD > 0) { msg += $"5 - {AbiNameThree} ({ChronosphereCD}) [{ChronosphereManaPay}]\n"; } else { msg += $"5 - {AbiNameThree} [{ChronosphereManaPay}]\n"; } } msg += $"{lang.SelectAbility}:"; return(msg); }
public override string GetMessageAbilitesList(User.Text lang) { string msg = $"{lang.List}:\n"; msg += $"1 - {lang.AttackString}\n"; if (HealCountdown > 0) { msg += $"2 - {lang.Heal} ({HealCountdown}) [{HealPayMana}]\n"; } else { msg += $"2 - {lang.Heal} [{HealPayMana}]\n"; } if (PlasmaFieldCD > 0) { msg += $"3 - {AbiNameOne} ({PlasmaFieldCD}) [{PlasmaFieldManaPay}]\n"; } else { msg += $"3 - {AbiNameOne} [{PlasmaFieldManaPay}]\n"; } if (StaticLinkActivated) { msg += $"4 - {AbiNameTwo} <<{StaticLinkDuration - StaticLinkCounter + 1}>>\n"; } else { if (StaticLinkCD > 0) { msg += $"4 - {AbiNameTwo} ({StaticLinkCD}) [{StaticLinkManaPay}]\n"; } else { msg += $"4 - {AbiNameTwo} [{StaticLinkManaPay}]\n"; } } if (EotS_Activated) { msg += $"5 - {AbiNameThree} <<{EotS_Duration - EotS_Counter + 1}>>\n"; } else { if (EotS_CD > 0) { msg += $"5 - {AbiNameThree} ({EotS_CD}) [{EotS_ManaPay}]\n"; } else { msg += $"5 - {AbiNameThree} [{EotS_ManaPay}]\n"; } } msg += $"{lang.SelectAbility}:"; return(msg); }
public override string GetMessageAbilitesList(User.Text lang) { string msg = $"{lang.List}:\n"; msg += $"1 - {lang.AttackString}\n"; if (HealCountdown > 0) { msg += $"2 - {lang.Heal} ({HealCountdown}) [{HealPayMana}]\n"; } else { msg += $"2 - {lang.Heal} [{HealPayMana}]\n"; } if (BladeFuryActivated) { msg += $"3 - {AbiNameOne} <<{BladeFuryDuration - BladeFuryCounter + 1}>>\n"; } else { if (BladeFuryCD > 0) { msg += $"3 - {AbiNameOne} ({BladeFuryCD}) [{BladeFuryManaPay}]\n"; } else { msg += $"3 - {AbiNameOne} [{BladeFuryManaPay}]\n"; } } if (HealingWardActivated) { msg += $"4 - {AbiNameTwo} <<{HealingWardDuration - HealingWardCounter + 1}>>\n"; } else { if (HealingWardCD > 0) { msg += $"4 - {AbiNameTwo} ({HealingWardCD}) [{HealingWardManaPay}]\n"; } else { msg += $"4 - {AbiNameTwo} [{HealingWardManaPay}]\n"; } } if (OmnislashCD > 0) { msg += $"5 - {AbiNameThree} ({OmnislashCD}) [{OmnislashManaPay}]\n"; } else { msg += $"5 - {AbiNameThree} [{OmnislashManaPay}]\n"; } msg += $"{lang.SelectAbility}:"; return(msg); }
public override string GetMessageAbilitesList(User.Text lang) { string msg = $"{lang.List}:\n"; msg += $"1 - {lang.AttackString}\n"; if (HealCountdown > 0) { msg += $"2 - {lang.Heal} ({HealCountdown}) [{HealPayMana}]\n"; } else { msg += $"2 - {lang.Heal} [{HealPayMana}]\n"; } if (AcidSprayCD > 0) { msg += $"3 - {AbiNameOne} ({AcidSprayCD}) [{AcidSprayManaPay}]\n"; } else { msg += $"3 - {AbiNameOne} [{AcidSprayManaPay}]\n"; } if (UnstableConcoctionActivated) { msg += $"4 - {AbiNameTwo} <<{UnstableConcoctionTimeToThrow - UnstableConcoctionCounter + 1}>>\n"; } else { if (UnstableConcoctionCD > 0) { msg += $"4 - {AbiNameTwo} ({UnstableConcoctionCD}) [{UnstableConcoctionManaPay}]\n"; } else { msg += $"4 - {AbiNameTwo} [{UnstableConcoctionManaPay}]\n"; } } if (ChemicalRageActivated) { msg += $"5 - {AbiNameThree} <<{ChemicalRageDuration - ChemicalRageCounter + 1}>>\n"; } else { if (ChemicalRageCD > 0) { msg += $"5 - {AbiNameThree} ({ChemicalRageCD}) [{ChemicalRageManaPay}]\n"; } else { msg += $"5 - {AbiNameThree} [{ChemicalRageManaPay}]\n"; } } msg += $"{lang.SelectAbility}:"; return(msg); }
public static string GetMessageForEnemy(User.Text playerLang, IHero enemyHero) { string[] lines = { playerLang.YourEnemyMessage, $"{playerLang.HeroNameMessage}: {enemyHero.Name}", $"{playerLang.HpText}: {Convert.ToInt32(enemyHero.HP)}/{Convert.ToInt32(enemyHero.MaxHP)} {smile_hp}", $"{playerLang.MpText}: {Convert.ToInt32(enemyHero.MP)}/{Convert.ToInt32(enemyHero.MaxMP)} {smile_mp}", $"{playerLang.DpsText}: {Convert.ToInt32(enemyHero.DPS)} {smile_dps}", $"{playerLang.ArmorText}: {Convert.ToInt32(enemyHero.Armor)} {smile_armor}", $"{enemyHero.GetEffects(playerLang)}" }; return(string.Join("\n", lines)); }
public override string GetMessageAbilitesList(User.Text lang) { string msg = $"{lang.List}:\n"; msg += $"1 - {lang.AttackString}\n"; if (HealCountdown > 0) { msg += $"2 - {lang.Heal} ({HealCountdown}) [{HealPayMana}]\n"; } else { msg += $"2 - {lang.Heal} [{HealPayMana}]\n"; } if (GuardianSprintActivated) { msg += $"3 - {AbiNameOne} <<{GuardianSprintDuration - GuardianSprintCounter + 1}>>\n"; } else { if (GuardianSprintCD > 0) { msg += $"3 - {AbiNameOne} ({GuardianSprintCD})\n"; } else { msg += $"3 - {AbiNameOne}\n"; } } if (SlithereenCrushCD > 0) { msg += $"4 - {AbiNameTwo} ({SlithereenCrushCD}) [{SlithereenCrushManaPay}]\n"; } else { msg += $"4 - {AbiNameTwo} [{SlithereenCrushManaPay}]\n"; } if (CorrosiveHazeCD > 0) { msg += $"5 - {AbiNameThree} ({CorrosiveHazeCD}) [{CorrosiveHazeManaPay}]\n"; } else { msg += $"5 - {AbiNameThree} [{CorrosiveHazeManaPay}]\n"; } msg += $"{lang.SelectAbility}:"; return(msg); }
public override string GetMessageAbilitesList(User.Text lang) { string msg = $"{lang.List}:\n"; msg += $"1 - {lang.AttackString}\n"; if (HealCountdown > 0) { msg += $"2 - {lang.Heal} ({HealCountdown}) [{HealPayMana}]\n"; } else { msg += $"2 - {lang.Heal} [{HealPayMana}]\n"; } if (ArcaneCurseCD > 0) { msg += $"3 - {AbiNameOne} ({ArcaneCurseCD}) [{ArcaneCurseManaPay}]\n"; } else { msg += $"3 - {AbiNameOne} [{ArcaneCurseManaPay}]\n"; } if (LastWordCD > 0) { msg += $"4 - {AbiNameTwo} ({LastWordCD}) [{LastWordManaPay}]\n"; } else { msg += $"4 - {AbiNameTwo} [{LastWordManaPay}]\n"; } if (GlobalSilenceActivated) { msg += $"5 - {AbiNameThree} <<{GlobalSilenceDuration - GlobalSilenceCounter + 1}>>\n"; } else { if (GlobalSilenceCD > 0) { msg += $"5 - {AbiNameThree} ({GlobalSilenceCD}) [{GlobalSilenceManaPay}]\n"; } else { msg += $"5 - {AbiNameThree} [{GlobalSilenceManaPay}]\n"; } } msg += $"{lang.SelectAbility}:"; return(msg); }
public override string GetMessageAbilitesList(User.Text lang) { string msg = $"{lang.List}:\n"; msg += $"1 - {lang.AttackString}\n"; if (HealCountdown > 0) { msg += $"2 - {lang.Heal} ({HealCountdown}) [{HealPayMana}]\n"; } else { msg += $"2 - {lang.Heal} [{HealPayMana}]\n"; } if (WB_CD > 0) { msg += $"3 - {AbiNameOne} ({WB_CD}) [{WB_ManaPay}]\n"; } else { msg += $"3 - {AbiNameOne} [{WB_ManaPay}]\n"; } if (AF_Activated) { msg += $"4 - {AbiNameTwo} <<{AF_Duration - AF_Counter + 1}>>\n"; } else { if (AF_CD > 0) { msg += $"4 - {AbiNameTwo} ({AF_CD}) [{AF_ManaPay}]\n"; } else { msg += $"4 - {AbiNameTwo} [{AF_ManaPay}]\n"; } } if (KL_CD > 0) { msg += $"5 - {AbinameThree} ({KL_CD}) [{KL_ManaPay}]\n"; } else { msg += $"5 - {AbinameThree} [{KL_ManaPay}]\n"; } msg += $"{lang.SelectAbility}:"; return(msg); }
public override string GetMessageAbilitesList(User.Text lang) { string msg = $"{lang.List}:\n"; msg += $"1 - {lang.AttackString}\n"; if (HealCountdown > 0) { msg += $"2 - {lang.Heal} ({HealCountdown}) [{HealPayMana}]\n"; } else { msg += $"2 - {lang.Heal} [{HealPayMana}]\n"; } if (BreatheFireCD > 0) { msg += $"3 - {AbiNameOne} ({BreatheFireCD}) [{BreatheFireManaPay}]\n"; } else { msg += $"3 - {AbiNameOne} [{BreatheFireManaPay}]\n"; } if (DragonTailCD > 0) { msg += $"4 - {AbiNameTwo} ({DragonTailCD}) [{DragonTailManaPay}]\n"; } else { msg += $"4 - {AbiNameTwo} [{DragonTailManaPay}]\n"; } if (DragonFuryActivated) { msg += $"5 - {AbiNameThree} <<{DragonFuryDuration - DragonFuryCounter + 1}>>\n"; } else { if (DragonFuryCD > 0) { msg += $"5 - {AbiNameThree} ({DragonFuryCD}) [{DragonFuryManaPay}]\n"; } else { msg += $"5 - {AbiNameThree} [{DragonFuryManaPay}]\n"; } } msg += $"{lang.SelectAbility}:"; return(msg); }
public string GetEffects(User.Text lang) { EffectsList.Clear(); if (StunCounter > 0) { EffectsList.Add($"{lang.Stun}({StunCounter})"); } if (IsSilenced) { EffectsList.Add($"{lang.Silence}({SilenceCounter + 1})"); } if (HasImmuneToMagic) { EffectsList.Add($"{lang.ImmuneToMagic}({HasImmuneToMagicCounter + 1})"); } if (ArmorPenetratingActive) { EffectsList.Add($"{lang.ArmorDecreasing}({ArmorPenetratingCounter + 1})"); } if (IsFullDisabled) { EffectsList.Add($"{lang.Disable}({FullDisableCounter + 1})"); } if (AttackWeakening) { EffectsList.Add($"{lang.AttackWeakening}({AttackWeakeningCounter + 1})"); } if (EffectsList.Count > 1) { return($"{lang.Effects}: {string.Join(", ", EffectsList.ToArray())}."); } else if (EffectsList.Count == 1) { return($"{lang.Effect}: {string.Join(", ", EffectsList.ToArray())}."); } else { return(""); } }
public override string GetMessageAbilitesList(User.Text lang) { string msg = $"{lang.List}:\n"; msg += $"1 - {lang.AttackString}\n"; if (HealCountdown > 0) { msg += $"2 - {lang.Heal} ({HealCountdown}) [{HealPayMana}]\n"; } else { msg += $"2 - {lang.Heal} [{HealPayMana}]\n"; } if (ShrapnelCD > 0) { msg += $"3 - {AbiNameOne} ({ShrapnelCD}) [{ShrapnelManaPay}]\n"; } else { msg += $"3 - {AbiNameOne} [{ShrapnelManaPay}]\n"; } if (MG_CD > 0) { msg += $"4 - {AbiNameTwo} ({MG_CD}) [{MG_ManaPay}]\n"; } else { msg += $"4 - {AbiNameTwo} [{MG_ManaPay}]\n"; } if (AssassinateCD > 0) { msg += $"5 - {AbiNameThree} ({AssassinateCD}) [{AssassinateManaPay}]\n"; } else { msg += $"5 - {AbiNameThree} [{AssassinateManaPay}]\n"; } msg += $"{lang.SelectAbility}:"; return(msg); }
private static string GetWinMessage(PlayerGameContext winner, PlayerGameContext loser, User.Text lang) { string[] msg = { $"{winner.User.Name} ({winner.hero.Name}) {lang.HasWonThisBattle}!", $"{loser.User.Name} ({loser.hero.Name}) {lang.HasLostThisBattle}!", $"{winner.User.lang.Result}:", }; return(string.Join("\n", msg)); }