diff options
author | inglettronald <inglettronald@gmail.com> | 2023-07-15 23:07:15 -0500 |
---|---|---|
committer | inglettronald <inglettronald@gmail.com> | 2023-07-15 23:07:15 -0500 |
commit | 69db365139428bd0c433ccbb9d31dfded7216572 (patch) | |
tree | e0f06d3f55b2e451489187eddaf531848f360505 /src/main/kotlin/dulkirmod/features/dungeons/DragonFeatures.kt | |
parent | 7ce99bd61bb8cbcd4f4bc81a2325bfa26847baf1 (diff) | |
download | DulkirMod-69db365139428bd0c433ccbb9d31dfded7216572.tar.gz DulkirMod-69db365139428bd0c433ccbb9d31dfded7216572.tar.bz2 DulkirMod-69db365139428bd0c433ccbb9d31dfded7216572.zip |
Added basic slayer tracker
Diffstat (limited to 'src/main/kotlin/dulkirmod/features/dungeons/DragonFeatures.kt')
-rw-r--r-- | src/main/kotlin/dulkirmod/features/dungeons/DragonFeatures.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/dulkirmod/features/dungeons/DragonFeatures.kt b/src/main/kotlin/dulkirmod/features/dungeons/DragonFeatures.kt index 8709497..0c2b12f 100644 --- a/src/main/kotlin/dulkirmod/features/dungeons/DragonFeatures.kt +++ b/src/main/kotlin/dulkirmod/features/dungeons/DragonFeatures.kt @@ -62,7 +62,7 @@ object DragonFeatures { val particleVec = Vec3(x, y, z) dragons.forEach { - if (System.currentTimeMillis() - it.spawnTime < 10000 || !inRangeOf(it.color, particleVec)) return@forEach + if (System.currentTimeMillis() - it.spawnTime < 7000 || !inRangeOf(it.color, particleVec)) return@forEach it.spawnTime = System.currentTimeMillis() } } |