Powerstone Analysis


Critical Success! Natural 3!"; $num3s+=1; $successes+=1; $size+=1; $lastquirk=0; /* new March 3 ^^ */ elseif ($dietotal<=5):/* mod'd March 3:*/ $result="Critical Success!"; $numCSs15 +=1;/* <-new March 3*/ $numCSs16 +=1; $successes+=1; $size+=1; $lastquirk=0; elseif ($dietotal<=6):/* mod'd March 3:*/ $result="Critical Success! (Skill 16 only)"; $numCSs16 +=1; $successes+=1; $size+=1; $lastquirk=0;/* new March 3: ^^^ */ elseif ($dietotal<16): $result="success"; $successes+=1; $size+=1; $lastquirk=0; elseif ($dietotal==16): $result="Failure!"; $quirks+=1; if ($lastquirk): $stunted=1; $result="Failure! - Stunted!"; else: $lastquirk=1; endif; else: $result="Critical Failure!"; $destroyed=1; endif; echo "$diestring - $dietotal - $result
\n"; } echo "

\n"; echo "carats=$carats
\n"; echo "castings=$castings
\n"; echo "size=$size
\n"; echo "
\n"; echo "quirks=$quirks
\n"; echo "successes=$successes
\n"; /* new March 3:*/ echo "critical successes (Skill 15)=$numCSs15
\n"; echo "critical successes (Skill 16)=$numCSs16
\n"; echo "natural 3s(seperate)=$num3s
\n"; echo "
\n"; echo "lastquirk=$lastquirk
\n"; echo "destroyed=$destroyed
\n"; echo "stunted=$stunted
\n"; ?>



View script source.