mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-10 10:20:41 -07:00
Making sets of bolts, arrows and headless arrows no longer continues indefinitely
This commit is contained in:
parent
fff1476714
commit
affb2e58e9
1 changed files with 6 additions and 1 deletions
|
|
@ -147,10 +147,15 @@ open class SkillDialogueHandler(
|
||||||
|
|
||||||
override fun getAmount(handler: SkillDialogueHandler, buttonId: Int): Int {
|
override fun getAmount(handler: SkillDialogueHandler, buttonId: Int): Int {
|
||||||
return when(buttonId){
|
return when(buttonId){
|
||||||
|
// "Continue" Option
|
||||||
|
5 -> 1
|
||||||
|
// "Make 1 set" Option
|
||||||
4 -> 1
|
4 -> 1
|
||||||
|
// "Make 5 sets" Option
|
||||||
3 -> 5
|
3 -> 5
|
||||||
|
// "Make 10 sets" Option
|
||||||
2 -> 10
|
2 -> 10
|
||||||
else -> handler.getAll(getIndex(handler, buttonId))
|
else -> 10
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue