sirpercival / PercivalsQuest

A python dungeoncrawler RPG
7 stars 5 forks source link

Subtle bug with Rings #7

Closed jgrigonis closed 10 years ago

jgrigonis commented 10 years ago

So, I had 4 ring of force. They should probably sell to the shop for 1500. In fact, when I just have 1 that's the case, however, when I have more than 1 they sell for 1 gold, and the inventory just says "Forces x4".

jgrigonis commented 10 years ago

It seems to occur with all rings. Note item 1.

Your current loot bag contains 6540 gp, and: 1. Avoidance x2 (1) 2. Ring of Basilisk (1500) 3. Ring of Berserking (1500) 4. Flail (250) 5. Ring of Force (1500) 6. Ring of Fury (1500) 7. Ring of Glibness (1500)

  1. Hatchet x2 (5) 9. Hide (5) 10. Ring of Intimidation (1500) 11. Jerkin (5) 12. Masterwork Jerkin (50) 13. Masterwork Studded (250) 14. Mithril Splintmail (250) 15. Ring of Protection (1500) 16. Sap (1) 17. Ring of Speed (1500) 18. Ring of Subtlety (1500) 19. Wounding Hatchet (250). Buy Item# [Amount], Sell Item# [Amount], or Leave.
sirpercival commented 10 years ago

ah, ok. i'll take a look at it.

sirpercival commented 10 years ago

found it! fixed, and repo'd