Majestic Guard can't heal versus dummies
This commit is contained in:
1 parent
71a7c24f59
commit
4e79ff588f
1 file changed
+4
@@ -41,6 +41,10 @@ namespace CalamityMod.Items.Weapons
|
||||
{
|
||||
target.defense -= 10;
|
||||
}
|
||||
|
||||
// Healing effect does not trigger versus dummies
|
||||
if (target.type == NPCID.TargetDummy)
|
||||
return;
|
||||
if (target.defense <= 0 && target.canGhostHeal)
|
||||
{
|
||||
player.statLife += 3;
|
||||
|
||||
Reference in new issue
Block a user