Implements struggle.

This commit is contained in:
2022-09-10 13:08:44 +02:00
parent 349dafcb4b
commit 156b4e146d
4 changed files with 59 additions and 0 deletions

View File

@@ -291,6 +291,8 @@ pub enum DamageSource {
MoveDamage = 0,
/// The damage is done by something else.
Misc = 1,
/// The damage is done because of struggling.
Struggle = 2,
}
crate::handling::cacheable::cacheable!(Pokemon);