Match ActorBlast and progress on ActorItemBoomerang and ActorItemTornado (#160)

* ActorBlast OK

* ActorItemBoomerang 99%

* ActorItemTornado 99%
This commit is contained in:
Yanis
2026-10-09 21:23:20 +02:00
committed by GitHub
parent e352f6da0a
commit 079958c2a3
61 changed files with 752 additions and 509 deletions
+12
View File
@@ -31,6 +31,18 @@ struct Timer {
return true;
}
bool HasExpiredAlt() {
bool ret = false;
if (this->value >= this->max) {
ret = true;
} else {
this->value++;
}
return ret;
}
void Set(u16 value, u16 max) {
this->max = max;
this->value = value;