Giter VIP home page Giter VIP logo

Comments (6)

ichabod801 avatar ichabod801 commented on August 19, 2024

The creature id has to be stored as the creature's name. You can't store it's initiative order, because that could change before the end of combat.

from dm.

ichabod801 avatar ichabod801 commented on August 19, 2024

This will also required checking conditions for all creatures at the start and end of every creature's turn. It makes sense at that point to store the conditions globally, at least for ending them. But it still makes sense to store them locally for displaying creatures. However, creatures do not have a link back to the interface, and I don't want to add one to facilitate storing conditions.

But we will have to change storage. Do I want to change away from a dict? You could get stunned from two sources, and you would want to track those separately. So switch to a list of lists, rebuild it as you check it.

from dm.

ichabod801 avatar ichabod801 commented on August 19, 2024

Before moving forward, also consider changes to the con and uncon commands, think about how to handle the kill command, and specify changes to the update_conditons signature.

from dm.

ichabod801 avatar ichabod801 commented on August 19, 2024

Conditions do not necessarily stop when the source of them is killed. So leave that up to the user with uncon. I think the changes to the commands and signature are pretty obvious based on the syntax proposed in the first comment.

from dm.

ichabod801 avatar ichabod801 commented on August 19, 2024

Note that I will need to deal with groups as well.

Edit: No, that is all handled in get creature. But this is perhaps another issue. If one creature in a group has a condition, how is the DM/user made aware of that? Created issue #19 to deal with this.

from dm.

ichabod801 avatar ichabod801 commented on August 19, 2024

For the interface, I'm thinking dN to signify the duration of the condition. So d2 would last 2 rounds. Start and end can be handled as is, and anything else can be assumed to be the round it is checked.

from dm.

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.