shaiwatcher/assets/docs/commands/PirateReportCog.encounter.details.html
Franz Rolfsvaag fdd336fe91 0.4.1.0.a1
- Doc site UI improvements and fixes
  - Added Discord widget
  - Fixed some styling issues
  - Added command docs briefs and details
    - Briefs are shown in the right-hand panel
    - Details can be shown by clicking `Open full details`
  - Added ShaiWatchers' logo as the site favicon
  - Moved HTML template to static file for responsiveness improvements
2025-08-15 06:17:52 +02:00

76 lines
3.0 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<h2 style="margin:0 0 .5rem 0">What it does</h2>
<p>
<code>/encounter</code> adds a single encounter to the pirates history. These entries feed the
threat score so the pirate list reflects how dangerous someone actually is right now.
</p>
<hr>
<h2 style="margin:.75rem 0 .5rem">Form fields</h2>
<ul>
<li><b>Pirate (name or account)</b><br>
Best: <code>Name#12345</code>. If you only know the character name, it must match exactly and not be ambiguous.
</li>
<li><b>Group size</b><br>
Integer <b>≥ 1</b>. How many pirates were in their group, including the reported pirate.
</li>
<li><b>Kills</b><br>
Integer <b>≥ 0</b>. Use 0 for none/unknown.
</li>
<li><b>Destructive?</b><br>
<code>yes</code>/<code>no</code>. “Yes” if a base/ornithopter was destroyed, etc.
</li>
<li><b>Perceived Skill</b><br>
<b>05</b>. Use 0 if youre unsure. 5 = cracked aim/sweaty movement, 12 = casual.
</li>
</ul>
<div class="usage" style="margin:.6rem 0 0">
/encounter MuadDib#12345 · group 3 · kills 1 · destructive yes · skill 4
</div>
<hr>
<h2 style="margin:.75rem 0 .5rem">Validation & messages</h2>
<ul>
<li>If the account format is wrong, youll be told what to fix (<code>Name#12345</code> ending with five digits).</li>
<li>Character names must be an exact match. If multiple pirates share that name, youll be asked to use the account.</li>
<li><b>Rate limit:</b> one report per user per pirate every <b>10 minutes</b>.</li>
<li>Youll see a private <b>“Encounter recorded”</b> confirmation on success.</li>
</ul>
<hr>
<h2 style="margin:.75rem 0 .5rem">How threat is calculated (short)</h2>
<p>
Each encounter contributes to a weighted score (0100):
</p>
<ul>
<li><b>Kills</b>: higher if the pirate gets kills.</li>
<li><b>Destructive</b>: higher if they destroy stuff.</li>
<li><b>Group size</b>: higher if they roll with <code>group ≥ T</code> (T comes from config).</li>
<li><b>Skill</b>: your 05 rating normalized and averaged across encounters.</li>
</ul>
<p>
The weights are configurable (defaults: Kill 0.35, Destruction 0.30, Group 0.20, Skill 0.15). After you submit,
the bot recomputes the pirates <b>threat level</b> and <b>encounter count</b>, then refreshes the list.
</p>
<hr>
<h2 style="margin:.75rem 0 .5rem">Tips</h2>
<ul>
<li>Use the account (<code>Name#12345</code>) whenever possible — it guarantees the report hits the right person.</li>
<li>If you cant tell skill, leave it at 0. Thats fine.</li>
<li>Group size includes the pirate youre reporting.</li>
</ul>
<hr>
<h2 style="margin:.75rem 0 .5rem">Common errors</h2>
<ul>
<li><b>“No such pirate registered.”</b> — Ask a mod to add them, or submit a <code>/report</code> first.</li>
<li><b>“Character name is ambiguous.”</b> — Use the account tag (<code>Name#12345</code>).</li>
<li><b>“You can only report the same pirate once every 10 minutes.”</b> — Wait a bit and try again.</li>
</ul>