mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 03:15:07 +00:00
Made the Damaging lens a bit more powerful.
This commit is contained in:
1 parent
c268697439
commit
4da0a6ca89
1 file changed
+2
-2
@@ -203,10 +203,10 @@ public class ItemLens extends ItemMod implements ILens {
|
||||
EntityLivingBase living = (EntityLivingBase) pos.entityHit;
|
||||
if(living.hurtTime == 0) {
|
||||
int mana = burst.getMana();
|
||||
if(mana >= 32) {
|
||||
if(mana >= 16) {
|
||||
burst.setMana(mana - 16);
|
||||
if(!burst.isFake() && !entity.worldObj.isRemote)
|
||||
living.attackEntityFrom(DamageSource.magic, 1);
|
||||
living.attackEntityFrom(DamageSource.magic, 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user