Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
XeContrast committed Nov 2, 2024
1 parent 5853616 commit 5848f24
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ class FamousCheck : Module() {
HackerData("RN_","Random_Name"),
HackerData("DouSha","豆沙"),
HackerData("Zekruin","蒸菜icu"),
HackerData("nerock","河南猪"),
HackerData("weipu","Weipu42"),

HackerData("Yao_Mao"),
HackerData("Bad_Smoke"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ object Velocity : Module() {
//GrimVertical
private var attack = false
private var motionXZ = 0.0
var lastSprinting = false
private var lastSprinting = false

//Matrix
private var flag = false
Expand Down Expand Up @@ -553,7 +553,7 @@ object Velocity : Module() {
}
}

"intavereduce", "attackreduce", "grimvertical" -> hasReceivedVelocity = true
"intavereduce", "attackreduce", "grimvertical","kkcraft" -> hasReceivedVelocity = true

"phase" -> {
if (packet is S12PacketEntityVelocity) {
Expand Down Expand Up @@ -838,9 +838,17 @@ object Velocity : Module() {
}

"kkcraft" -> {
if (player.hurtTime in 1..7 && player.isSwingInProgress) {
player.motionX *= reduceAmount.get()
player.motionZ *= reduceAmount.get()
if (hasReceivedVelocity) {
if (player.hurtTime in 1..8) {
player.motionX *= reduceAmount.get()
player.motionZ *= reduceAmount.get()
}
if (player.hurtTime == 2 && player.onGround) {
player.jump()
player.motionX *= 0.3
player.motionZ *= 0.3
hasReceivedVelocity = false
}
}
}

Expand Down

0 comments on commit 5848f24

Please sign in to comment.