Damage type addition or extra negatable damage

Started by ClumsyAlien on Sat, 05/09/2020 - 15:51

Topic category: Feature requests and ideas for MCreator

Last seen on 16:50, 3. Jun 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Damage type addition or extra negatable damage
Sat, 05/09/2020 - 15:51

Hello all reading this!

A part of my mod i'm working on is contains items called "Runes"

The point being that when you have one of these Runes in your inventory they would increase the damage of certain weapons, how ever for certain weapons I want the extra damage to be negatable by armor, my only idea is to use if item in iventory then deal #damage to targetentity type:lava

 

Could we possibly make a physical damage type as if you were hit again by the source player with another sword as player damage types is a thing and with the addition of the new source entity block could make this possible.

 

Thanks for your time!

Last seen on 16:50, 3. Jun 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
By the way I have jumped…
Sat, 05/09/2020 - 16:46

By the way I have jumped into the code for a quick second to potentially add this type quickly however It shows as playerdamage not existing.

Last seen on 16:50, 3. Jun 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Well I think I found an…
Sat, 05/09/2020 - 21:50

Well I think I found an issue along with it working, to get the extra damage to apply It HAS to be a value above the damage of your weapon, the extra damage compared to the damage of your weapon is how much you would do (so base weapon damage of 9, and generic damage type application of 13 = 13 damage) however attack speed would basically be ignored at this point, just tapping an enemy in quick succession would still result in 13 damage instead on (base attack damage x current attack speed + extra damage from procedue) Anyone have Ideas on a current fix or should this be something to be considered for 2020.3?