mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-18 06:24:06 +09:00
:PunchTrees:
This commit is contained in:
@@ -26,7 +26,7 @@ object Calculate {
|
||||
}
|
||||
|
||||
@JvmStatic fun hatchetPower(actor: ActorWithBody, material: Material?): Float {
|
||||
return (8.0 * (material?.forceMod?.toDouble() ?: 1.0).sqrt() * (actor.avStrength / 1000.0)).toFloat()
|
||||
return (1.0 * (material?.forceMod?.toDouble() ?: 1.0).sqrt() * (actor.avStrength / 1000.0)).toFloat()
|
||||
}
|
||||
|
||||
private val fallDamageDampenMult = (32.0 / 1176.0).sqr()
|
||||
|
||||
13
src/net/torvald/terrarum/itemproperties/Item.kt
Normal file
13
src/net/torvald/terrarum/itemproperties/Item.kt
Normal file
@@ -0,0 +1,13 @@
|
||||
package net.torvald.terrarum.itemproperties
|
||||
|
||||
/**
|
||||
* Created by minjaesong on 2023-11-13.
|
||||
*/
|
||||
object Item {
|
||||
|
||||
const val TREE_STICK = "item@basegame:18"
|
||||
|
||||
const val TREE_SEED_OAK = "item@basegame:160"
|
||||
const val TREE_LOGS_OAK = "item@basegame:168"
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user