Prevent fireball deflection

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

PatoFrango

Active Member
Jul 12, 2017
240
14
18
Hi,

What would I have to do to prevent a player from hitting a fireball and deflect it? I've tried doing
code_language.skript:
on damage of fireball:
    cancel event
since the leftclick event doesn't work with entities.
 
it does work on entities it's just not guranteed to. I think this is one case where it would
 
Nevermind, “on damage of fireball” works as long as I don’t add any conditions, as I thought I’d need them. Weird, I know.
 
Status
Not open for further replies.