Adds HealEachEndOfTurn effect, move common usings for scripts to separate file
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-01-28 13:59:54 +01:00
parent 44a169cba7
commit 2df5feab26
28 changed files with 153 additions and 105 deletions

View File

@@ -14,6 +14,7 @@ pub use capabilities::*;
#[cfg(not(feature = "mock_data"))]
pub(crate) use cacheable::Cacheable;
pub use script::Script;
pub use script::ScriptOwner;
#[repr(u8)]
pub enum ScriptCategory {

View File

@@ -410,6 +410,7 @@ impl ScriptOwner {
Some(ScriptOwner::Battle(Rc::new(r.unwrap())))
}
}
3 => None,
_ => panic!("Unknown script owner kind: {}", kind),
}
}