forked from 2009Scape/Server
Abyss obstacle success rate is now 100% at level 99 (instead of 99%)
This commit is contained in:
parent
8f7683aee4
commit
c70c292943
1 changed files with 1 additions and 2 deletions
|
|
@ -265,8 +265,7 @@ class AbyssPlugin : InteractionListener {
|
|||
override fun pulse(): Boolean {
|
||||
when (count++) {
|
||||
1 -> sendMessage(player, messages[0])
|
||||
3 -> return if (RandomFunction.random(100) < getStatLevel(player,skill)
|
||||
) {
|
||||
3 -> return if (RandomFunction.random(100) < getStatLevel(player,skill)+1) {
|
||||
sendMessage(player, colorize("%G${messages[1]}"))
|
||||
if(varbitVal != null) { setVarbit(player, 625, varbitVal) }
|
||||
false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue