@if (Entity.IdPyreSpells().Count > 0) { @foreach (var pyreSpell in Entity.IdPyreSpells()) { var spell = EntityModel.Get(pyreSpell.Id); var info = spell.Info(); var production = spell.Production();
Name:
Description: @((MarkupString)info.Description)
@if (production != null) { if (production.Pyre != 0) { Pyre: @production.Pyre } if (production.BuildTime != 0) { BuildTime: @production.BuildTime } if (production.Cooldown != 0) { Cooldown: @production.Cooldown } }
}
} @code { [Parameter] public EntityModel Entity { get; set; } }