Cleaned up UI code. Removed stuff added for testing. Added 10% for melee attacks to inflict a bleeding debuff. Renamed BuffId to BuffKind. Fixed memory leak. Set event emission to false when timer is decremented.

This commit is contained in:
Sam
2020-10-18 22:00:35 -05:00
parent fdf8decb18
commit 337cf6e137
20 changed files with 351 additions and 337 deletions

View File

@ -1,5 +1,5 @@
use crate::{
comp::{inventory::slot::Slot, BuffId},
comp::{inventory::slot::Slot, BuffKind},
sync::Uid,
util::Dir,
};
@ -41,7 +41,7 @@ pub enum ControlEvent {
Unmount,
InventoryManip(InventoryManip),
GroupManip(GroupManip),
RemoveBuff(BuffId),
RemoveBuff(BuffKind),
Respawn,
}