Solved Give player special arrows

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

Status
Not open for further replies.

iStopcontact

Member
Feb 18, 2017
115
2
18
How can i give player special arrows like arrow of harming etc.
I have now this as code:
code_language.skript:
        else if arg 1 is "archer":
            send "{@PVP} &a&lArcher &7kit selected" to arg 2
            clear arg 2's inventory
            play raw sound "note.pling" at arg 2 with pitch 1 volume 0.1
            give 1 bow of power 1, punch 1, unbreaking 1 to arg 2
            give 1 stone sword of unbreaking 1 to arg 2
            give 32 arrow to arg 2
            give 3 spectral arrow to arg 2
            give 5 arrow of slowness to arg 2
            give 5 arrow of harming to arg 2
            give 3 arrow of poison to arg 2
            equip arg 2 with leather Helmet
            equip arg 2 with chainmail ChestPlate
            equip arg 2 with chainmail Leggings
            equip arg 2 with leather Boots
 
How can i give player special arrows like arrow of harming etc.
I have now this as code:
code_language.skript:
        else if arg 1 is "archer":
            send "{@PVP} &a&lArcher &7kit selected" to arg 2
            clear arg 2's inventory
            play raw sound "note.pling" at arg 2 with pitch 1 volume 0.1
            give 1 bow of power 1, punch 1, unbreaking 1 to arg 2
            give 1 stone sword of unbreaking 1 to arg 2
            give 32 arrow to arg 2
            give 3 spectral arrow to arg 2
            give 5 arrow of slowness to arg 2
            give 5 arrow of harming to arg 2
            give 3 arrow of poison to arg 2
            equip arg 2 with leather Helmet
            equip arg 2 with chainmail ChestPlate
            equip arg 2 with chainmail Leggings
            equip arg 2 with leather Boots
Use the give command:
code_language.skript:
/give @p minecraft:tipped_arrow 1 0 {Potion:"minecraft:speed"}
 
True, but that doesn't mean it's not possible at all

My addon, QuarSK has full control of potions. And every expression that works with a potion item also works with a tipped/potion/"special" arrow

If he need to add an addon , just for a potion support , i think it's better use the default mc command.
 
If he need to add an addon , just for a potion support , i think it's better use the default mc command.
1. Vanilla commands spam the console a ton
2. I don't get what you have against addon depedencies
3. The vanilla command is way less intuitive and very limited
 
1. Vanilla commands spam the console a ton
2. I don't get what you have against addon depedencies
3. The vanilla command is way less intuitive and very limited

1. You can disable the log of the command , so no spam.
2. Add just an addon full of features for just use one , it's a lost of space and memory
3. Not really , it's more intuitive a vanilla command than a sintax of a skript addon...
 
Nah , eggs are supported.

You can do:
code_language.skript:
Horse spawn egg
Zombie spawn egg
etc etc
No. Spawn eggs don't have IDs anymore. Also, addons don't take memory. They just register syntax at start and done.
 
Yhea i also want to add potions in my kits so i think it's the best to add your addon isn't it?
@Syst3ms
 
Status
Not open for further replies.