Menu
This was also the dice probability calculator with the least amount of coding knowledge required, great for a philistine such as myself. 6 2019/02/17 14:29 Male / 20 years old level / High-school/ University/ Grad student / Very /.
Read through more
22complete
4
2
Study more
Eligible if bought after 7/2/2016.Lacquire More
Oct 5, 2017
73M
1,000+
1.0.1
4.1 and up
Search engines Business Ltd
Fantasy Flight Games1995 Watts State Rd M2Roseville, MN 55113United Says of North america
PermalinkSign up for GitHub today
GitHub is house to over 36 million programmers working collectively to web host and examine code, handle projects, and create software jointly.
Sign upCome across documentCopy path
Cannot get contributors at this period
lt;?php |
errorreporting(EALL); |
iniset('displayerrors',Real); |
requireonce('t5rdiceroller.php'); |
$roll=''; |
if(isset($GET'roll')) |
$move=$Have'move'; |
$keep=''; |
if(isset($Have'keep')) |
$maintain=$Find'keep'; |
$emphasis=false; |
if(isset($Find'focus')amp;amp;$Find'emphasis''on') |
$emphasis=true; |
$set=fake; |
if(isset($GET'set')amp;amp;$Have'fixed''on') |
$fixed=true; |
$rounds=1000; |
$rolling=fresht5rdiceroller($move,$keep,$emphasis,$models); |
$rolling-gt;move; |
?gt; |
lt;!DOCTYPE htmlgt; |
lt;htmlgt; |
lt;headgt; |
lt;namegt;D5R Chop rollerlt;/namegt; |
lt;metaname='description'articles='Move dice and generate statistics for M5R system'/gt; |
lt;metaname='keywords'content material='M5R, Story of the Five Bands, dice roller, data'/gt; |
lt;metaname='writer'content material='Tom Natt'/gt; |
lt;!-if lt IE 9gtestosterone levels;lt;script language='javascript' type='text/javascript' src='js/excanvas.js'gt;lt;/scriptgt;lt;!endif-gt; |
lt;scriptsrc='https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.minutes.js'type='text message/javascript'gt;lt;/scriptgt; |
lt;scriptkind='text/javascript'src='js/jquery.jqplot.minutes.js'gt;lt;/scriptgt; |
lt;scriptkind='text/javascript'src='js/plugins/jqplot.barRenderer.min.js'gt;lt;/scriptgt; |
lt;scriptkind='text message/javascript'src='js/plugins/jqplot.canvasAxisLabelRenderer.min.js'gt;lt;/scriptgt; |
lt;scriptkind='text message/javascript'src='js/plugins/jqplot.canvasTextRenderer.min.js'gt;lt;/scriptgt; |
lt;scripttype='text/javascript'src='js/plugins/jqplot.cursor.minutes.js'gt;lt;/scriptgt; |
lt;scriptkind='text/javascript'src='js/plugins/jqplot.highlighter.min.js'gt;lt;/scriptgt; |
lt;linkrel='stylesheet'type='text message/css'href='css/jquery.jqplot.min.css'/gt; |
lt;hyperlinkrel='stylesheet'kind='text message/css'href='css/dice.css'/gt; |
lt;/headgt; |
lt;entire bodygt; |
lt;l1gt;T5R dice statistics generatorlt;/h1gt; |
lt;!-form-gt; |
lt;typeactions='.'method='get'gt; |
lt;taggt; |
Move: |
lt;inputtype='text'title='roll'id='move'worth='lt;?phpmirror$roll;?gt;'/gt; |
lt;/labelgt; |
lt;labelgt; |
Keep: |
lt;inputkind='text'title='keep'id='keep'worth='lt;?phpmirror$keep;?gt;'/gt; |
lt;/taggt; |
lt;labelgt; |
Emphasis? |
lt;insighttype='checkbox'name='emphasis'id='emphasis'lt;?phpif($importance)?gt;checked='checked'lt;?php?gt;/gt; |
lt;/labelgt; |
lt;brandgt; |
Repair graph axis? |
lt;insightkind='checkbox'name='fixed'id='set'lt;?phpif($fixed)?gt;checked='checked'lt;?php?gt;/gt; |
lt;/labelgt; |
lt;insighttype='submit'worth='Roll those dice!'/gt; |
lt;/formgt; |
lt;!-results-gt; |
lt;l2gt;Resultslt;/h2gt; |
lt;divid='results'style='height:400px;width:800px;'gt;lt;/divgt; |
lt;pgt;Average outcome: lt;stronggt;lt;?phpmirror$rolling-gt;averageResult;?gt;lt;/solidgt;lt;/ggt; |
lt;pgt;Roll:lt;?phpecho$roll;?gt;, keep:lt;?phpmirror$keep;?gt;- any over 10 observe the ten dice rulelt;/ggt; |
lt;?phpif($emphasis)?gt;lt;pgt;Rerolled 1s (as per skill emphasis)lt;/ggt;lt;?php?gt; |
lt;pgt;Rolledlt;?phpmirror$models;?gt;timeslt;/pgt; |
lt;scriptgt; |
$(document).ready(functionality |
$.jqplot.config.enablePlugins=genuine; |
vars i90001=$.parseJSON(lt;?phpmirrorjsonencode(jsonencode($rolling-gt;results));?gt;); |
//gaming console.log(h1); |
//gaming console.log($.isArray(s i90001)); |
//consist of a little area around the mix / potential for a more pleasing chart |
plot1=$.jqplot('results',s1, |
axes: |
xaxis: |
label:'Dice result', |
minutes:lt;?phpecho($fixed?0:$moving-gt;lowestRolled-5);?gt;, |
potential:lt;?phpecho($fixed?100:$rolling-gt;highestRolled+5);?gt;, |
, |
yaxis: |
tag:'# folded', |
minutes:0, |
utmost:lt;?phpecho($fixed?120:$moving-gt;mostRolled+2);?gt;, |
, |
cursor: |
show:correct |
, |
seriesDefaults: |
rendererOptions: |
clean:correct |
, |
axesDefaults: |
labelRenderer:$.jqplot.CanvasAxisLabelRenderer, |
tickOptions: |
formatString:'%d' |
, |
); |
); |
lt;/scriptgt; |
lt;/bodygt; |
lt;/htmlgt; |
Duplicate lines Copy permalink