Plugin {Need help} Splash Potion Change

Discussion in 'Plugin Development' started by Eller, Jan 23, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    Eller

    Hey there, I got a question.

    My code here:
    http://pastebin.com/8xte476Q

    Let's the Golden hoe throw a splash potion of Regeneration
    But it will be Regen 1 for 25 secs.

    I want to change that to Regen 10 or something for 2 or 3 seconds,
    Has anyone got an idea how?

    Also I've got a Freezing wand here.
    I would actually want to have it when I hit the enemy with the Snowball coming out of the wand that there is a Ice cocoon over him.
    But I had litterly no idea how i could make that work so I just have made it to the way to Slow people when hitted by the Snowball, but I don't know that either, Can you help me?

    I just only have made the Snowball coming out of the wand and the cooldown

    Code: http://pastebin.com/kTFfC6VD
     
  2. Offline

    teej107

    http://jd.bukkit.org/rb/apidocs/org/bukkit/potion/PotionEffect.html

    Over him? or surrounding him? Get the enemy's location and set the adjacent block's material to ice.
     
  3. Offline

    Skionz

    Your going to have to be decent at trigonometry and you could either use particles, or ice blocks.
     
  4. Offline

    Eller

  5. Offline

    teej107

  6. Offline

    Eller

    @teej107
    Is there a possibility I can talk to you through a live chat?
     
  7. Offline

    bwfcwalshy Retired Staff

    @Eller All chat must be kept on the forums.
     
  8. Offline

    Skionz

    @Eller
    Personally I disagree with this, but they are the rules.
     
Thread Status:
Not open for further replies.

Share This Page