MCPcopy Create free account
hub / github.com/cping/LGame / chanceRoll

Method chanceRoll

Java/Loon-Neo/src/loon/utils/MathUtils.java:3268–3270  ·  view source on GitHub ↗

返回一个概率事件在100%范围是否被触发的布尔值 @param chance>0 && <100 @return

(final float chance)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

stopMethod · 0.95
createMethod · 0.95
isSuccessMethod · 0.95

Calls 1

randomMethod · 0.95

Tested by 2

stopMethod · 0.76
createMethod · 0.76