diff options
| author | troido <troido@protonmail.com> | 2020-03-02 22:28:03 +0100 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-03-02 22:28:03 +0100 |
| commit | 22168c8eedac95fdfde9a536a1d1f6ddf622cfa1 (patch) | |
| tree | 6870bff418367fc635d64b58b3921d85ee0dbbb0 /src/componentwrapper.rs | |
| parent | 27c0795fb70739ce5609a0f424d80491d4a8c5a1 (diff) | |
added purgatory
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}; ); |
