Some last minute tweaks...

This commit is contained in:
Lizbeth Rika committed 2015-08-16 22:20:36 +01:00
1 parent 1256f398bb
commit 245ebe7847
2 files changed
+3 -3

No files matched your search

@@ -129,8 +129,8 @@ public class EntityBabylonWeapon extends EntityThrowableCopy {
if(living.hurtTime == 0) {
if(player != null)
living.attackEntityFrom(DamageSource.causePlayerDamage(player), 8);
else living.attackEntityFrom(DamageSource.generic, 8);
living.attackEntityFrom(DamageSource.causePlayerDamage(player), 14);
else living.attackEntityFrom(DamageSource.generic, 14);
onImpact(new MovingObjectPosition(living));
return;
}
@@ -67,7 +67,7 @@ public class ItemKingKey extends ItemRelic {
public void onUsingTick(ItemStack stack, EntityPlayer player, int count) {
int spawned = getWeaponsSpawned(stack);
if(ManaItemHandler.requestManaExact(stack, player, 150, true) && count != getMaxItemUseDuration(stack) && spawned < 20 && !player.worldObj.isRemote) {
if(count != getMaxItemUseDuration(stack) && spawned < 20 && !player.worldObj.isRemote && ManaItemHandler.requestManaExact(stack, player, 150, true)) {
Vector3 look = new Vector3(player.getLookVec());
look.y = 0;
look.normalize().negate().multiply(2);