Skip to content

Commit

Permalink
v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Moerill committed May 26, 2020
1 parent dbb7717 commit 3b25d8a
Show file tree
Hide file tree
Showing 43 changed files with 1,140 additions and 246 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
# v0.4
<ul>
<li>
<b style="font-weight: bold;">Important:</b> Automatic template textures for DnD 5e are now independent of the rolling mode! They will get activated when you activate the scaling and video textures for templates!
</li>
<li>(Hopefully) fixed the module sometimes not properly loading, by removing race conditions created due to dynamic script loading.</li>
<li>Improved the roll controls above the chat window-content
<ul>
<li>Changed the advantage toggle to now using dice to display the current roll mode</li>
<li>Added a situational modifier field, which gets applied to all D20 based rolls. (attack rolls, saving throws, skill and ability checks</li>
</ul>
</li>
<li>
Restructured a whole lot of the code, so its a little bit less of a mess... (Even though this is the modules name! :P )
</li>
<li>
Removed the default 5e context menu for applying damage, since this resulted in unwanted and confusing behaviour. I will revisit this for the next patch and add <em>some</em> option to apply damage using the rolls. I'm just not sure currently as to how i want to tackle this. Feel free to add ideas to the <a href="https://github.com/Moerill/Mess/issues/9">issue</a>.
</li>
</ul>

# v0.3.3
* Now using the proper japanese localization code..

Expand Down
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ Go to the [GitHub's issue board](https://github.com/Moerill/Mess/issues) and che
### Scaling and animated template textures
![video templates](img/animated_templates.gif)
Tired of FVTTs tiling for template textures? Then this feature is perfect for you! When this feature is enabled template textures are scaled up and rotated to match the template. This also allows for the usage of video files as template textures! Nice! (For all textures the same rules as for all FVTT image and video files do apply)
This also automatically activates [Automatic Ability template texture](#ability-template-textures) when you're using the DnD5e system.

### Momentum based preview snapping
![preview snapping](img/preview_snapping.gif)
Expand All @@ -62,7 +63,7 @@ To make dragging around more beautiful! Letting the placeable always snap, makes

## DnD5e specific
### Rolling and targeting change
This is a big one and encompasses a variety of features. But since these features are intertwined to some extent you can only dis-/enable all of them together! (GM sets these for all users)
This is a big one and encompasses a variety of features.

#### Custom attack and damage roll chat cards
![Attacking](img/attacking.gif)
Expand All @@ -75,13 +76,14 @@ The flavor text (in the example ``The cat swipes at Badger lazily with a clawed

#### Autoroll and Advantage toggle
![Roll toggles](img/roll-toggles.png)
This feature also adds options to toggle between *(dis-)advantage* and *normal* rolls. This will get applied at the time you click on the *to hit* button, not beforehand! (At the moment this is not applied to skill/ability checks or saving throws, but this will come soon™).
The roll change also adds options to toggle between *(dis-)advantage* and *normal* rolls, by clicking on the D20 above the chats roll mode selector. Right click will cycle through in the opposite direction. This will get applied at the time you click on the *to hit* button, not beforehand!
This also adds a selection to choose if *to hit* or *damage* rolls should be rolled automatically on *attack card* creation.

#### Ability template textures
### Ability template textures
![Auto Template](img/auto_template.gif)
Want to be cool and really show a fireball each time you cast it, instead of the blank template for targeting?
This feature lets you specify textures for your templates automatically created by using a feature or spell. It adds to the item sheet a field to select an image or video file as texture. If no file is specified the module will automatically try to select a file depending on the settings set or blank if none found.
This feature lets you specify textures for your templates automatically created by using a feature or spell. It adds to the item sheet a field to select an image or video file as texture. If no file is specified the module will automatically try to select a file depending on the settings set or blank if none found.
**Important** This feature gets automatically activated when you activate [Scaling and animated template textures](#scaling-and-animated-template-textures) and are using the DnD5e system.

#### Auto targeting with ability templates
This awesome template gets created when you cast a spell, but you still have to manually specify the tokens as targets? Uff! But i'm here to help: This feature automatically targets the tokens inside of your placed template.
Expand Down
14 changes: 7 additions & 7 deletions dist/css/mess.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
height: 1.8em;
flex: 1 100%;
display: flex;
margin: 0.2em 0 0.15em 0;
flex-flow: row nowrap;
justify-content: space-between;
}
Expand All @@ -38,7 +39,7 @@
justify-content: center;
flex-flow: row nowrap;
align-items: center;
opacity: 0.8;
opacity: 1;
}
#chat-controls .mess-roll-control .mess-adv-selector a i {
font-size: 1.2em;
Expand All @@ -59,17 +60,15 @@
position: relative;
left: -0.1em;
font-size: 1em;
filter: brightness(0.6);
filter: brightness(0.5);
transform: rotate(30deg);
z-index: 0;
color: var(--color-bad);
}
#chat-controls .mess-roll-control .mess-adv-selector .mess-dis-btn i:nth-child(1) {
font-size: 1em;
filter: brightness(0.6);
filter: brightness(0.5);
transform: rotate(45deg);
z-index: 0;
color: var(--color-good);
position: relative;
left: 0.1em;
}
Expand Down Expand Up @@ -126,6 +125,7 @@
}
#chat-log .mess-attack-card .mess-dice-result span {
font-weight: bold;
font-size: 1.4em;
}
#chat-log .mess-attack-card .mess-dice-result .crit {
color: var(--color-success);
Expand Down Expand Up @@ -202,8 +202,8 @@
text-shadow: 0 0 10px red;
cursor: pointer;
}
.dnd5e.actor .ability-mod:hover,
.dnd5e.actor .ability-save:hover {
.dark-mode .dnd5e.actor .ability-mod:hover,
.dark-mode .dnd5e.actor .ability-save:hover {
color: #3F88E6;
text-shadow: 0 0 10px #3F88E6;
}
4 changes: 2 additions & 2 deletions dist/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "mess",
"title": "Mess - Moerills enhancing super-suit(e)",
"description": "This module is a mix of QoL changes, enhancements for my game and stuff i play around with. For a complete feature list check the URL down below.",
"version": "0.3.3",
"version": "0.4.0",
"minimumCoreVersion": "0.5.7",
"compatibleCoreVersion": "0.5.7",
"author": "Moerill",
Expand All @@ -28,5 +28,5 @@
],
"manifest": "https://raw.githubusercontent.com/Moerill/mess/master/src/module.json",
"url": "https://github.com/Moerill/mess",
"download": "https://github.com/Moerill/mess/releases/download/v0.3.3/mess.zip"
"download": "https://github.com/Moerill/mess/releases/download/v0.4.0/mess.zip"
}
6 changes: 0 additions & 6 deletions dist/scripts/bundles/0.67b6.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/scripts/bundles/0.67b6.js.map

This file was deleted.

6 changes: 0 additions & 6 deletions dist/scripts/bundles/add-scrolling.1c30.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/scripts/bundles/add-scrolling.1c30.js.map

This file was deleted.

6 changes: 0 additions & 6 deletions dist/scripts/bundles/change-placeables.9f20.js

This file was deleted.

Loading

0 comments on commit 3b25d8a

Please sign in to comment.