@if (Entity.IdPassives().Count > 0) { @foreach (var idPassive in Entity.IdPassives()) { var passive = EntityModel.Get(idPassive.Id); var info = passive.Info(); var production = passive.Production();
Name: @info.Name
Description: @((MarkupString)info.Description)
@if (!info.Notes.Trim().Equals("")) {
Description: @((MarkupString)info.Notes)
}
@if (production != null) {
@if (production.Pyre != 0) {
Pyre: @production.Pyre
} @if (production.Cooldown != 0) {
Cooldown: @production.Cooldown.ToString()s
}
} }
} @code { [Parameter] public EntityModel Entity { get; set; } }