im making an origins plugin for a server and i need to improve some bugs.
one of which is the On Hand Item Swap event. it just wont work.
also ive tried everything to cancel fall damage for an origins plugin and i just keep having fall dmg
it would also be useful to know how to take dmg in water and how to have a cooldown on abilities
[doublepost=1659627783,1659627747][/doublepost]here is code for fox which i need no fall damage for :
on jump:
if {org::%player%} is "Fox":
push the player upwards at speed 0.8
on damage:
damage cause is fall:
if {org::%player%} is "Fox":
cancel the event
one of which is the On Hand Item Swap event. it just wont work.
also ive tried everything to cancel fall damage for an origins plugin and i just keep having fall dmg
it would also be useful to know how to take dmg in water and how to have a cooldown on abilities
[doublepost=1659627783,1659627747][/doublepost]here is code for fox which i need no fall damage for :
on jump:
if {org::%player%} is "Fox":
push the player upwards at speed 0.8
on damage:
damage cause is fall:
if {org::%player%} is "Fox":
cancel the event