Almost done with command updates.

This commit is contained in:
GJ
2012-04-23 18:05:30 -04:00
parent 3c748bca39
commit 255954dd56
24 changed files with 255 additions and 225 deletions

View File

@ -31,10 +31,8 @@ public class Axes {
public static void axesBonus(Player attacker, EntityDamageByEntityEvent event) {
final int MAX_BONUS = 4;
int bonus = 0;
/* Add 1 DMG for every 50 skill levels */
bonus += Users.getProfile(attacker).getSkillLevel(SkillType.AXES) / 50;
int bonus = Users.getProfile(attacker).getSkillLevel(SkillType.AXES) / 50;
if (bonus > MAX_BONUS) {
bonus = MAX_BONUS;