Solved Extra Rocket Damage

  • 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 community!

    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!

LeeifMR

Member
Oct 2, 2024
27
1
3
Any way to make it so when a certain player shoots a firework rocket from a crossbow it does extra damage? I tried using metadata tags but I couldn't figure it out
 
Any way to make it so when a certain player shoots a firework rocket from a crossbow it does extra damage? I tried using metadata tags but I couldn't figure it out

I'm having difficulty figuring out what you mean by specific. You mean a player with a specific username, or someone with permission?
Regardless, there is what I could do:

Code:
on damage:
    if attacker is a player:
        if damage cause is entity explosion:
            if attacker has permission "rocket.damage.increase":
                set damage to damage * 2
                send "&cYou dealt %damage% damage to %victim%!" to attacker #damage indicator, you can turn it off if u want.