Started by
kinghosty
on
Topic category: Help with Minecraft modding (Java Edition)
hey i created a sword which deal 80% of target hp and it works perfecly fine when player uses it
but after i gave it to zombie he doesnt do any % damage,
please help
I don't know the answer to your question, but I want to ask a counter question. How did you make the sword deal a certain percentage of health? This information would be useful to me.
ehm sure, i can give you link to tutorial i've used:
https://www.youtube.com/watch?v=I7Gxdfr4LZY
you could try setting the damage of thes word to zero, then in the "when living entity is hit with tool" do "do damage [max health] / [10] * [8] type (Player_Hit)