mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Archery distance XP bonus cannot exceed indefinitely anymore
Fixes #2465
This commit is contained in:
parent
ca6dc5195d
commit
5670e6696a
@ -16,6 +16,7 @@ Version 1.5.02-dev
|
|||||||
! Changed Flux Mining mechanics. In order to use the ability, you need to infuse a pickaxe with furnace powers first.
|
! Changed Flux Mining mechanics. In order to use the ability, you need to infuse a pickaxe with furnace powers first.
|
||||||
! Scoreboard tips are only shown a couple of times to the player, instead of once per login session
|
! Scoreboard tips are only shown a couple of times to the player, instead of once per login session
|
||||||
! Changed Archery distance multiplier to be configurable
|
! Changed Archery distance multiplier to be configurable
|
||||||
|
! Archery distance XP bonus cannot exceed indefinitely anymore
|
||||||
|
|
||||||
Version 1.5.01
|
Version 1.5.01
|
||||||
+ Added new child skill; Salvage
|
+ Added new child skill; Salvage
|
||||||
|
@ -49,7 +49,7 @@ public class ArcheryManager extends SkillManager {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
applyXpGain((int) (firedLocation.distanceSquared(targetLocation) * Archery.DISTANCE_XP_MULTIPLIER), getXPGainReason(target, damager));
|
applyXpGain((int) (Math.min(firedLocation.distanceSquared(targetLocation), 2500) * Archery.DISTANCE_XP_MULTIPLIER), getXPGainReason(target, damager));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user