How to do specific damage?

Started by Frost_200 on

Topic category: Help with MCreator software

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to do specific damage?

If you don't understand the title, I'll give you an example:
Having an armor that for each part adds a certain amount of damage to weapons. Is there a way to do this?
 

Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks for your question, I…
Tue, 09/08/2020 - 03:51

Thanks for your question, I am having the same problem as you too, allow me to follow your topic. mapquest directions

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could add a procedure…
Tue, 09/08/2020 - 07:19

You could add a procedure that on every global update tick checks what type of armour the player is wearing. If the player is wearing a certain type of armour and attacks something you can just use the deal damage block to deal extra damage to the target entity

Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can also use the Entity…
Mon, 10/12/2020 - 14:49

You can also use the Entity attacked global trigger and it will give you the player as the Event/target entity. Just check if the Event/target entity is holding the sword and wearing the armor, then use the deal damage block to deal extra damage to the Source entity.