Revert "changed boons to bool since all boons go to 5 people"

This reverts commit c14e676029.
This commit is contained in:
t.ruspekhofer 2022-03-08 13:51:33 +01:00
parent ebbf458425
commit 318f289d5c
4 changed files with 52 additions and 44 deletions

View file

@ -24,26 +24,26 @@
<p>
<label>
<InputCheckbox @bind-Value="_build.Might" />
Might
Might:
<InputNumber @bind-Value="_build.Might" />
</label>
</p>
<p>
<label>
<InputCheckbox @bind-Value="_build.Quickness" />
Quickness
Quickness:
<InputNumber @bind-Value="_build.Quickness" />
</label>
</p>
<p>
<label>
<InputCheckbox @bind-Value="_build.Alacrity" />
Alacrity
Alacrity:
<InputNumber @bind-Value="_build.Alacrity" />
</label>
</p>
<p>
<label>
<InputCheckbox @bind-Value="_build.Heal" />
Heal
Heal:
<InputNumber @bind-Value="_build.Heal" />
</label>
</p>

View file

@ -35,10 +35,10 @@
</td>
<td>@build.Class.ToString()</td>
<td>@build.EliteSpecialization.ToString()</td>
<td><input type="checkbox" checked="@(build.Might)" disabled="disabled" /></td>
<td><input type="checkbox" checked="@(build.Heal)" disabled="disabled" /></td>
<td><input type="checkbox" checked="@(build.Quickness)" disabled="disabled" /></td>
<td><input type="checkbox" checked="@(build.Alacrity)" disabled="disabled" /></td>
<td>@build.Might.ToString()</td>
<td>@build.Heal.ToString()</td>
<td>@build.Quickness.ToString()</td>
<td>@build.Alacrity.ToString()</td>
</tr>
}
</table>

View file

@ -70,10 +70,10 @@
<td>@build.BuildName</td>
<td>@build.Class.ToString()</td>
<td>@build.EliteSpecialization.ToString()</td>
<td><input type="checkbox" checked="@(build.Might)" disabled="true" /></td>
<td><input type="checkbox" checked="@(build.Heal)" disabled="true" /></td>
<td><input type="checkbox" checked="@(build.Quickness)" disabled="true" /></td>
<td><input type="checkbox" checked="@(build.Alacrity)" disabled="true" /></td>
<td><input type="checkbox" checked="@(build.Might > 0)" disabled="true" /></td>
<td><input type="checkbox" checked="@(build.Heal > 0)" disabled="true" /></td>
<td><input type="checkbox" checked="@(build.Quickness > 0)" disabled="true" /></td>
<td><input type="checkbox" checked="@(build.Alacrity > 0)" disabled="true" /></td>
</tr>
}
</table>