aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/dulkirmod/features/dungeons/DragonFeatures.kt
diff options
context:
space:
mode:
authoringlettronald <inglettronald@gmail.com>2023-07-15 23:07:15 -0500
committeringlettronald <inglettronald@gmail.com>2023-07-15 23:07:15 -0500
commit69db365139428bd0c433ccbb9d31dfded7216572 (patch)
treee0f06d3f55b2e451489187eddaf531848f360505 /src/main/kotlin/dulkirmod/features/dungeons/DragonFeatures.kt
parent7ce99bd61bb8cbcd4f4bc81a2325bfa26847baf1 (diff)
downloadDulkirMod-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.kt2
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()
}
}