On 1 October 2011 04:39, James Paige <[email protected]> wrote: > On Fri, Sep 30, 2011 at 06:47:52PM +1300, Ralph Versteegen wrote: >> On 29 September 2011 13:53, <[email protected]> wrote: >> > james >> > 2011-09-28 17:53:10 -0700 (Wed, 28 Sep 2011) >> > 49 >> > Add bitset "Attacks will ignore extra hits stat" >> > --- >> > U wip/bmod.bas >> > U wip/subs4.bas >> > U wip/whatsnew.txt >> >> What! James, this is a total hack! Are you working on a game, and >> needed another stat immediately? BTW, you forgot to add it to the help >> file. > > Yes, It is definitely a hack, but it is such a simple hack, and one that > has been requested for so many years, that I thought it was okay. > mistah_j was trying to do it himself for some game he is working on and > I ended up helping him. > > Counterpart would be an equally hacky (or maybe even hackier) addition > to attack data to override it somehow.
You're not talking about the "Ignore extra hits" attack bit, are you?? numhits = attack.hits IF xreadbit(gen(), 13, genBits2) = NO THEN numhits += INT(RND * (bslot(bat.acting).stat.cur.hits + 1)) ELSE END IF IF attack.ignore_extra_hits THEN numhits = attack.hits > --- > James _______________________________________________ Ohrrpgce mailing list [email protected] http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
