Add HazardZone tile tint config and state payload

This commit is contained in:
dingo
2026-02-11 15:00:04 -05:00
parent 0dfbfa75af
commit d4f467656d
9 changed files with 121 additions and 1 deletions
@@ -195,6 +195,19 @@
<input type="number" asp-for="Ability.SpeedModifier" class="input" step="0.1" />
<p class="text-xs text-gray-500 mt-1">0.5 = 50% slow</p>
</div>
<div>
<label class="label">Hazard Tint Color</label>
<div class="flex gap-2">
<input type="color" value="@Model.Ability.HazardTintColor" class="w-10 h-10 rounded border border-gray-700 bg-gray-800 cursor-pointer" oninput="document.getElementById('hazardTintColor').value=this.value" />
<input type="text" id="hazardTintColor" asp-for="Ability.HazardTintColor" class="input flex-1" />
</div>
<p class="text-xs text-gray-500 mt-1">Used by HazardZone tile tint</p>
</div>
<div>
<label class="label">Hazard Tint Opacity</label>
<input type="number" asp-for="Ability.HazardTintOpacity" class="input" step="0.01" min="0" max="1" />
<p class="text-xs text-gray-500 mt-1">0 = invisible, 1 = solid</p>
</div>
</div>
</div>