Added Ender Dragon, Wither, and Witch to combat experience multipliers

They do not give any XP by default.

Fixes #1763
This commit is contained in:
TfT_02 2014-01-19 19:40:33 +01:00
parent 976c3b8494
commit c6ea32f0b0
3 changed files with 7 additions and 0 deletions

View File

@ -19,6 +19,7 @@ Version 1.4.08-dev
+ Added party alliances, two parties can now team up. Allies share party chat and cannot harm each other. + Added party alliances, two parties can now team up. Allies share party chat and cannot harm each other.
+ Added new experience bonus perk 'mcmmo.perks.xp.10percentboost.<skillname>' multiplies incoming XP by 1.1 + Added new experience bonus perk 'mcmmo.perks.xp.10percentboost.<skillname>' multiplies incoming XP by 1.1
+ Added new experience bonus perk 'mcmmo.perks.xp.customboost.<skillname>' multiplies incoming XP by the boost amount defined in the experience config + Added new experience bonus perk 'mcmmo.perks.xp.customboost.<skillname>' multiplies incoming XP by the boost amount defined in the experience config
+ Added Ender Dragon, Wither, and Witch to combat experience multipliers - they do not give XP by default
= Fixed bug where LeafBlower permissions were ignored = Fixed bug where LeafBlower permissions were ignored
= Fixed bug with toggle commands not properly displaying the success message. = Fixed bug with toggle commands not properly displaying the success message.
= Fixed IllegalArgumentException caused by an empty Fishing treasure category = Fixed IllegalArgumentException caused by an empty Fishing treasure category

View File

@ -439,6 +439,7 @@ public final class CombatUtils {
case BLAZE: case BLAZE:
case CAVE_SPIDER: case CAVE_SPIDER:
case CREEPER: case CREEPER:
case ENDER_DRAGON:
case ENDERMAN: case ENDERMAN:
case GHAST: case GHAST:
case GIANT: case GIANT:
@ -447,6 +448,8 @@ public final class CombatUtils {
case SILVERFISH: case SILVERFISH:
case SLIME: case SLIME:
case SPIDER: case SPIDER:
case WITCH:
case WITHER:
case ZOMBIE: case ZOMBIE:
baseXP = ExperienceConfig.getInstance().getCombatXP(type); baseXP = ExperienceConfig.getInstance().getCombatXP(type);
break; break;

View File

@ -173,5 +173,8 @@ Experience:
Silverfish: 3.0 Silverfish: 3.0
Blaze: 3.0 Blaze: 3.0
Magma_Cube: 2.0 Magma_Cube: 2.0
Ender_Dragon: 0.0
Wither: 0.0
Witch: 0.0
Iron_Golem: 2.0 Iron_Golem: 2.0
Wither_Skeleton: 4.0 Wither_Skeleton: 4.0