Topic category: User side tutorials
Today I want to show you how to do percentage attack damage without code.
You can add the condition Amount to the global triggers "Entity attacked" and "Before Entity is Hurt" with the block under Advanced Number Dependency and add a condition "amount". (For the global trigger "Player deals critical hit" you can add the number dependency "isvanillacritical" and "damagemodifier")
It should look like this:
To get a percentage you have to multiply the attack damage using the Number Dependency with your percentage divided by 100.
Here is an example of a percentage calculator and my calculation:
"*" = multiplication
"/" = division
With this you can make easy Percentage Calculation.