mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
Fixed serpent staff's alternate attack against shielding centaur
https://forum.zdoom.org/viewtopic.php?t=57305
This commit is contained in:
parent
714ada01aa
commit
b1d1ac13b6
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ class CWeapStaff : ClericWeapon
|
|||
{
|
||||
angle = t.angleFromSource;
|
||||
if (((t.linetarget.player && (!t.linetarget.IsTeammate(self) || level.teamdamage != 0)) || t.linetarget.bIsMonster)
|
||||
&& (!t.linetarget.bDormant && !bInvulnerable))
|
||||
&& (!t.linetarget.bDormant && !t.linetarget.bInvulnerable))
|
||||
{
|
||||
int newLife = player.health + (damage >> 3);
|
||||
newLife = newLife > max ? max : newLife;
|
||||
|
|
Loading…
Reference in a new issue