Battlestaves cost 7k from zaff.
This commit is contained in:
@@ -84,3 +84,4 @@
|
|||||||
- Static clue drop ids replaced with their level appropriate proxy values
|
- Static clue drop ids replaced with their level appropriate proxy values
|
||||||
- Fix a bug where clue scrolls were rerolled to easy for most NPCs
|
- Fix a bug where clue scrolls were rerolled to easy for most NPCs
|
||||||
- Allow renewing summoning familiars, and make bobs drop items on dismissal even if their owners are ironmen.
|
- Allow renewing summoning familiars, and make bobs drop items on dismissal even if their owners are ironmen.
|
||||||
|
- Battlestaves cost 7k from zaff.
|
||||||
|
|||||||
@@ -388,7 +388,7 @@ class ZaffPlugin : OptionHandler() {
|
|||||||
interpreter.sendDialogues(
|
interpreter.sendDialogues(
|
||||||
546,
|
546,
|
||||||
FacialExpression.HALF_GUILTY,
|
FacialExpression.HALF_GUILTY,
|
||||||
"Battlestaves cost 8,000 gold pieces each. I have ${maxStaffs - ammount} left.",
|
"Battlestaves cost 7,000 gold pieces each. I have ${maxStaffs - ammount} left.",
|
||||||
"How many would you like to buy?"
|
"How many would you like to buy?"
|
||||||
)
|
)
|
||||||
stage = 1
|
stage = 1
|
||||||
@@ -397,7 +397,7 @@ class ZaffPlugin : OptionHandler() {
|
|||||||
ammount = getStoreFile().getInt(player.username.toLowerCase())
|
ammount = getStoreFile().getInt(player.username.toLowerCase())
|
||||||
var amt = value as Int
|
var amt = value as Int
|
||||||
if(amt > maxStaffs - ammount) amt = maxStaffs - ammount
|
if(amt > maxStaffs - ammount) amt = maxStaffs - ammount
|
||||||
val coinage = amt * 8000
|
val coinage = amt * 7000
|
||||||
if(!inInventory(player, Items.COINS_995, coinage)){
|
if(!inInventory(player, Items.COINS_995, coinage)){
|
||||||
sendDialogue(player, "You can't afford that many.")
|
sendDialogue(player, "You can't afford that many.")
|
||||||
return@sendInputDialogue
|
return@sendInputDialogue
|
||||||
|
|||||||
Reference in New Issue
Block a user