[FUN] LongShot v0.1.2 - Bow Damage Multiplier [1060]

Discussion in 'Inactive/Unsupported Plugins' started by ArtemisTheSecond, Sep 16, 2011.

  1. LongShot: a Damage Multiplier for Bows and Arrows, either by doubleDamage or by Distance
    Recommended Bukkit Build [1060]
    Version: 0.1.2
    Downloads: Longshot.zip , LongShot.jar
    Source: https://github.com/aRt3m1s/LongShot

    LongShot changes the damage you deal to a player or even creatures like mobs and chickens(pretty much it will 1 hit chickens...xD). With these plugin u can do critical hits, critical hits can double the damage OR add some random damage number to your current damage...and if you hate critical hits...by the name of this plugin...LongShot, this is based on your distance of the player or creature you hit...and if its far enough, a bonus damage will be granted.

    Features:
    • critical hits
      • double damage
      • random damage adder
    • LongShot - based on distance bonus damage
    • broadcast message to all players and console when you criticalled someone
    config.yml (open)

    Code:
    ###########################################################
    # @critical-hits                                          #
    #   @double: true                                         #
    #     the damage will be doubled                          #
    #   @double: false                                        #
    #     random number will be added to the damage           #
    #   @random-range                                         #
    #     if double is false, random number from 0 to range   #
    #      will be added to the damage                        #
    # @distance/BLOCKS-damagePlus:                            #
    #   if 0, critical hits will be enabled                   #
    #   if >0, will divide the distance by this number and    #
    #    add it to the damage                                 #
    ###########################################################
    LongShot:
        critical-hits:
            random-range: 6
            double: true
        distance/BLOCKS-damagePlus: 10


    TO-DOS:
    • broadcast message when someone killed someone(still looking for testers if it worked)


    plugin updated:
    added the broadcast message

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
    kahlilnc and Zaros like this.
  2. Offline

    Zaros

    Very sweet idea.
     
  3. do not say that yet...i do not know if the broadcast message will work...as i do not have a server that has more than 1 player init...xD...if your not busy at all...would you try to see if it worked?or maybe check the source code itself?xD
    thanks
     
  4. getServer().broadcastMessage() ? If it shows to you it shows to everybody.
     
  5. no...i mean by that is i cant test it because...i have to kill a player to get that message...as i dont have a player in my server and dont know how the connection works...i have to ask people to test that feature...basically to see if that feature works...you have to enable the criticals by making the value of distance/BLOCKS-damagePlus: to zero(0)
    then kill a player...when you killed him/her by this critical hit...the message will be sent to all online players


    hmmm...lol...what if i killed myself by shooting the arrow upwards?lol...eh...can u try it?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  6. Offline

    Zaros

    It should work. I would test it but I have no one to test it with. Also, it can be a good idea without being fully functional yet.

    Edit: I don't see any issues in the source code, but I'm no professional.
     
    ArtemisTheSecond likes this.
  7. Offline

    Celeixen

    When i am testing i just run multiple clients at once on the sand machine, or you could use another pc.
     
  8. Offline

    kahlilnc

    Looks really nice. :D Me wanna try when my server goes 1.8
     
  9. Offline

    Plague

    missing a changelog
    missing a CB tag
     
  10. really?i have a change-log and a cb tag...xD
    you should read man

    i no how to do that

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  11. Offline

    Plague

    changelog has to show at least two versions without a spoiler, that's in the plugin submissions guidelines, you should read man
     
  12. touche...okay then...no spoilers and btw...it has 2 versions change-log...but its not necessarily a minimum of two...what if its been just released?
     
  13. Offline

    Plague

    it doesn't mean "at least two versions in a changelog" but "at least two outside a spoiler if you use one
     
  14. what?i dont understand your answer....i didnt ask anything that leads to that answer...i just said what if its just been released and only has 1 version?

    //edit: woah...im a plugin dev now...xD...yay
     
  15. Offline

    Celeixen

    Lol, i saw you change from normal to plugin dev when i refreshed the page, nice!(Lucky you!)

    Btw i know you know how to run two clients at once, i was just saying thats probably the best way to test it :p
     
  16. Offline

    JamEngulfer221

    BOOM! Downloaded!
     
  17. i just tested it...i shoot a bunch of arrows upward and killed myself...i got a message myName has been sniped by myName in gold color...xD

    xD...thunk yah

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  18. Offline

    Plague

    Uh... okay :)

    You have just one version -> you post one version
    You have two -> you post two
    You have three -> you post three OR you can post two and the rest (one) can be in a spoiler (or behind a link to your site)
    the same for more versions, clear?
     
  19. i already know that...i just dont know the spoiler thing
     
  20. Offline

    beleg

    does it support permissions?
     
  21. no...as this will affect players if only one has the permission to have a multiplier so i dont think this would need permissions...or do you have idea on how do i put permissions on this one?
     
  22. Offline

    beleg

    hm it would be nice for mobarena and I cant use effective arrows... (cause I dont have spout on my server because its crashing with citizens)
     
  23. Offline

    Shocks

    Anyways there could be a message for when you deal a critical hit, and how much damage it dealt? I would prefer that over "so-and-so killed that-one-guy"

    Something along the line of "[Longshot] You dealt a critical hit for XYZ Damage!"
     
  24. Offline

    pandapipino

    please update this plugin
     
  25. Offline

    Pandamatak

    So I want to make it so that critical hits are disabled, but I can deal up to 20 damage if I fire at someone 30 blocks away (sniping bonus). I'd also like to make it so that bows deal very little damage when used up close.

    Basically what I want is for the damage of the bow to be a function of the distance it has traveled, which I believe you have. I just don't understand it properly - how would I make it so that it does up to 20 damage at a 30-block distance?
     
  26. Offline

    TheAswomeBoy123

    Please add it so i can use perms. I want only my elfs to have this well others do not.
     
  27. Offline

    GoldenX

    I agree +1
     
  28. Offline

    md_5

    Long time no see ArtemisTheSecond. You will notice that this thread has now been placed into the Inactive Plugin subforum.
    If you wish to revive this plugin, please ensure that you update and test compatibility with the latest recommended Bukkit build before reporting your original post, asking for it to be moved back to the release forum.

    Thanks for your time.
    md_5
     

Share This Page