From 38900e0b291d5e0f59afaaa239cd237f733b6588 Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Tue, 26 Nov 2024 14:03:23 +0200 Subject: Dying properly --- src/scalevalapokalypsi/Model/SingEffects.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/scalevalapokalypsi/Model/SingEffects.scala') diff --git a/src/scalevalapokalypsi/Model/SingEffects.scala b/src/scalevalapokalypsi/Model/SingEffects.scala index 42f5188..23b7d37 100644 --- a/src/scalevalapokalypsi/Model/SingEffects.scala +++ b/src/scalevalapokalypsi/Model/SingEffects.scala @@ -10,4 +10,6 @@ class DefaultSingAttack(target: Entity) extends SingEffect(target): def apply(singQuality: Float): Event = this.target.takeDamage((singQuality * 50).toInt) // TODO: remove magic value val condition = this.target.condition - Event(Map.from(Vector((target, condition(0)))), condition(1)) + Event(Map.empty, "") // The conditions are automatically shown to + // clients through takeDamage, but other effects + // should explain the changes they have. -- cgit v1.2.3