MCPcopy Create free account
hub / github.com/VolmitSoftware/Adapt / boostXP

Method boostXP

src/main/java/com/volmit/adapt/api/xp/XP.java:72–74  ·  view source on GitHub ↗
(Player p, Skill skill, double percentChange, int durationMS)

Source from the content-addressed store, hash-verified

70 }
71
72 public static void boostXP(Player p, Skill skill, double percentChange, int durationMS) {
73 boostXP(Adapt.instance.getAdaptServer().getPlayer(p), skill, percentChange, durationMS);
74 }
75
76 public static void boostXP(AdaptPlayer p, Skill skill, double percentChange, int durationMS) {
77 p.getSkillLine(skill.getName()).boost(percentChange, durationMS);

Callers

nothing calls this directly

Calls 4

boostMethod · 0.80
getPlayerMethod · 0.65
getNameMethod · 0.65
getSkillLineMethod · 0.45

Tested by

no test coverage detected