@if (this._viewModel.Definition?.MaximumItemLevel > 0)
{
}
@if (this.Item.IsWearable())
{
}
else if (this.Item.IsStackable())
{
}
@if (this._viewModel.Definition?.IsTrainablePet() ?? false)
{
}
@if (this.Item.CanHaveSkill())
{
}
@if (this._viewModel.PossibleLuckOption is not null)
{
}
@if (this._viewModel.PossibleAncientSets.Any())
{
@if (this._viewModel.AncientBonus is { } ancientBonus)
{
@MUnique.OpenMU.Web.Shared.Properties.Resources.Bonus: @ancientBonus
}
}
@if (this._viewModel.PossibleExcellentOptions.Any())
{
}
@if (this._viewModel.PossibleWingOptions.Any())
{
}
@if (this._viewModel.PossibleNormalOptions.Any())
{
@if (this._viewModel.PossibleNormalOptions.Count() > 1)
{
}
else
{
}
@if (this._viewModel.NormalOptionLink is { } optionLink
&& optionLink.ItemOption?.LevelDependentOptions.Max(o => o.Level) is { } maxLevel and > 1)
{
}
}
@if (this._viewModel.PossibleHarmonyOptions.Any())
{
@if (this._viewModel.HarmonyOptionLink is { } optionLink
&& optionLink.ItemOption?.LevelDependentOptions.Count > 1
&& optionLink.ItemOption?.LevelDependentOptions.Max(o => o.Level) is { } maxLevel and > 1
&& optionLink.ItemOption?.LevelDependentOptions.Min(o => o.Level) is { } minLevel and >= 0)
{
}
}
@if (this._viewModel.Definition?.MaximumSockets > 0)
{
@foreach(var socket in _viewModel.Sockets.Where(s => s.SocketIndex < this._viewModel.SocketCount))
{
-
@if (socket.Option is { } socketOption)
{
}
else
{
}
}
}
@if (this._viewModel.PossibleSocketBonusOptions.Any())
{
}
@if (this._viewModel.PossibleFenrirOptions.Any())
{
}
@if (this._viewModel.PossibleGuardianOption is { })
{
}
@if (this.OnValidSubmit.HasDelegate)
{
}
@if (this.OnCancel.HasDelegate)
{
}