mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-22 21:19:46 +00:00
The big thorn chakram buffage.
This commit is contained in:
1 parent
2975ff6889
commit
ef180ad5b7
4 files changed
+4
-4
No files matched your search
@@ -1524,7 +1524,7 @@ public final class ModCraftingRecipes {
|
||||
recipeSpellCloth = BotaniaAPI.getLatestAddedRecipe();
|
||||
|
||||
// Thorn Chakram Recipe
|
||||
addOreDictRecipe(new ItemStack(ModItems.thornChakram),
|
||||
addOreDictRecipe(new ItemStack(ModItems.thornChakram, 2),
|
||||
"VVV", "VTV", "VVV",
|
||||
'V', new ItemStack(Blocks.vine),
|
||||
'T', LibOreDict.TERRA_STEEL);
|
||||
|
||||
@@ -94,7 +94,7 @@ public class EntityThornChakram extends EntityThrowable {
|
||||
|
||||
EntityLivingBase thrower = getThrower();
|
||||
if(pos.entityHit != null && pos.entityHit instanceof EntityLivingBase && pos.entityHit != thrower) {
|
||||
((EntityLivingBase) pos.entityHit).attackEntityFrom(thrower != null ? thrower instanceof EntityPlayer ? DamageSource.causePlayerDamage((EntityPlayer) thrower) : DamageSource.causeMobDamage(thrower) : DamageSource.generic, 6);
|
||||
((EntityLivingBase) pos.entityHit).attackEntityFrom(thrower != null ? thrower instanceof EntityPlayer ? DamageSource.causePlayerDamage((EntityPlayer) thrower) : DamageSource.causeMobDamage(thrower) : DamageSource.generic, 12);
|
||||
if(worldObj.rand.nextInt(3) == 0)
|
||||
((EntityLivingBase) pos.entityHit).addPotionEffect(new PotionEffect(Potion.poison.id, 60, 0));
|
||||
} else {
|
||||
|
||||
@@ -23,7 +23,7 @@ public class ItemThornChakram extends ItemMod implements ICraftAchievement {
|
||||
|
||||
public ItemThornChakram() {
|
||||
setUnlocalizedName(LibItemNames.THORN_CHAKRAM);
|
||||
setMaxStackSize(1);
|
||||
setMaxStackSize(6);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user