simulateRangedAttack

public double simulateRangedAttack(String skillId)

Performs a ranged attack (bow/crossbow) against a specific dummy. For testing, we manually create and process the EliteMobDamagedByPlayerEvent since target.damage(arrow) doesn't trigger the correct damage cause for projectiles.

Return

The damage dealt, or -1 if target invalid