Energion Fantasy Role-Playing Game System
[hneufeld.com] [Henry's Web] [Energion.com Web Magazine]

The Energion Role-Playing Game System

Stat Formula Examples

These are the simples formulas in the system. You can see the results of this most basic roll. If a gamemaster wants to pay attention to that level of detail, the greater negative value indicates a greater failure, while the greater positive value indicates greater succes. For example, I might use a roll under IQ bonus to determine the likelihood that a character might know an obscure fact that is not covered specifically by a knowledge field, or that a character might combine two pieces of information. A very high negative value then might indicate that the character thinks he knows, but in fact is wrong; a low negative value might indicate the character simply doesn't know. A positive value indicates knowledge, and you can consider a bonus for a very high positive value.

StatBonusPenalty# of DiceStat RollBonus Roll
0 98 -73

The following text is the php code for the formulas involved.

function stat_bonus($st) { return $st - 100; } //$st is the stat //$t is the type, default='b' as this is the most common roll //$n = number of d100, default 1 //'s' = roll under stat //'b' = roll under bonus //'hb' = roll under half bonus //'qb' = roll under quarter bonus function stat_roll($st,$t='b',$penalty=0,$n=1) { list($usec, $sec) = explode(' ', microtime()); srand((float) $sec + ((float) $usec * 100000)); $roll = 0; for ($i=0; $i<$n; $i++) $roll += rand(1,100); $roll /= $n; switch ($t) { case 'b': return stat_bonus($st) - $penalty - $roll; case 's': return $st - $penalty - $roll; case 'hb': return stat_bonus($st) / 2 - $penalty - $roll; case 'qb': return stat_bonus($st) / 4 - $penalty - $roll; } return 0; } </plaintext> </td></tr> </table> </td></tr> <tr><td> <hr> <table align="center" border=0 class="body"> <tr> <td> <!-- SiteSearch Google --> <form method="get" action="http://www.google.com/custom" target="_top"> <table border="0" bgcolor="#ffffff"> <tr><td nowrap="nowrap" valign="top" align="left" height="32"> <a href="http://www.google.com/"> <img src="http://www.google.com/logos/Logo_25wht.gif" border="0" alt="Google"></img></a> </td> <td nowrap="nowrap"> <input type="hidden" name="domains" value="hneufeld.com;energion.com;energionpubs.com"></input> <input type="text" name="q" size="31" maxlength="255" value=""></input> <input type="submit" name="sa" value="Search"></input> </td></tr> <tr> <td>&nbsp;</td> <td nowrap="nowrap"> <table> <tr> <td> <input type="radio" name="sitesearch" value="" checked="checked"></input> <font size="-1" color="#000000">Web</font> </td> <td> <input type="radio" name="sitesearch" value="hneufeld.com"></input> <font size="-1" color="#000000">hneufeld.com</font> </td> </tr> <tr> <td> <input type="radio" name="sitesearch" value="energion.com"></input> <font size="-1" color="#000000">energion.com</font> </td> <td> <input type="radio" name="sitesearch" value="energionpubs.com"></input> <font size="-1" color="#000000">energionpubs.com</font> </td> </tr> </table> <input type="hidden" name="client" value="pub-2929005604838690"></input> <input type="hidden" name="forid" value="1"></input> <input type="hidden" name="ie" value="ISO-8859-1"></input> <input type="hidden" name="oe" value="ISO-8859-1"></input> <input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:FFFFFF;ALC:000000;LC:000000;T:0000FF;GFNT:0000FF;GIMP:0000FF;LH:50;LW:199;L:http://energion.com/images/energiongoogleheader.png;S:http://energion.com;FORID:1;"></input> <input type="hidden" name="hl" value="en"></input> </td></tr></table> </form> <!-- SiteSearch Google --></td> <td> <form method="get" action="http://energion.com/php/enesearch1.php"> <p class="body">Search for books on Amazon.com<br> <table bgcolor="black" frame="border" rules="none" border=1> <tr><td rowspan=3 align="center" valign="middle" bgcolor="white"><img src="http://energion.com/images/seplogo.png" width=50 height=45></td> <td bgcolor="red"><font color="blue" face="Arial" size=3>Product category:</font></td><td bgcolor="FF1111"><select name="mode"> <OPTION VALUE="books">Books <OPTION VALUE="music">Popular Music <OPTION VALUE="classical-music">Classical Music <OPTION VALUE="video">Video <OPTION VALUE="toys">Toys <OPTION VALUE="electronics">Consumer Electronics <OPTION VALUE="universal">Home Improvement </select></td></tr> <tr> <td bgcolor="black" text="white"> <font face="Arial" size=3 color="white">Locale:</font> </td> <td> <select name="locale"> <option value="us">United States</option> <option value="ca">Canada</option> <option value="de">Germany</option> <option value="uk">United Kingdom</option> </select> </td> </tr> <tr> <td bgcolor="black" text="white"> <font face="Arial" size=3 color="white">Keywords:</font> </td> <td bgcolor="black" text="white" colspan=2> <INPUT TYPE="text" NAME="keyword" SIZE="10" VALUE=""> <INPUT TYPE="submit" BORDER=0 VALUE="Go!" NAME="Search"> </td></tr> </table> </form> </p> </td> </tr> </table> <table align="center" border=0 class="body"> <tr> <td> <a href="http://www.amazon.com/exec/obidos/redirect?tag=henryneufeld&path=tg/browse/-/283155"><img src="http://www.participatorystudyseries.com/images/bksc120x90_np.gif" width="120" height="90" border="0" alt=""></a> </td> <td> <a href="http://www.amazon.ca/exec/obidos/redirect?tag=energioncomwe-20&path=tg/browse/-/916520"><img src="http://www.participatorystudyseries.com/images/can_125x125-save30_np.gif" width="125" height="125" border="0" alt=""></a> </td> <td> <A HREF="http://www.amazon.co.uk/exec/obidos/redirect-home?tag=energioncomwe-21&site=books"><IMG SRC="http://www.participatorystudyseries.com/images/home_books.gif" alt="In Association with Amazon.co.uk" BORDER="0" ></A> </td> <td> <A HREF="http://www.amazon.de/exec/obidos/redirect-home?tag=energioncom00-21&site=buecher"><br> <IMG SRC="http://www.participatorystudyseries.com/images/but_buch_01.gif" BORDER="0" HEIGHT="70" WIDTH="100" alt="In Partnerschaft mit Amazon.de"></A> </td> </tr> </table> </td></tr> </table> </body> </html>