Code Monkey home page Code Monkey logo

roll20's People

Contributors

arioch82 avatar ocangelo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

roll20's Issues

Tokens not resizing.

I copied the NPC (Air Elemental) to WS - Air Elemental (Naomi). Saved the image, removed the original and reloaded the saved one.
Made sure the token was the correct size and set the sheet to use that token. Verified this by deleting it from the mapping and dragging it back on again.
Used Add NPC to add the WS - Air Elemental (Naomi) to the druid.
When I wildshape the token changes but does not resize.
Repeated this process multiple times with no success.

Toggle isdruid on shifted NPCs prevents shifting back to normal form

Title should explain, but to replicate:

  • Add NPC shifter
  • Add forms to shift into
  • Shift into new form
  • Toggle isdruid to true

Suggested solution:
Check if an NPC is not in its natural form, and give a warning when trying to toggle.

Unfortunately, I haven't really coded for many years, so I can't propose a fix myself.

Changing roll type and dynamic lighting

First off, thanks for making this script - it has removed a lot of the hassle of dealing with a high level moon druid on roll20.

I don't see any options to change the format of the rolls (toggle advantage, roll damage, etc). I had to modify the script to change those universally.

Also, do you have any plans on updating this to use the new dynamic lighting features of roll20?

Can't change size of PC/NPC

Any time I try to change the size of either the PC or NPC, the script errors out with:

TypeError: Cannot read property 'id' of undefined
TypeError: Cannot read property 'id' of undefined
    at handleGraphicMovement (apiscript.js:9500:28)
    at eval (eval at <anonymous> (/home/node/d20-api-server/api.js:154:1), <anonymous>:65:16)
    at Object.publish (eval at <anonymous> (/home/node/d20-api-server/api.js:154:1), <anonymous>:70:8)
    at TrackedObj.set (/home/node/d20-api-server/api.js:1048:14)
    at updateLocalCache (/home/node/d20-api-server/api.js:1346:18)
    at /home/node/d20-api-server/api.js:1530:11
    at /home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:560
    at hc (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:39:147)
    at Kd (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:546)
    at Id.Mb (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:489)

Customized for Updated Dynamic Lighting

I've modified your WildShapes and WildHelpers to work with the UDL, however, I didn't want to pull request and push it as a fork because I didn't bother with backwards compatibility. My changes are NOT friendly to existing shapes, but you can do a "run once" kind of thing to force the new settings into the state object.

If you are interested in my changes, please see Roll20-WildShapesUDL

I realize you're not actively updating your script anymore, so I don't expect you to do anything. This is just an FYI. If there is enough interest in my changes, perhaps you or I can integrate them properly.

ERROR: Cannot find wildshape resource = wild shape

After installing and importing the creatures from a folder I received the following error when trying to perform wild shape through the !ws command.

(From WildShape): (GM) ERROR: Cannot find wildshape resource = wild shape

Wildshape on page without grid enabled makes the token disappear

Script works great on a grid enabled page! But I first tested it on a non-grid page and the token disappears when using the script. Looks like it has nothing to measure size to and so makes it essentially 0 width x height.

May not be anything you can do about this, and not a huge issue since I plan to always use grid maps. But it is something to be aware of.

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.