tiny visual tweaks - deepwater glyph and magic missile particle

This commit is contained in:
Llywelwyn 2023-07-29 20:30:50 +01:00
parent b4c80b919e
commit e937994439
2 changed files with 2 additions and 4 deletions

View file

@ -284,11 +284,9 @@ impl<'a> System<'a> for ItemUseSystem {
Some(damage) => {
let target_point = wants_to_use.target.unwrap();
if !aoe_item {
particle_builder.request_star(
particle_builder.request_rainbow_star(
target_point.x,
target_point.y,
rltk::RGB::named(rltk::CYAN),
rltk::RGB::named(rltk::BLACK),
rltk::to_cp437('*'),
DEFAULT_PARTICLE_LIFETIME,
);

View file

@ -79,7 +79,7 @@ pub fn get_tile_glyph(idx: usize, map: &Map) -> (rltk::FontCharType, RGB, RGB) {
bg = RGB::from_u8(24, 47, 99);
}
TileType::DeepWater => {
glyph = rltk::to_cp437('~');
glyph = rltk::to_cp437('');
bg = RGB::from_u8(18, 33, 63);
}
}