Potion Fix
Do you own a PVP server and absolutely hate the 1.6 update because of how overpowered strength potions are? Thinking you might need to completely get rid of the strength effect in your server so it doesn't turn mad? Think again! This plugin will restore the former glory of the strength effect from 1.5. It also restores the old healing and regeneration effects, which is also a nice feature.
How it works
Strength Fix
Let me explain the math behind 1.5 and 1.6 strength.
1.5
- Using ANY sort of weapon(including your bare fists), your damage will be increased at a flat rate of 1.5 Hearts/Level of Strength.
1.6
- Using ANY sort of weapon(including your fancy diamond sword), your damage will be increased by 130%/Level of Strength.
Comparison
Let's just say for a moment that we got this guy with a plain old diamond sword. Nothing fancy, like super enchantments, or anything. In 1.5, if that person drinks a Strength II potion and hits a player/mob with their sword, they will deal 6.5 Hearts of damage to that creature. In 1.6, if that same person drank a Strength II potion and hit a player/mob with their sword, they will deal 14.5 Hearts of damage. What???? 8 Hearts difference?! Are you absolutely kidding me??????? Well, just don't worry about it anymore, this will hopefully fix the stress also.
What the plugin does to restore the old strength
Let me just say, this plugin is pretty simple, but it fixes a complicated problem for server owners. All it does is it detects if someone has strength, if so, the new damage increase will be undone. Then the plugin will add the old strength damage on and that will be the product of a hit. Pretty simple, if you ask me.
Healing Fix
1.5
- Base healing is 3 hearts. Health gained doubles every additional level.
1.6
- Base healing is 2 hearts. Health gained doubles every additional level.
Regeneration Fix
1.5
- 1 heart is gained every 1.25 seconds. Time is cut in half every additional level.
1.6
- 1 heart is gained every 2.5 seconds. Time is cut in half every additional level.
Video
Thanks to PluginPVP for the comparisons!
Questions, comments, or suggestions? Just leave them below! :)
@chrisbruijnes
Hello, I have tried this on my server for a few hours and it seems that this update is really buggy. Sometimes it heals the opponent and other times it kills them in 2 shots etc. For now, I just disabled strength II on my server until a reliable release has been made.
You can download it here:
http://dev.bukkit.org/bukkit-plugins/strength-potion-fix/files/4-potion-fix-1-2-1/
Can someone try this out and check if it is fixed or not?
@armanisbeast
Files must be approved before they're open to the public.
@The_Doctor_
where's this update at
Uploaded an update. It contains better calculation, but it still has some flaws. I will keep working on perfecting it.
Just an update on what's going on here.. The new methods and modified functionality of the EntityDamageByEntityEvent are extremely confusing, so please hold on while I get things straightened out.
@PhanaticD
Thanks
@The_Doctor_
Yes, thanks for all
Amazing, I am having this issue aswell.
@MultiCze @Maeso @rlpn @PhanaticD
I'm looking into this issue. It seems there has been recent changes to the Bukkit API. I'll have an update available soon.
Please update for latest spigot versions
Yes i have the same problem as rlpn
The strength is broken on the latest spigot versions. When using an item to hit a player when you have strength you heal players you hit. With fists you don't heal and actually end up doing a lot of damage. Fix maybe? Possibly post source if you don't want to fix so I can fix it? :) Or possibly it's a spigot bug idk.
Hello,i have a problem with strenght potion.. when I drink strength and hitting your man without armor so everything is ok.. But how do you take protection 4, and I drink a strenght So do not take no hp.. Please help..
@Jili_The_Spaceboy
Take a look at the configuration file.
So... I still need new strength and old regen and healing.
Can I disable old strength?
1 hit from a wooden sword with only strength II on my character and without enchantment does 19 damage... (1.7.4)
@UltrafaceGuy
Thanks for the feedback! :) I 100% agree with you!
I must voice my thank for this plugin, I run a server with damage based off the stats on items, and strength potions RUIN everything. They're fun to have, but not the way Mojang made them... honestly, WHO thought that'd be a good idea?!
This plugin does wonders for my server, thank you ;_;
@erik1988
That text has nothing to do with the potion's edited effects. To remove that text, I'd have to get down and dirty with Minecraft's code thus breaking the plugin with every update as well.