accounts for the dummy's direction
This commit is contained in:
1 parent
a8bae20541
commit
ee32549a6d
1 file changed
+1
-1
@@ -46,7 +46,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
public override void HitEffect(int hitDirection, double damage)
|
||||
{
|
||||
// Dummy AI, no way
|
||||
NPC.ai[0] = hitDirection;
|
||||
NPC.ai[0] = hitDirection * -NPC.direction;
|
||||
}
|
||||
|
||||
public override void FindFrame(int frameHeight)
|
||||
|
||||
Reference in new issue
Block a user