ref: a515d590c97a2bc52e3b1b05a7cf056c97bea965
parent: 71cf6472c224f0f35ae78559d728ad221f164b65
author: James Haley <[email protected]>
date: Sat Mar 5 20:22:27 EST 2016
Address multiple issues identified by nukeykt; partially resolves issue #663
--- a/src/strife/p_enemy.c
+++ b/src/strife/p_enemy.c
@@ -1240,7 +1240,7 @@
{
int t = P_Random();
angle_t shootangle = actor->angle + ((t - P_Random()) << 20);
- int damage = (P_Random() & 7) + 1;
+ int damage = 3*((P_Random() & 7) + 1);
P_LineAttack(actor, shootangle, 2048*FRACUNIT, slope, damage);
++i;
@@ -2211,7 +2211,7 @@
A_FaceTarget(actor);
if(P_CheckMeleeRange(actor))
{
- int damage = 8 * (P_Random() % 10 + 1);
+ int damage = 6 * (P_Random() % 10 + 1);
S_StartSound(actor, sfx_mtalht);
P_DamageMobj(actor->target, actor, actor, damage);
@@ -3177,7 +3177,10 @@
// beacon no longer special
actor->flags &= ~MF_SPECIAL;
- // set color and flags
+ // 20160306: set rebel threshold
+ mobj->threshold = 100;
+
+ // set rebel color and flags
mobj->flags |= ((actor->miscdata << MF_TRANSSHIFT) | MF_NODIALOG);
mobj->target = NULL;
--- a/src/strife/p_inter.c
+++ b/src/strife/p_inter.c
@@ -488,13 +488,13 @@
break;
// missile
- case SPR_ROKT:
+ case SPR_MSSL:
if(!P_GiveAmmo(player, am_missiles, 1))
return;
break;
// box of missiles
- case SPR_MSSL:
+ case SPR_ROKT:
if(!P_GiveAmmo(player, am_missiles, 5))
return;
break;