Add COTW info for horses to the Taming command.

This commit is contained in:
GJ 2013-09-17 14:13:11 -04:00
parent 3a2c6a0827
commit 5a3f8ad15f
2 changed files with 3 additions and 1 deletions

View File

@ -38,7 +38,7 @@ public class TamingCommand extends SkillCommand {
@Override @Override
protected void permissionsCheck() { protected void permissionsCheck() {
canBeastLore = Permissions.beastLore(player); canBeastLore = Permissions.beastLore(player);
canCallWild = Permissions.callOfTheWild(player, EntityType.WOLF) || Permissions.callOfTheWild(player, EntityType.OCELOT); canCallWild = Permissions.callOfTheWild(player, EntityType.HORSE) || Permissions.callOfTheWild(player, EntityType.WOLF) || Permissions.callOfTheWild(player, EntityType.OCELOT);
canEnvironmentallyAware = Permissions.environmentallyAware(player); canEnvironmentallyAware = Permissions.environmentallyAware(player);
canFastFood = Permissions.fastFoodService(player); canFastFood = Permissions.fastFoodService(player);
canGore = Permissions.gore(player); canGore = Permissions.gore(player);
@ -93,6 +93,7 @@ public class TamingCommand extends SkillCommand {
player.sendMessage(LocaleLoader.getString("Effects.Template", LocaleLoader.getString("Taming.Effect.12"), LocaleLoader.getString("Taming.Effect.13"))); player.sendMessage(LocaleLoader.getString("Effects.Template", LocaleLoader.getString("Taming.Effect.12"), LocaleLoader.getString("Taming.Effect.13")));
player.sendMessage(LocaleLoader.getString("Taming.Effect.14", Config.getInstance().getTamingCOTWOcelotCost())); player.sendMessage(LocaleLoader.getString("Taming.Effect.14", Config.getInstance().getTamingCOTWOcelotCost()));
player.sendMessage(LocaleLoader.getString("Taming.Effect.15", Config.getInstance().getTamingCOTWWolfCost())); player.sendMessage(LocaleLoader.getString("Taming.Effect.15", Config.getInstance().getTamingCOTWWolfCost()));
player.sendMessage(LocaleLoader.getString("Taming.Effect.20", Config.getInstance().getTamingCOTWHorseCost()));
} }
} }

View File

@ -310,6 +310,7 @@ Taming.Effect.12=Call of the Wild
Taming.Effect.13=Summon an animal to your side Taming.Effect.13=Summon an animal to your side
Taming.Effect.14=[[GRAY]]COTW (Ocelot): Crouch and left-click with {0} Fish in hand Taming.Effect.14=[[GRAY]]COTW (Ocelot): Crouch and left-click with {0} Fish in hand
Taming.Effect.15=[[GRAY]]COTW (Wolf): Crouch and left-click with {0} Bones in hand Taming.Effect.15=[[GRAY]]COTW (Wolf): Crouch and left-click with {0} Bones in hand
Taming.Effect.20=[[GRAY]]COTW (Horse): Crouch and left-click with {0} Apples in hand
Taming.Effect.16=Fast Food Service Taming.Effect.16=Fast Food Service
Taming.Effect.17=Chance for wolves to heal on attack Taming.Effect.17=Chance for wolves to heal on attack
Taming.Effect.18=Holy Hound Taming.Effect.18=Holy Hound