"Player deals critical hit" procs on every hit

Started by brunther1 on

Topic category: Help with MCreator software

Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
"Player deals critical hit" procs on every hit

I was making a procedure that strikes lightning when the player deals a critical hit, but when I was testing it, it struck lightning on every single hit with the weapon, even if it isn't a crit.  Am I misunderstanding the trigger?

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have a same problem. :(((((
Sat, 03/20/2021 - 17:34

I have a same problem. :(((((

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I also have the same issue
Sat, 03/20/2021 - 17:45

I also have the same issue

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Bumping this, What does the…
Sat, 02/12/2022 - 18:16

Bumping this, What does the trigger define as a critical hit? Seems like a bug

Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It's a bug, so i don't…
Wed, 03/02/2022 - 01:34

It's a bug, so i don't recommend using that trigger as it can trigger the procedure even if the attack isn't a crit. Also it can sometimes crash if you try to modify the damage value, meaning that you cannot increase or decrease the crit damage currently (at least in my case, it crashes every time)

You need to use …
Mon, 05/23/2022 - 18:55

You need to use "isvanillacritical" dependency. In Advanced tab, search for logic dependency, and write "isvanillacritical" there. If you check it (this dependency = True), you will be able to check if attack is critical or not.