Users browsing this thread: 1 Guest(s)
Desperation Attacks
05-02-2012, 01:17 PM
(05-01-2012, 07:00 PM)Roseheart Wrote: So I was wondering, would there be any way to change the odds/chance of performing a Desperation Attack so that they happen more frequently?
Original code:
Code:
C2/15E9: 20 5A 4B JSR $4B5A (Random number 0 to 255)
C2/15EC: 29 0F AND #$0F (0 to 15)
C2/15EE: D0 20 BNE $1610 (1 in 16 chance for DA)
Beside Gi Nattak solution, for simply increasing the odds, you could do a AND #$1F instead of the AND #$0F that is there . This would double your chances (12.5% instead of 6.25%).
« Next Oldest | Next Newest »
|
||||
Users browsing this thread: 1 Guest(s)