mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-01 16:19:53 +01:00
DamageProperty for skills
This commit is contained in:
parent
186ad2cd59
commit
00131bb412
@ -14,9 +14,6 @@ public class ConfigAxesCriticalStrikes {
|
|||||||
# ChanceMax: Maximum chance of causing a critical hit when on <MaxBonusLevel> or higher
|
# ChanceMax: Maximum chance of causing a critical hit when on <MaxBonusLevel> or higher
|
||||||
# MaxBonusLevel: Level where <ChanceMax> of causing critical hits is reached
|
# MaxBonusLevel: Level where <ChanceMax> of causing critical hits is reached
|
||||||
ChanceMax: 37.50
|
ChanceMax: 37.50
|
||||||
MaxBonusLevel:
|
|
||||||
Standard: 100
|
|
||||||
RetroMode: 1000
|
|
||||||
# Damage modifier of critical hits for PVP / PVE, when causing a critical hit the damage gets multiplied by the modifier
|
# Damage modifier of critical hits for PVP / PVE, when causing a critical hit the damage gets multiplied by the modifier
|
||||||
PVP_Modifier: 1.5
|
PVP_Modifier: 1.5
|
||||||
PVE_Modifier: 2.0
|
PVE_Modifier: 2.0
|
||||||
@ -29,4 +26,6 @@ public class ConfigAxesCriticalStrikes {
|
|||||||
@Setting(value = "Maximum-Level", comment = "This is the level at which full benefits for this skill will be reached." +
|
@Setting(value = "Maximum-Level", comment = "This is the level at which full benefits for this skill will be reached." +
|
||||||
"\nProperties of this skill may or may not scale with level, but those that do will gradually increase until max level is achieved.")
|
"\nProperties of this skill may or may not scale with level, but those that do will gradually increase until max level is achieved.")
|
||||||
AbstractMaximumProgressionLevel maximumProgressionLevel = new AbstractMaximumProgressionLevel(SubSkillType.AXES_CRITICAL_STRIKES, 100, 1000);
|
AbstractMaximumProgressionLevel maximumProgressionLevel = new AbstractMaximumProgressionLevel(SubSkillType.AXES_CRITICAL_STRIKES, 100, 1000);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,18 @@
|
|||||||
|
package com.gmail.nossr50.datatypes.skills.properties;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Represents a skill property relating to damage
|
||||||
|
*/
|
||||||
|
public interface DamageProperty {
|
||||||
|
/**
|
||||||
|
* Get the damage modifier property of this skill for PVE interactions
|
||||||
|
* @return the PVE modifier for this skill
|
||||||
|
*/
|
||||||
|
double getPVEModifier();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the damage modifier property of this skill for PVP interactions
|
||||||
|
* @return the PVP modifier for this skill
|
||||||
|
*/
|
||||||
|
double getPVPModifier();
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user