mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 19:24:44 +02:00
Counter Attack now makes use of a rank system
This commit is contained in:
@ -209,7 +209,7 @@ public class TamingManager extends SkillManager {
|
||||
public void pummel(LivingEntity target, Wolf wolf) {
|
||||
if(!RankUtils.hasUnlockedSubskill(getPlayer(), SubSkillType.TAMING_PUMMEL))
|
||||
return;
|
||||
|
||||
|
||||
double chance = 10 / activationChance;
|
||||
SubSkillRandomCheckEvent event = new SubSkillRandomCheckEvent(getPlayer(), SubSkillType.TAMING_PUMMEL, chance);
|
||||
mcMMO.p.getServer().getPluginManager().callEvent(event);
|
||||
|
Reference in New Issue
Block a user