bloodsplosion

This commit is contained in:
Llywelwyn 2023-10-11 17:33:51 +01:00
parent 1de0c20b76
commit 465cd51a60
8 changed files with 112 additions and 89 deletions

View file

@ -295,13 +295,6 @@ impl<'a> System<'a> for MeleeCombatSystem {
);
}
}
// TODO: Take out these animations (and for missing too), and turn
// them into effects - can use the damage type that gets passed in
// to determine the effect, colour, etc.
let pos = positions.get(wants_melee.target);
if let Some(pos) = pos {
particle_builder.damage_taken(pos.x, pos.y);
}
add_effect(
Some(entity),
EffectType::Damage { amount: damage, damage_type: weapon_info.damage_type },