diff options
Diffstat (limited to 'src/componentwrapper.rs')
| -rw-r--r-- | src/componentwrapper.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/componentwrapper.rs b/src/componentwrapper.rs index 29bf39d..c553f61 100644 --- a/src/componentwrapper.rs +++ b/src/componentwrapper.rs @@ -24,7 +24,8 @@ use crate::{ Volatile, AttackMessage, Autofight, - MonsterAI + MonsterAI, + Mortal }, parameter::{Parameter, ParameterType} }; @@ -138,6 +139,7 @@ components!( Volatile (delay: Int) {Volatile{delay, end_time: None}}; Autofight () {Autofight::default()}; MonsterAI (move_chance: Float, homesickness: Float, view_distance: Int) {MonsterAI{move_chance, homesickness, view_distance}}; + Mortal () {Mortal}; ); |
