1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT??:

    You can always check our our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved magicspell damage

Discussion in 'Skript' started by LastDice, Sep 2, 2019.

  1. L

    LastDice Member

    Joined:
    Sep 2, 2019
    Messages:
    3
    Likes Received:
    0
    how to recognize a magicspell damage as a skript?

     
  2. Best Answer:
    Post #7 by malia, Sep 7, 2019
  3. malia

    malia Well-Known Member

    Joined:
    Jul 24, 2019
    Messages:
    271
    Likes Received:
    17
    Code (Skript):
    1. command /itemname:
    2.     trigger:
    3.         if player has permission "malia.admin":
    4.             broadcast "%player's held item%"
    5.             stop
    6.         MESSAGE( player, "normal", "You do not have permission to execute this commnand!" )
    Hold it on your hand
     
  4. L

    LastDice Member

    Joined:
    Sep 2, 2019
    Messages:
    3
    Likes Received:
    0
    All I want is to detect the MagicSpell damage, not the item detection.
     
  5. AsuDev

    VIP

    Joined:
    Jan 27, 2017
    Messages:
    150
    Likes Received:
    15
    Are you referring to the plugin MagicSpells (MS)?
     
  6. malia

    malia Well-Known Member

    Joined:
    Jul 24, 2019
    Messages:
    271
    Likes Received:
    17
    Your english broke right in your first post, not my fault you can't elaborate your shit.

    You wanna detect magic damage (potions) on Skript?
     
  7. L

    LastDice Member

    Joined:
    Sep 2, 2019
    Messages:
    3
    Likes Received:
    0
    Yes, How do you detect magicspell damage(potions, pain) on skript?
     
  8. malia

    malia Well-Known Member

    Joined:
    Jul 24, 2019
    Messages:
    271
    Likes Received:
    17
    Code (Skript):
    1. on damage:
    2.     if damage cause is potion:
    3.         # yeet
     
Loading...