I am trying to give player slowness instead of fall damage and I want to make slowness V for fall damage x 3 seconds.
Code:
on damage:
if victim is player:
if damage was caused by fall:
set {damage::%player%} to damage
cancel event
apply slowness 5 to victim for % {damage::%player%} x 3 % seconds