Don't give healthbars to moths.
This commit is contained in:
parent
468aa2ce51
commit
445e79c88c
2 changed files with 3 additions and 2 deletions
|
|
@ -234,6 +234,7 @@ Class SWWMQuickCombatTracker : Inventory
|
|||
static SWWMQuickCombatTracker Update( SWWMHandler hnd, PlayerInfo p, Actor target, int damage = 0 )
|
||||
{
|
||||
if ( target.bNODAMAGE ) return null; // no-damage entities get no healthbars
|
||||
if ( target is 'LampMoth' ) return null; // also don't give healthbars to moths
|
||||
SWWMQuickCombatTracker t = null;
|
||||
for ( Inventory i=target.inv; i; i=i.inv )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue