Posted March 29, 20187 yr Ok, so... I did all the coding related to it (maybe its bad as s**t, but works :P), but I have a little problem. So, when the weapon is loaded 1st time into the game, i made it beggin with the attackDamageMin (lets say 20 damage). When i hit an entity this should go between attackDamageMin and attackDamageMax (like 20 - 40), but that only happens when i press Esc key and return to game. Any idea? Oh, and a little question. How can i hide the "When in main hand: x Attack speed x Attack Damage"? Much thanks!! Edited March 29, 20187 yr by Deadzoke
March 29, 20187 yr Code? Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
March 29, 20187 yr private String name; private EnumQuality quality; private int tier; private float attackSpeed; private float attackDamageMin; private float attackDamageMax; private float attackDamage; private boolean hasCriticalDamage = false; private float criticalDamageChance; private float criticalDamageValue; private float criticalDamage; private boolean hasLore = false; private String lore; Items are singletons, you can't do this. private String bold = "\u00A7l"; private String italic = "\u00A7o"; private String reset = "\u00A7r"; Seriously? TextFormatting, use it. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.