mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-08-18 17:53:29 +00:00
news modal fill-in
This commit is contained in:
+1
-1
@@ -76,7 +76,7 @@ class Client {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Comment out to show news button.
|
// Comment out to show news button.
|
||||||
newsButton.hidden = true;
|
//newsButton.hidden = true;
|
||||||
|
|
||||||
const langSelector = document.querySelector(
|
const langSelector = document.querySelector(
|
||||||
"lang-selector",
|
"lang-selector",
|
||||||
|
|||||||
+14
-1
@@ -36,7 +36,20 @@ export class NewsModal extends LitElement {
|
|||||||
<div class="options-layout">
|
<div class="options-layout">
|
||||||
<div class="options-section">
|
<div class="options-section">
|
||||||
<div class="news-container">
|
<div class="news-container">
|
||||||
<div class="news-content">INSERT NEWS HERE</div>
|
<div class="news-content">
|
||||||
|
<h3>Combat Mechanics Update</h3>
|
||||||
|
<p>
|
||||||
|
Attack speed is influenced by the size of the attacking army,
|
||||||
|
terrain type, defender strength, and presence of a defense
|
||||||
|
post. Defender losses are based on their troop density (as
|
||||||
|
shown by the shield), while attacker losses are proportional
|
||||||
|
to defender losses and further affected by terrain, defense
|
||||||
|
posts, and whether the defender is a traitor.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
The shield icon represents density: number of Troops per tile.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user