mirror of
https://gitlab.com/veloren/veloren.git
synced 2025-07-25 12:52:26 +00:00
9 lines
210 B
Rust
9 lines
210 B
Rust
use crate::comp;
|
|
|
|
/// An effect that may be applied to an entity
|
|
#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
|
|
pub enum Effect {
|
|
Health(i32, comp::HealthSource),
|
|
Xp(i64),
|
|
}
|