Message2654

Author jesusalva
Recipients
Date 2014-01-06.20:43:56
Content
at line 687 of bullets.c:
There is handled the hit at robots. There can be a random function that get a
float number. If this number is lower or equal to tux critical rate, instead of
using the normal method, us use a copy of this, but this time, multiply the
damage numbers in, by example, 1.2 (20% more!).

To bots have a critical rate, it would be difficult, but the "hit tux" is at
line 610 of the same file(src/bullet.c).

This implement a critical hit, the only problem is that tux critical hit would
need be manipuled by other functions, like
History
Date User Action Args
2014-01-06 20:43:56jesusalvasetmessageid: <1389041036.39.0.128199983586.issue632@freedroid.org>
2014-01-06 20:43:56jesusalvalinkissue632 messages
2014-01-06 20:43:56jesusalvacreate