Getting very unexpected results from this node for some reason.. (BUG?)

Simple logic. If Critical → Deal more damage → play a different hit animation

This makes absolutely no sense to me. It is a very simple blueprint logic that Calls an Event that deals damage to the enemy and with a slight chance (random bool weighted) can deal a critical strike dealing additional damage and playing a different animation where it stuns the enemy.

The animation would play with the critical saying “false” and sometimes wouldn’t when it said “true”.
Also when it says critical “True”, the extra damage isn’t being dealt randomly or is being dealt when it says “false”…

Please, can someone explain to me, am I crazy/stupid or is this a bug? :sweat_smile:

Here’s the video (Ignore the quality and the colours, Nvidia overlay going crazy.):

Omg, I just realized that it captured the background audio as well, my apologies. (Asmongold)

You should keep the result of the random bool inside a variable because it performs the random calculation each time the node is called :innocent:

Ohhh okay, so I am braindead haha

Thanks mate!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.