Giter VIP home page Giter VIP logo

Comments (15)

valentine195 avatar valentine195 commented on August 28, 2024 2

Thanks for letting me know! I believe I have identified the bug, will have a fix out in the next few days once I get a chance to work on it.

from initiative-tracker.

valentine195 avatar valentine195 commented on August 28, 2024

Is this still an issue?

Both players and monsters show their modifiers correctly for me.

from initiative-tracker.

umiaki avatar umiaki commented on August 28, 2024

Updated all plugins and obsidian, but I still see only +0 in the initiative.
So what am I doing wrong?

I have a note with header (it's first thing in there):


hp: 17
ac: 15
modifier: 3

I then added a new player in settings using this note - all the fields from the note are loaded and player is saved.
The mod formula is the default 1d20 + %mod%

I create an encounter:

name: What's for breakfast
players: true
creatures:
 - 2: Small Reef Shark

And when starting it, it does not work - shows X + 0 for everyone.

And I can see 3 monsters synced from Statblock but they are not listed in Initiative settings. Not sure where to put initiative modifier in the creature statblock definition either.

from initiative-tracker.

valentine195 avatar valentine195 commented on August 28, 2024

Okay I will look into this. Thank you. Sorry it’s taking so long!

from initiative-tracker.

umiaki avatar umiaki commented on August 28, 2024

No worries, thank a lot for creating this plugin, it's awesome!

from initiative-tracker.

valentine195 avatar valentine195 commented on August 28, 2024

If you wouldn’t mind, could you take a look at the data file for the plugin and see if the modifier is in there for the players correctly?

it will be located in <vault>/.obsidian/obsidian-initiative-tracker/data.json

from initiative-tracker.

umiaki avatar umiaki commented on August 28, 2024

I will once I get home, don't know where to find it on androud. But since it is showing correctly in settings as stored player, I would assume it is ok in there?

from initiative-tracker.

valentine195 avatar valentine195 commented on August 28, 2024

Yes, probably is. Thanks though!

from initiative-tracker.

umiaki avatar umiaki commented on August 28, 2024

{
"players": [
{
"note": "Steboup",
"name": "Steboup",
"ac": 15,
"hp": 17,
"modifier": 3,
"player": true
}
],
"homebrew": [],
"version": null,
"canUseDiceRoll": false,
"initiative": "1d20 + %mod%",
"sync": true,
"leafletIntegration": false,
"playerMarker": "default",
"monsterMarker": "default",
"state": {
"creatures": [],
"state": false,
"current": null,
"name": null
}
}

from initiative-tracker.

joelleloving avatar joelleloving commented on August 28, 2024

I just installed the plugin today, and I'm having this issue as well. Got the following encounter:

name: Fight
creatures:
- 3: Salamander, 60, 12, 20

The initiative isn't being added anywhere. When I hover over Salamander in the note preview I see HP and AC but no modifier, and in the Encounter panel, the initiative rolls say +0 and are all <20 (so clearly the +20 modifier isn't being added).

Bug aside, I appreciate your work on the plugin, this looks great!

from initiative-tracker.

umiaki avatar umiaki commented on August 28, 2024

btw, is there a way to modify only initiative? Like:

  • 1: Goblin, X, X, 2
    so use Goblin with his stats just add to initiative?
    Also, is the default modifier calculated from the dex from the statblock?

from initiative-tracker.

valentine195 avatar valentine195 commented on August 28, 2024

If you leave a value blank, it will use the default value for the creature (if the creature is in your Bestiary in settings).

Also, is the default modifier calculated from the dex from the statblock?

Yes, it is calculated from the dexterity of creatures in the SRD. If you add a new creature, it will come from the value you put in the field.

I will work on this ASAP - I think it might be an issue from launching from encounters in notes. Does it happen if you add everything using the Add Creature button in the tracker view?

from initiative-tracker.

joelleloving avatar joelleloving commented on August 28, 2024

Does it happen if you add everything using the Add Creature button in the tracker view?

@valentine195 oh interesting, no it does not. Works correctly from the Add Creature button. Still learning the tool, I hadn't found that way of doing it yet.

from initiative-tracker.

valentine195 avatar valentine195 commented on August 28, 2024

This should work properly now in 3.1.1

Also, I just saw this question:

And I can see 3 monsters synced from Statblock but they are not listed in Initiative settings. Not sure where to put initiative modifier in the creature statblock definition either.

These creatures will be in the settings for the 5e Statblock plugin. You can modify them there.

from initiative-tracker.

umiaki avatar umiaki commented on August 28, 2024

Works nice, thanks a lot! :)

from initiative-tracker.

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.