removes need to pass BUC to effects
This commit is contained in:
parent
1d9cb04d1f
commit
db9e04069a
4 changed files with 18 additions and 15 deletions
|
|
@ -23,13 +23,13 @@ lazy_static! {
|
|||
|
||||
pub enum EffectType {
|
||||
Damage { amount: i32 },
|
||||
Healing { amount: i32, buc: BUC },
|
||||
Healing { amount: i32, increment_max: bool },
|
||||
Confusion { turns: i32 },
|
||||
Bloodstain,
|
||||
Particle { glyph: FontCharType, fg: RGB, bg: RGB, lifespan: f32, delay: f32 },
|
||||
EntityDeath,
|
||||
ItemUse { item: Entity },
|
||||
RestoreNutrition { buc: BUC },
|
||||
RestoreNutrition { amount: i32 },
|
||||
TriggerFire { trigger: Entity },
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue