simulateIncomingDamage
Simulates the player taking damage from a specific dummy (for armor skill testing). Uses absorption hearts as a buffer to prevent death from amplified damage.
Simulates incoming damage with the player at a specified health percentage. Used for testing health-threshold armor skills like Grit (below 50% HP).
Return
The actual damage dealt
Parameters
skillId
The skill ID for the dummy attacker
amount
The damage amount
healthPercent
The player health percentage (0.0 - 1.0) to set before damage