(MINE_LDAMAGE): Change to match damage suffered in lnd_hit_mine().

This increases damage suffered in retreat.  Fix info Damage.
(shp_hit_mine): Use MINE_DAMAGE().
(lnd_hit_mine): Use MINE_LDAMAGE().
This commit is contained in:
Markus Armbruster 2006-03-27 21:47:50 +00:00
parent 07015c3613
commit 9f658368b8
4 changed files with 5 additions and 5 deletions

View file

@ -40,7 +40,7 @@
#define DMINE_HITCHANCE(x) ((double) ( (x) / ((x)+20.0) ) )
#define DMINE_LHITCHANCE(x) ((double) ( (x) / ((x)+35.0) ) )
#define MINE_DAMAGE() (22 + random()%21)
#define MINE_LDAMAGE() (10 + random()%11)
#define MINE_LDAMAGE() (11 + random()%20)
#define DTORP_HITCHANCE(range, vis) ((double)(0.9/((range)+1)+(((vis)<6)?(5-(vis))*0.03:0)))
#define TORP_DAMAGE() (torpedo_damage + (random() % torpedo_damage) + \
(random() % torpedo_damage))