Git Product home page Git Product logo

foundry-group-initiative's Introduction

Group Initiative

Roll Group Initiative from the Combat Tracker in Foundry VTT

Install

  1. Go to the "Add-on Modules" tab in Foundry Setup
  2. Click "Install Module" and paste this link: https://raw.githubusercontent.com/tonifisler/foundry-group-initiative/master/module.json
  3. Open your world and go to the "Combat Tracker" tab
  4. Open the "Combat Tracker Settings" (cog at the top right of the Encounter pane) and check the "Roll Group Initative" option
  5. Use one of the "Roll" buttons to automatically roll initiative for NPCs by group

screenshot with arrows

foundry-group-initiative's People

Contributors

jessev14 avatar tonifisler avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

foundry-group-initiative's Issues

Request: Players turn

I know this is for NPCs but could you add it for players? Pretty much like the game on Xcom 2.

Back button in combat kills the game

If you accidentally click forward in the combat turn too many times and then want to go back a step then you are in deep doodoo. As it will then flood the chat with a never ending stream of messages as the turn order cycles infinitely between combatants. The only thing to do is to restart the server.

adding more npcs during combat

If I bring in more NPCs of a type that is already deployed, is there a way to "join" them to the existing "group" and inherit the group initiative rolled earlier? AT the moment I can't see how to set them up except for manually updating combatant each one individually.

compatibility with v0.8.5

Hello,

when reviewing module compatility with 0.8.5 and was able to make Group Initiative work (or i think so) by modifying line 136-138 of group-initiative.js by replacing

Hooks.on('renderCombatTracker', ( {combat} ) => {

with

Hooks.on('renderCombatTracker', ( app, html, options ) => {

  let combat = options.combat ;

don't know if that is helpful for you.

Regards,
David

Doesn't work as of 0.6.6

Hi Toni
With Group Roll enabled; Pressing Roll NPC's or Roll All does nothing.
I've tested this with no other modules active and have same result.

Cheers,
Mick

Collapsible groups don’t work in 0.8.6

The new collapsible groups don’t work in 0.8.6 but this can be fixed with a one line change:

Line 192 change from const combat = app.combat; to const combat = data.combat;

Custom group of NPCs

From Tigon#0817 in Discord:

It seems as though it rolls all monsters/adversaries of the same type together. Is there a way to have it roll initiative for a custom group of mixed type of monsters? IE, i have a hobgoblin army with 4 squads of 8 hobgolins: 2 hobgoblin grunts, 2 hobgoblin pikemen, 2 regular hobgoblins, and 2 hobgoblin warriors. Id like to have each member of a squad be on the same initiative as the rest of the squad

Feature request: Also Group initiatives when the Roll All button is used

I'd love to use the "Roll All" button in the combat tracker, but Group Initiative requires me to use the Roll NPCs button instead.

It is only a few clicks to manually roll each of my party members, but it gets annoying. Also, the current set up is a bit counter-intuitive. It was confusing to me why it "wasn't working" at first when I initially installed it alongside 700 other modes while getting set up with Foundry and was clicking "Roll All."

SWADE Compatibility

On SWADE this module unfortunately doesn't work. SWADE uses poker cards for initiative. It looks like that:
image
It should look like this:
image

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.