Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dragon Backpack gives negative attack damage #122

Open
TheIcyOne opened this issue May 12, 2016 · 1 comment
Open

Dragon Backpack gives negative attack damage #122

TheIcyOne opened this issue May 12, 2016 · 1 comment

Comments

@TheIcyOne
Copy link

TheIcyOne commented May 12, 2016

From what I can tell, the Dragon backpack is intended to give Strength 2 to the wearer. Currently, however, it appears to be giving Strength -5, causing damage only to be dealt using modded swords that deal large amounts of damage. If this is unintended, it should be simple to fix by changing

if (potion == null || potion.getDuration() < 40 && potion.getAmplifier() != -5) { player.addPotionEffect(new PotionEffect(Potion.damageBoost.getId(), 5000, -5)); }

To use positive 2 in /common/BackpackAbilities.java

@runescapejon
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants