mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-05-24 23:31:34 -04:00
Spicy dampe
This commit is contained in:
@@ -189,12 +189,14 @@ void EnPoRelay_Race(EnPoRelay* this, PlayState* play) {
|
||||
Vec3f vec;
|
||||
f32 speed;
|
||||
f32 multiplier;
|
||||
int16_t minFireTimer = 8.0f;
|
||||
f32 chanceForFire = 1.0f;
|
||||
|
||||
if (this->actionTimer != 0) {
|
||||
this->actionTimer--;
|
||||
}
|
||||
if (this->actionTimer == 0 && Rand_ZeroOne() < 0.03f) {
|
||||
this->actionTimer = 32;
|
||||
if (this->actionTimer == 0 && Rand_ZeroOne() < chanceForFire) {
|
||||
this->actionTimer = minFireTimer;
|
||||
if (this->pathIndex < 23) {
|
||||
speed = Rand_ZeroOne() * 3.0f;
|
||||
if (speed < 1.0f) {
|
||||
|
||||
Reference in New Issue
Block a user