MoripaFishing
Toggle table of contents
VersionPlaceholder
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
MoripaFishing
api
/
party.morino.moripafishing.api.core.fish
/
FishDrawPool
/
setRarityWeight
set
Rarity
Weight
fun
setRarityWeight
(
rarity
:
RarityId
,
weight
:
Double
)
:
Boolean
レアリティの重みを設定する。
Return
設定した場合
true
、候補外のレアリティなら
false
Parameters
rarity
レアリティの ID
weight
新しい重み。有限かつ 0 以上
Throws
Illegal
Argument
Exception
weight
が不正な場合