mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Fixed PVE experience gains not leveling up skills
This commit is contained in:
parent
1756031eda
commit
14f1a91eeb
@ -8,13 +8,13 @@ Key:
|
|||||||
- Removal
|
- Removal
|
||||||
|
|
||||||
Version 1.3.02
|
Version 1.3.02
|
||||||
+ Added Ocelots to Taming XP tables.
|
|
||||||
! Changed Tree Feller to hand out 1/4 of normal XP for each JUNGLE LOG block it fells
|
! Changed Tree Feller to hand out 1/4 of normal XP for each JUNGLE LOG block it fells
|
||||||
! Changed Tree Feller to only fell trees if you have enough durability
|
! Changed Tree Feller to only fell trees if you have enough durability
|
||||||
! Changed Tree Feller to cause injury if your axe splinters from a failed Tree Feller attempt
|
! Changed Tree Feller to cause injury if your axe splinters from a failed Tree Feller attempt
|
||||||
! Changed invincibility checks in EntityDamage listeners to accommodate for vanilla MC behaviour
|
! Changed invincibility checks in EntityDamage listeners to accommodate for vanilla MC behaviour
|
||||||
! Changed Ignition to add fire ticks rather than replacing them.
|
! Changed Ignition to add fire ticks rather than replacing them.
|
||||||
! Fixed Impact proccing multiple times in a row
|
= Fixed Impact proccing multiple times in a row
|
||||||
|
= Fixed bug where PVE skills didn't level
|
||||||
|
|
||||||
Version 1.3.01
|
Version 1.3.01
|
||||||
= Fixed bug where Tree Feller had no cooldown
|
= Fixed bug where Tree Feller had no cooldown
|
||||||
|
@ -361,6 +361,7 @@ public class Combat
|
|||||||
{
|
{
|
||||||
int xp = getXp(target, damage);
|
int xp = getXp(target, damage);
|
||||||
PPa.addXP(skillType, xp*10, attacker);
|
PPa.addXP(skillType, xp*10, attacker);
|
||||||
|
Skills.XpCheckSkill(skillType, attacker);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static int getXp(Entity entity, int damage)
|
public static int getXp(Entity entity, int damage)
|
||||||
|
Loading…
Reference in New Issue
Block a user