Coder Social home page Coder Social logo

Comments (4)

kakaroto avatar kakaroto commented on September 4, 2024

There's nothing that can be done for that, there is no way of clicking inside of the tooltip. If you have an idea on how to make it work, I'm open to suggestions.

from beyond20.

ParadoxGopher avatar ParadoxGopher commented on September 4, 2024

would it be possible to follow the link or parse the popup content?

from beyond20.

kakaroto avatar kakaroto commented on September 4, 2024

Ok, I've investigated this a bit, and it looks like I can fetch the tooltip's content. I was worried about the fact that long spells are cropped, but the server returns the full description, it's just the tooltip display that is cropped. Unfortunately, just like a spell page, there's no real information on how to do an attack (no to-hit, what damages, you do, etc..) and I'm not sure how to implement this. I was thinking of just parsing all the roll formulas and display them next to the spell but it would make things ugly... one other possibility that I just thought of, is to have a beyond20 icon next to each spell and clicking it would display the spell card in the VTT, then you can click those dice formulas from the VTT chat directly. That would work much better I believe.
Alright, that's the plan for now and I'll try to add this for the next release. If you have a better suggestion on how to best implement it, let me know.

from beyond20.

ParadoxGopher avatar ParadoxGopher commented on September 4, 2024

as long as it will be whispered as by the setting whisper monster roll this sounds like a good plan

one thing just came to my mind:
is the spell attack modifier and the spell DC included in the template ? would be neat to have them with roll button for the attack

from beyond20.

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.