class CombatSequence extends HTMLElement { constructor() { super(); this.attachShadow({ mode: 'open' }); } connectedCallback() { this.render(); } static get observedAttributes() { return ['sequence-id', 'accuracy', 'hits', 'shots', 'suspicion']; } attributeChangedCallback(name, oldValue, newValue) { if (oldValue !== newValue) { this.render(); } } render() { this.shadowRoot.innerHTML = `