Git Product home page Git Product logo

combatmaster's People

Contributors

ianjsikes avatar undervillain avatar vicberg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

combatmaster's Issues

Stopping combat displays the menu twice

When you stop combat it'll send the menu to the chat window twice. Once from the commandHandler() function:

sendMainMenu(who)

Then once more from the stopCombat() function:

sendMainMenu(who)

I solved this by commenting out the code on line 1579 since the Command Handler is also sending the main menu, but with my lack of familiarity, my solution may not be the correct one. Hope this helps =)

Error : First argument contains NaN in property 'rotation'

Error: Firebase.update failed: First argument contains NaN in property 'rotation' Error: Firebase.update failed: First argument contains NaN in property 'rotation' at Ba (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:9:186) at Ba (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:10:207) at Aa (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:8:462) at Ea (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:10:403) at J.update (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:146:318) at TrackedObj._doSave (/home/node/d20-api-server/api.js:905:27) at Timeout.later [as _onTimeout] (/home/node/d20-api-server/node_modules/underscore/underscore-umd.js:1153:39) at listOnTimeout (internal/timers.js:549:17) at processTimers (internal/timers.js:492:7)

I traker this error that in animateActiveTokenMarker function line 1986

let rotation_duration = 1000 * parseInt(state[combatState].config.turnorder.animateMarkerDuratio);
is change to
let rotation_duration = 1000 * parseInt(state[combatState].config.turnorder.animateMarkerWait);

it error clear.

please this code fix

Interest in new feature?

Hey, thanks for this script. I'm using the one in roll20 (1.8?) and really like it. I was thinking about adding a feature to allow you to add tokens to an already started encounter as a way to learn the roll20 API. Before I get too far in I wanted to see if that was of interest or if there's another way to do it that I'm missing.

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.