diff --git a/common/combat/emitter.js b/common/combat/emitter.js index a5d33a6..c0c95ce 100644 --- a/common/combat/emitter.js +++ b/common/combat/emitter.js @@ -28,6 +28,11 @@ class DamageTextNode extends TextNode { } } + copyFrom(other) { + super.copyFrom(other); + this.span.style = other.span.style; + this.span.className = other.span.className; + } } export class DamageEmitter {