uicrafting: reset scroll when opening

This commit is contained in:
minjaesong
2024-02-12 22:11:02 +09:00
parent 43a5014564
commit 3e3c1078d7
3 changed files with 7 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ object Calculate {
* TODO Newtons as unit?
*/
@JvmStatic fun pickaxePower(actor: ActorWithBody, material: Material?): Float {
return (4.0 * (material?.forceMod?.toDouble() ?: 0.15) * (actor.avStrength / 1000.0)).toFloat()
return (6.0 * (material?.forceMod?.toDouble() ?: 0.15) * (actor.avStrength / 1000.0)).toFloat()
}
@JvmStatic fun hatchetPower(actor: ActorWithBody, material: Material?): Float {