Code Monkey home page Code Monkey logo

Comments (3)

canismarko avatar canismarko commented on June 1, 2024

Thanks for submitting this issue and including a way to fix it. I fixed the master branch, but haven't updated PyPI yet.

It occurred to me that this is all or nothing: you can't have a magic item that, for example, grants +1 to strength saving throws only. I'm not sure if that's a problem or not. @bw-mutley: are you aware of any magic items that grant bonuses to only some saving throws?

from dungeon-sheets.

bw-mutley avatar bw-mutley commented on June 1, 2024

Hi there, @canismarko , I am glad to be of help.

are you aware of any magic items that grant bonuses to only some saving throws?

I use only Tasha's and DMG in my sessions, and don't recall of any items wich would add only to a specific saving throw. But I'm aware of many magic items which add to DC dificult of spellcasters. Anyway, a more flexible approach to this problem would be to add a _magic_items_bonuses method to Character class which would parse them all.

...but haven't updated PyPI yet.

Maybe it is better this way, I have more enhancements in mind. Some of them are mentioned here: #92 . But also, for a better use of M. Savage template, I've come to some others, one of them is to simplify the display of proficiencies, separating them as armor, weapon and tools. I am planning to work on it next saturday.

from dungeon-sheets.

canismarko avatar canismarko commented on June 1, 2024

Anyway, a more flexible approach to this problem would be to add a _magic_items_bonuses method to Character class which would parse them all.

I think we'll eventually need some property on the magic item itself that gets called at the right time. Something like Amulet of the Devout from Tasha's seems like it needs even more flexibility than _magic_item_bonuses could provide. I'm going to open a new issue for this.

from dungeon-sheets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.