Character Vault
Any Concept / Any System
Compendium
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Personal tools

Difference between revisions of "Talk:Character Sheets"

From Roll20 Wiki

Jump to: navigation, search
(Restoring deleted comments)
(Math Functions)
Line 1: Line 1:
 
== Math Functions ==
 
== Math Functions ==
 
What about Math.min() and Math.max() ? <small><span class="autosigned">—&nbsp;Preceding unsigned comment added by [[User:456953]] ([[User talk:456953|talk]] • [[Special:Contributions/456953|contribs]]) 22:33, 3 June 2014 (EST)</span></small><!-- Template:Unsigned -->
 
What about Math.min() and Math.max() ? <small><span class="autosigned">—&nbsp;Preceding unsigned comment added by [[User:456953]] ([[User talk:456953|talk]] • [[Special:Contributions/456953|contribs]]) 22:33, 3 June 2014 (EST)</span></small><!-- Template:Unsigned -->
 +
:In roll buttons, <code>min</code> can be achieved with the kl or dh group modifier, and <code>max</code> can be achieved with the kh or dl group modifier. For example: <code>/roll {2d6, 0d0+3}kh1</code> will produce 3 if you roll snake eyes, and <code>/roll {2d6, 0d0+11}kl1</code> will produce 11 if you roll box cars.
 +
:In autocalc fields, you can achieve <code>min</code> and <code>max</code> with <code>(((@{x} + @{y}) - abs(@{x} - @{y})) / 2)</code> and <code>(((@{x} + @{y}) + abs(@{x} - @{y})) / 2)</code>, respectively. <div style="display:inline-block;border:1px solid blue;background:#bbbbff;padding:0 3px 0 3px;font-size:10px">[[User:235259]]&nbsp;&ndash;&nbsp;({{user profile|235259|profile}}&nbsp;•&nbsp;[[User talk:235259|talk]]&nbsp;•&nbsp;[[Special:Contributions/235259|contrib]])</div> 11:26, 22 January 2015 (EST)
  
 
== Incorporating JavaScript ==
 
== Incorporating JavaScript ==

Revision as of 16:26, 22 January 2015

Contents

Math Functions

What about Math.min() and Math.max() ? — Preceding unsigned comment added by Barrie T. (talkcontribs) 22:33, 3 June 2014 (EST)

In roll buttons, min can be achieved with the kl or dh group modifier, and max can be achieved with the kh or dl group modifier. For example: /roll {2d6, 0d0+3}kh1 will produce 3 if you roll snake eyes, and /roll {2d6, 0d0+11}kl1 will produce 11 if you roll box cars.
In autocalc fields, you can achieve min and max with (((@{x} + @{y}) - abs(@{x} - @{y})) / 2) and (((@{x} + @{y}) + abs(@{x} - @{y})) / 2), respectively.
Brian – (profile • talk • contrib)
11:26, 22 January 2015 (EST)

Incorporating JavaScript

I work a lot with that D&D 3.5 Sheet by Diana P. but i never liked the original d&d sheet, it is really messy. I thought it could be improved if you could make sections collapsible. I wonder now if you can use javascript to make it possible. — Preceding unsigned comment added by Marco G. (talkcontribs) 06:01, 20 January 2015 (EST)‎

Repeating sections with table rows

If a fieldset with a repeating class is nested inside a table, will rows be duplicated properly? — Preceding unsigned comment added by Bio B. (talkcontribs) 15:35, 24 June 2014 (EST)

Drag & Drop Ability macros

Needs to be updated to include the new Drag and Drop of sheet rolls to the macro bar. — Preceding unsigned comment added by Vince (talkcontribs) 23:36, 30 November 2014 (EST)