mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-03 18:33:16 +01:00
Added missing annotations
This commit is contained in:
parent
d6d7f5099f
commit
bebcc40987
@ -16,10 +16,12 @@ public class DodgeEventHandler extends AcrobaticsEventHandler {
|
|||||||
calculateModifiedDamage();
|
calculateModifiedDamage();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected void calculateSkillModifier() {
|
protected void calculateSkillModifier() {
|
||||||
this.skillModifier = Misc.skillCheck(manager.getSkillLevel(), Acrobatics.DODGE_MAX_BONUS_LEVEL);
|
this.skillModifier = Misc.skillCheck(manager.getSkillLevel(), Acrobatics.DODGE_MAX_BONUS_LEVEL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected void calculateModifiedDamage() {
|
protected void calculateModifiedDamage() {
|
||||||
int modifiedDamage = damage / 2;
|
int modifiedDamage = damage / 2;
|
||||||
|
|
||||||
@ -30,14 +32,17 @@ public class DodgeEventHandler extends AcrobaticsEventHandler {
|
|||||||
this.modifiedDamage = modifiedDamage;
|
this.modifiedDamage = modifiedDamage;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected void modifyEventDamage() {
|
protected void modifyEventDamage() {
|
||||||
event.setDamage(modifiedDamage);
|
event.setDamage(modifiedDamage);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected void sendAbilityMessage() {
|
protected void sendAbilityMessage() {
|
||||||
player.sendMessage(LocaleLoader.getString("Acrobatics.Combat.Proc"));
|
player.sendMessage(LocaleLoader.getString("Acrobatics.Combat.Proc"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected void processXPGain(int xp) {
|
protected void processXPGain(int xp) {
|
||||||
PlayerProfile profile = manager.getProfile();
|
PlayerProfile profile = manager.getProfile();
|
||||||
|
|
||||||
|
@ -21,6 +21,7 @@ public class RollEventHandler extends AcrobaticsEventHandler {
|
|||||||
calculateModifiedDamage();
|
calculateModifiedDamage();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected void calculateSkillModifier() {
|
protected void calculateSkillModifier() {
|
||||||
int skillModifer = manager.getSkillLevel();
|
int skillModifer = manager.getSkillLevel();
|
||||||
|
|
||||||
@ -32,6 +33,7 @@ public class RollEventHandler extends AcrobaticsEventHandler {
|
|||||||
this.skillModifier = skillModifer;
|
this.skillModifier = skillModifer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected void calculateModifiedDamage() {
|
protected void calculateModifiedDamage() {
|
||||||
int modifiedDamage = damage - damageThreshold;
|
int modifiedDamage = damage - damageThreshold;
|
||||||
|
|
||||||
@ -42,6 +44,7 @@ public class RollEventHandler extends AcrobaticsEventHandler {
|
|||||||
this.modifiedDamage = modifiedDamage;
|
this.modifiedDamage = modifiedDamage;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected void modifyEventDamage() {
|
protected void modifyEventDamage() {
|
||||||
event.setDamage(modifiedDamage);
|
event.setDamage(modifiedDamage);
|
||||||
|
|
||||||
@ -51,6 +54,7 @@ public class RollEventHandler extends AcrobaticsEventHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
protected void sendAbilityMessage() {
|
protected void sendAbilityMessage() {
|
||||||
if (isGraceful) {
|
if (isGraceful) {
|
||||||
player.sendMessage(LocaleLoader.getString("Acrobatics.Ability.Proc"));
|
player.sendMessage(LocaleLoader.getString("Acrobatics.Ability.Proc"));
|
||||||
@ -61,6 +65,7 @@ public class RollEventHandler extends AcrobaticsEventHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
protected void processXPGain(int xpGain) {
|
protected void processXPGain(int xpGain) {
|
||||||
Skills.xpProcessing(player, manager.getProfile(), SkillType.ACROBATICS, xpGain);
|
Skills.xpProcessing(player, manager.getProfile(), SkillType.ACROBATICS, xpGain);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user