Started by
Lil Shoosh
on
Topic category: Troubleshooting, bugs, and solutions
Heyo!
Was working on an enchantment that when crouching doubles the damage of the item in hand at the cost of dealing half of the damage to yourself. However, this project hinges on getting the attack damage of a given item. I do not know how to do this. I have used both "get damage/get max possible damage" of item in source entity's hand, yet both refer to durability. Is there a way either that I am missing or through plugins where I could be able to get the attack damage of a given weapon?
Thanks!
Hello there,
To get the attack damage dealt you could double click the word "amount" in the bottom right corner of the "entity attacked" trigger.
https://ibb.co/XZKswYB
Anyway, hope this helps.
Heyo!
Thank you for reaching out to help! However, I have no idea where the "amount" block is located within Mcreator. Could you direct me?
Thanks!
My apologies, I now understand what you meant. Thank you and I will update if this system works!