Weapon nerfs

Discussion in 'Archived: Plugin Requests' started by xXSilverswordXx, Oct 20, 2014.

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

    xXSilverswordXx

    No idea if this is possible, i REALLY hope it is.

    basically, the plugin will nerf some items if they have a certain word in their name.

    If the name contains...

    Dagger the weapon... can hit 10% faster, has -1 block range.
    Axe the weapon hits 10% slower.
    Mace the weapon hits 20% slower.
    Hammer the weapon hits 30% slower. Hits dealt by the weapon deal splash damage of equal ammount in a tiny radius on the hit.
    Katana the weapon can hit 20% faster and has -.5 block range.

    Thats it! if its not possible, tell me. please! Really need this!
     
  2. Offline

    Caprei

    AFAIK, it's not possible to slow down the speed of the hand moving. You can however, make the target receive 10% less damage, or make only certain attempts at hitting the target succeed.
     
  3. Offline

    xXSilverswordXx

    by decrease hit speed i mean like not hand moving, as in how long the wait is before the target can be hit again.
    for example if a sword can only deal damage to an entity every .5 seconds, an axe could only deal damage to an entity every .55 seconds (or so)

    is this possible Caprei?
     
  4. Offline

    Marten Mooij

    You can give them Mining Fatigue and make a cooldown before allowing the player to left-click again.
    EDIT: To make them hit faster just give them a Haste effect.
     
  5. Offline

    xXSilverswordXx

    Marten Mooij cool, thanks. also, is the name detection possible or will the full name of every item need to be supplied to whoever makes this?
     
  6. Offline

    Caprei

    xXSilverswordXx
    Detecting a specific word in an item's name is easy.

    Marten Mooij
    Does Haste or Mining Fatigue actually affect the hit speed on a target? I don't believe so. It's easy to slow down hits, with a simple cooldown, however I don't think it's possible to speed up hits unless Haste actually works.

    As an alternative, can I suggest that when a target is using a dagger, after each hit there is a 30% chance of another hit happening on the target?

    I don't think it's possible to speed up hits.

    I'm happy to make this is I can receive an answer on how I can speed up hits.
     
  7. Offline

    xXSilverswordXx

    Caprei haste will just be for the vfx. if you can do this, please do this with hit cooldowns (if possible) (also, im going to bed now so i wont be able to ask any more questions :( This this is a bracket > ) Ty anyway ;3 (had to seperate it because it looked like a strange face :D :( )
     
  8. Offline

    Caprei

    xXSilverswordXx
    Here's what I can do. If you're happy with this, I'll go ahead and make it:
    - Slow down hits
    - Add extra randomized hits, but NOT speed up hits
    - Slow down hand movements or speed up hand movements but NOT hits
    - I CANNOT change hit radius, like -0.5 or anything without causing serious lag.

    Let me know if you'd like this, or if you want to think of other things aside from speeding up hits.
     
  9. Caprei Just so you know, you can effectively change the hit speed by playing around with the no damage ticks on the player - a lower amount would allow them to be damaged quicker.
     
    Caprei and Marten Mooij like this.
  10. Offline

    Caprei

    AdamQpzm
    Ooh! Thank you very much for this information. Would you know how to reduce the damage range? I could find the distance between attacker and receiver, and cancel or fake a hit on the receiver. However, this sounds like it would cause lag. Any suggestions?


    Thanks.
     
  11. Offline

    xXSilverswordXx

    Caprei well, it would be great if you could try it as normal, if range would lag everything up just ignore it, sure it will be fine :)
    thanks so much!
     
  12. Offline

    timtower Administrator Administrator Moderator

    xXSilverswordXx For other platforms then bukkit you are on the wrong place. Go to that platform insstead.
    And the craftbukkit developement is halted, bukkit isn't dead.
     
  13. Offline

    xXSilverswordXx

    as with the randomised extra hits, please make sure that the extra hits wont keep going, max of 1 extra hit per attack with X chance (maybe configurable in config if an effect is to op / up?)
    Edit: great timtower
     
  14. Offline

    Caprei

    xXSilverswordXx
    Sorry, I don't follow. I think you're referring to what I suggested earlier, the random chance of a hit. Thanks to the help of AdamQpzm, I think I can do this the way you originally requested. I still need to do some experimenting, but it's sounds feasible right now.
     
  15. Offline

    Caprei

  16. Offline

    xXSilverswordXx

    Caprei thanks so much! Unfortunately, my main computer (the one that can run minecraft and not a box mac) is kinda having a seizure. I think its going to break, so im getting a new one at the end of the year. I wont be able to test the plugin till then (sorry) but i will sure use it :D
     
  17. Offline

    Caprei

    xXSilverswordXx
    No problem, :). The weapons currently only speed up/slowdown hits on players. Would you like it to happen for mobs too?
     
  18. Offline

    xXSilverswordXx

  19. Offline

    cucci0

    Caprei doesn't work:
    08.11 15:42:19 [Server] INFO ... 19 more
    08.11 15:42:19 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:127) ~[craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
    08.11 15:42:19 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:40) ~[craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
    08.11 15:42:19 [Server] INFO at java.lang.Class.forName(Unknown Source) ~[?:1.7.0_55]
    08.11 15:42:19 [Server] INFO at java.lang.Class.forName0(Native Method) ~[?:1.7.0_55]
    08.11 15:42:19 [Server] INFO at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_55]
    08.11 15:42:19 [Server] INFO at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_55]
    08.11 15:42:19 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) ~[craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
    08.11 15:42:19 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) ~[craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
    08.11 15:42:19 [Server] INFO at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.7.0_55]
    08.11 15:42:19 [Server] INFO at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_55]
    08.11 15:42:19 [Server] INFO at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.7.0_55]
    08.11 15:42:19 [Server] INFO at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.7.0_55]
    08.11 15:42:19 [Server] INFO at java.net.URLClassLoader.access$100(Unknown Source) ~[?:1.7.0_55]
    08.11 15:42:19 [Server] INFO at java.net.URLClassLoader.defineClass(Unknown Source) ~[?:1.7.0_55]
    08.11 15:42:19 [Server] INFO at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.7.0_55]
    08.11 15:42:19 [Server] INFO at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.7.0_55]
    08.11 15:42:19 [Server] INFO at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.7.0_55]
    08.11 15:42:19 [Server] INFO Caused by: java.lang.UnsupportedClassVersionError: me/Caprei/ExtraHits/ExtraHits : Unsupported major.minor version 52.0
    08.11 15:42:19 [Server] INFO at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
    08.11 15:42:19 [Server] INFO at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:469) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
    08.11 15:42:19 [Server] INFO at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:558) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
    08.11 15:42:19 [Server] INFO at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:258) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
    08.11 15:42:19 [Server] INFO at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:667) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
    08.11 15:42:19 [Server] INFO at net.minecraft.server.v1_7_R4.ServerConnection.c(SourceFile:134) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
    08.11 15:42:19 [Server] INFO at net.minecraft.server.v1_7_R4.NetworkManager.a(NetworkManager.java:157) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
    08.11 15:42:19 [Server] INFO at net.minecraft.server.v1_7_R4.PacketPlayInChat.handle(PacketPlayInChat.java:47) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
    08.11 15:42:19 [Server] INFO at net.minecraft.server.v1_7_R4.PacketPlayInChat.a(PacketPlayInChat.java:28) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
    08.11 15:42:19 [Server] INFO at net.minecraft.server.v1_7_R4.PlayerConnection.a(PlayerConnection.java:818) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
    08.11 15:42:19 [Server] INFO at net.minecraft.server.v1_7_R4.PlayerConnection.handleCommand(PlayerConnection.java:957) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
    08.11 15:42:19 [Server] INFO at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchCommand(CraftServer.java:740) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
    08.11 15:42:19 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
    08.11 15:42:19 [Server] INFO at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:23) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
    08.11 15:42:19 [Server] INFO at org.bukkit.Bukkit.reload(Bukkit.java:303) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
    08.11 15:42:19 [Server] INFO at org.bukkit.craftbukkit.v1_7_R4.CraftServer.reload(CraftServer.java:837) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
    08.11 15:42:19 [Server] INFO at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugins(CraftServer.java:364) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
    08.11 15:42:19 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
    08.11 15:42:19 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:328) ~[craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
    08.11 15:42:19 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) ~[craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]
    08.11 15:42:19 [Server] INFO org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/Caprei/ExtraHits/ExtraHits : Unsupported major.minor version 52.0
    08.11 15:42:19 [Server] ERROR Could not load 'plugins/ExtraHits.jar' in folder 'plugins'
     
  20. Offline

    timtower Administrator Administrator Moderator

  21. Offline

    cucci0

Thread Status:
Not open for further replies.

Share This Page