Player Damage And Particle Effects (SIMPLE)

Discussion in 'Archived: Plugin Requests' started by ketchupcoke, Aug 3, 2014.

  1. Offline

    ketchupcoke

    Sorry for posting another request, but I figured this one would perhaps be easier. Let me explain - On my server the player can craft "wands" (if they are a wizard) just like many other custom weapons. However, at the moment they only have combat damage and it is not realistic for a stick to do 20 damage. Instead, I would like the wands to do a custom amount of damage from a longer range, more "magic" and less combat.


    Ideas for commands:
    /magic (damage)
    This would deal a certain amount of damage to a target up to 4 blocks away. They must be facing the target to deal the damage. Also, a simple firework effect on the target would add to the "magic". Only usable every 2 seconds to nerf particles and long range damage.

    Thanks :)
     
  2. Offline

    ketchupcoke

  3. Offline

    ketchupcoke

    Bump :/
     
  4. Offline

    MomsKnife

    Please don't bump within 24 hours :)
     
  5. Online

    timtower Administrator Administrator Moderator

    Please look at the times. He isn't, has been 24.5 hours
     
    Marten Mooij likes this.
  6. Offline

    ketchupcoke

    Anyone know if my request is actually possible or not? And yeah, i've read the guidelines :p
     
  7. I think that should be possible. I just don't know how to play magic effects on bukkit :p
     
  8. Offline

    MomsKnife

    Agh computer time on laptop was wrong
     
    ketchupcoke likes this.
  9. Offline

    xyfonix

    ketchupcoke, I give it a try

    I just need a little bit more information:
    -What is the custom name and lore of the sticks?
    -So wands and the command make the magic particle-effect-damage-with-4-blocks-range-thing?
    -Can you give me a name for the plugin, i'm very bad at making a name :).
     
  10. Offline

    ketchupcoke

    xyfonix

    Hey, thanks for your reply. As for the plugin, all that I need is a single command /magic (damage) that:

    - Has a range of 4 blocks
    - Damages the player you are facing by the amount in the command (damage)
    - Has a "magic" particle effect on the player who is hit

    I appreciate your help, if you would like to find out more about what this is for our website is <removed advertising>
     
  11. Offline

    ketchupcoke

  12. Offline

    xyfonix

    ketchupcoke, i made your plugin.
    I don't know if the particle effect you get from this is what you want, if you want a different effect, just let me know.
    You can configure the max damage value and the max offset with the aiming (in degrees).
    download link: https://copy.com/Zpxfz1MXyP8x
    Just let me know if you find any bugs or if you have any suggestions.
     
  13. Offline

    ketchupcoke

    xyfonix Hey, thank you so much for making this plugin. You have done a really neat job, and the particle effect was just what i was looking for! One thing, however. Would it be possible to add the ability to use it on mobs as well? I guess I forgot to mention that as I was in a rush xD. Anyway, what you have done for me is really great and I appreciate it :)

    EDIT: Just realised about possible lag issues with all three particle effects being used when a large amount of players are on the server. Would it be possible to reduce the particle effect to only the enchanted crit? Sorry to trouble you more..
     
  14. Offline

    xyfonix

    ketchupcoke, no problem. The little change are tiny, just changed 1 word and deleting 2 lines.:)
    download link is the same: https://copy.com/Zpxfz1MXyP8x
    if you have more suggestions/bugs, let me now.
    ps. I saw while testing that the command doesn't take the closest entity near the player, I am going to fix that tomorrow.
     
  15. Offline

    ketchupcoke

    xyfonix Thanks man, you're the best :p

    And if you ever want to come join us when my server goes into open release, you are more than welcome :)
     
  16. Offline

    david123718

    Release source?
     
  17. Online

    timtower Administrator Administrator Moderator

    Decompiler
     

Share This Page