Back to the Vavoom Forum Archives
Alex-bomber_Man
b0rsuk
//==========================================================================
//
// HITDICE
//
// Most damage in HERETIC and HEXEN defined using HITDICE
//
//==========================================================================
final int HITDICE(int a)
{
return (1 + (P_Random() & 7)) * a;
}
You can redefine the function and make it return a constant. I assume P_Random() returns a float between 0 and 1.b0rsuk
Alex-bomber_Man
b0rsuk
vavoom/myhexgame |-- actors | |-- heretic | |-- hexen | |-- raven | `-- shared |-- progs | |-- cgame | |-- engine | |-- game | |-- linespec | `-- uibase `-- saves 12 directoriesYou can get the vavoomC files from your basepak.pk3, or from separate download at this page: <!-- m --><a class="postlink" href="http://www.vavoom-engine.com/download.php">http://www.vavoom-engine.com/download.php</a><!-- m -->
Alex-bomber_Man
b0rsuk
Firebrand