public override string GetAlertMessage(WeatherLevel weatherLevel) { switch (weatherLevel) { case WeatherLevel.Medium: return(AlertMessageMedium); case WeatherLevel.Heavy: return(AlertMessageHeavy); default: return(AlertMessageLight); } }
public override string GetDamageModifier(WeatherLevel weatherLevel) { switch (weatherLevel) { case WeatherLevel.Medium: return(DamageModifierMedium); case WeatherLevel.Heavy: return(DamageModifierHeavy); default: return(DamageModifierLight); } }
public override string GetDescription(WeatherLevel weatherLevel) { switch (weatherLevel) { case WeatherLevel.Medium: return(DescriptionMedium); case WeatherLevel.Heavy: return(DescriptionHeavy); default: return(DescriptionLight); } }
public override string GetCardName(WeatherLevel weatherLevel) { switch (weatherLevel) { case WeatherLevel.Medium: return(CardNameMedium); case WeatherLevel.Heavy: return(CardNameHeavy); default: return(CardNameLight); } }
public override string GetEffectKeyword(WeatherLevel weatherLevel) { switch (weatherLevel) { case WeatherLevel.Medium: return(EffectKeywordMedium); case WeatherLevel.Heavy: return(EffectKeywordHeavy); default: return(EffectKeywordLight); } }
public abstract string GetDamageModifier(WeatherLevel weatherLevel);
public static Card CreateWeatherCard(BaseWeatherSpecialist weatherSpecialist, WeatherLevel weatherLevel, Rarity rarity, CardData CardData, Deck ActiveDeck) { Card card = CardData.AddCard(ActiveDeck); card.Rarity = rarity; card.Name = $"Change Weather - {weatherSpecialist.GetCardName(weatherLevel)}"; card.StylePath = "PreMade"; card.Description = $"{weatherSpecialist.GetDescription(weatherLevel)}"; card.AdditionalInstructions = "Lasts one minute if this card is played out of battle, or one round if played during battle."; card.AlertMessage = weatherSpecialist.GetAlertMessage(weatherLevel); card.CardPlayed = $"QueueEffect(\"Weather\", CardUserName, \"{weatherSpecialist.GetCardName(weatherLevel)}\", \"{weatherSpecialist.GetEffectKeyword(weatherLevel)}\", \"{weatherSpecialist.GetDamageModifier(weatherLevel)}\");\n" + $"TellAll($\"{weatherSpecialist.GetCardPlayedMessage(weatherLevel)}\");"; CardFactory.QuickAddAllLayerDetails(card); SetWeatherLayerVisibilities(card, weatherSpecialist.GetImageLayerName(), (int)weatherLevel); return(card); }
public abstract string GetEffectKeyword(WeatherLevel weatherLevel);
public abstract string GetCardName(WeatherLevel weatherLevel);
public abstract string GetCardPlayedMessage(WeatherLevel weatherLevel);
public abstract string GetAlertMessage(WeatherLevel weatherLevel);
public abstract string GetDescription(WeatherLevel weatherLevel);