ff14-mitigator/templates/event-explorer.php
xziino 399e5fad93 Add analysis features: HP bars, death highlight, mitigation via buffs field, Event Explorer
- HP bar per player in AoE timeline (3-segment: remaining/damage/missing)
- Death highlight: red border + background when hp === 0
- Mitigation tracking refactored to read buffs field directly from damage events
  instead of separate applybuff/removebuff window tracking (simpler, more accurate)
- Mitigations are now per-target instead of per-event
- Add Magick Barrier to tracked mitigation abilities
- Player filter text input above AoE timeline
- Player cards as toggle buttons; tanks hidden by default; sorted Healer→DPS→Tank
- Fix Temperance double-display (dedup by name instead of abilityId)
- Event Explorer in Report tab: DataType, raw event type, ability, player dropdowns,
  limit, time range; abilities and players loaded on fight select
- Fight percentage display fix (was divided by 100 twice)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 14:58:10 +02:00

69 lines
2.3 KiB
PHP

<div class="card section-gap" id="event-explorer-card" style="display:none">
<div class="card-title">Event Explorer</div>
<div class="explorer-grid">
<div class="form-group">
<label for="ex-ability">Ability</label>
<select id="ex-ability">
<option value="">Alle</option>
</select>
</div>
<div class="form-group">
<label for="ex-data-type">DataType</label>
<select id="ex-data-type">
<option value="DamageTaken">DamageTaken</option>
<option value="DamageDone">DamageDone</option>
<option value="Healing">Healing</option>
<option value="Casts">Casts</option>
<option value="Buffs">Buffs</option>
<option value="Deaths">Deaths</option>
</select>
</div>
<div class="form-group">
<label for="ex-event-type">Event-Typ (raw)</label>
<select id="ex-event-type">
<option value="">Alle</option>
<option value="damage" selected>damage</option>
<option value="calculateddamage">calculateddamage</option>
<option value="heal">heal</option>
<option value="calculatedheal">calculatedheal</option>
<option value="cast">cast</option>
<option value="begincast">begincast</option>
<option value="applybuff">applybuff</option>
<option value="removebuff">removebuff</option>
<option value="refreshbuff">refreshbuff</option>
<option value="applydebuff">applydebuff</option>
<option value="removedebuff">removedebuff</option>
<option value="death">death</option>
<option value="resurrect">resurrect</option>
</select>
</div>
<div class="form-group">
<label for="ex-player-name">Spieler</label>
<select id="ex-player-name">
<option value="">Alle</option>
</select>
</div>
<div class="form-group">
<label for="ex-limit">Limit</label>
<input type="number" id="ex-limit" value="20" min="1" max="500">
</div>
<div class="form-group">
<label for="ex-start-offset">Von (Sek.)</label>
<input type="number" id="ex-start-offset" placeholder="0" min="0">
</div>
<div class="form-group">
<label for="ex-end-offset">Bis (Sek.)</label>
<input type="number" id="ex-end-offset" placeholder="Ende" min="0">
</div>
</div>
<button id="ex-load-btn" class="btn">Laden</button>
</div>