effects to chat
@badideasbureau is the
temporary
flag you look for in Effects to Chat a convention from somewhere (core? midi?) or something you came up with?B
BadIdeasBureau•864d ago
Huh.... effect.isTemporary exists for everything I've poked (all in the 5e system) and I thought it was core. Doesn't seem to be documented though.
IIRC it returns either
true
if there is a duration, or flags.core.statusId
, and it's used to determine whether to show an effect on the token or not.
Ah, yes it's core - foundry.js line 12998 (but not in the API docs for some reason)
C
Calego•864d ago
Ahhhhh
I saw this in your description and didn't look closer:
Only enabled temporary effects (i.e. those with a duration or with the "temporary" flag set in their data attribute) will be shown. If a token doesn't have any temporary effects, then no message is generated.thought that "temporary" flag was something else
B
BadIdeasBureau•864d ago
Oh, yeah, I should update the readme at some point 😛
C
Calego•864d ago
thanks @badideasbureau
LTL
Leo The League Lion•864d ago
@calego gave LeaguePoints™ to @badideasbureau (#7 • 288)
Want results from more Discord servers?
More Posts5e AEsI've been messing pretty heavily with some Active Effect assumptions and mechanisms in 5e. This is mhero creator ui feedbackI'm trying to refactor the abilities' tab on the hero creation room to accomodate Race ASIs, but I deffect mechanic searchingI need someone to check me on a null hypothesis I'm making.
> There are no abilities in 5e RAW whicDialog shennaneginsTIL the button callbacks for `Dialog.prompt` and `Dialog.confirm` can be asynchronous.
```js
const Advancement Hooks@kandashi @ccjmk and anyone else who is currently working on modules that would interact with the AdAPI doc topicsGive me some ideas for what areas of the foundry core API would benefit from a wiki documentation paDiscord Permission IssueOh, I think you also need a Typescript roleDevelopment-APIA new section of the Wiki was created today: `development/api`
This section is dedicated to documentitem to actors scriptI have this macro for updating actors in a compendium with spells from a compendium of spells (i.e. Primary and Embedded UpdatesTIL how to update embedded documents at the same time as parent documents.
```
game.actors.getName(compendium errors upgrading to v9hmm im not entirely sure how this will work though.. because I did just a quick smell test to my modBlind Chat MessagesAnyone have good examples of creating a chat message that should only be visible to a connected GM, compendium shennaneginsTIL about `CompendiumContent.getDocuments` taking nedb queries.
```
game.packs.get('dnd5e.heroes').gwith just a parent class and the class name, is there a way to instantiate a new class?JamesB and @veterini have a question for y'all in #coc7-dev
https://discord.com/channels/7323252527More Hooks 5ehttps://github.com/ElfFriend-DnD/foundryvtt-more-hooks-5e
I'm going to try to use this library to hacreateEmbeddedDocuments issueI'm going to throw my code in a thread so I don't clutter this channel up with a wall of textBase Item@otigon it occurs to me that the new `baseItem` property on weapons and such is probably of interestCompendium loadinghmm ghost, I added some console.time tags here and there to measure the difference between loading oSkill and Ability bonusesA massive enhancement of Skills and Ability Checks/Saves allows them to be individually affected by 150 Sheet Changes@sdenec @lordzeel
Sheet Changes required:
- New Cog-menu for Ability Scores and Skills to support ne