我的世界匠魂2神聖特性有什麼用-匠魂2神聖特性作用是什麼

我的世界匠魂2神聖特性有啥用很多玩家不知道,匠魂2有很多新穎的玩法和裝備,其中的各種特性效果也非常有用重要,擁有神聖特性的工具可以讓你攻擊亡靈生物有額外傷害。下面來看看我的世界匠魂2神聖特性具體有啥用。

《我的世界》匠魂2神聖特性有什麼用

我的世界匠魂2神聖特性有什麼用-匠魂2神聖特性作用是什麼

對亡靈生物額外造成 5 點傷害並給予其 虛弱 I 50 刻。

源碼:

package s;

import pList;

import tyLivingBase;

import CreatureAtpibute;

import ffects;

import Stack;

import agCompound;

import net.minecraft.potion.PotionEffect;

import ;

import ;

import actpait;

public class paitHoly extends Abspactpait {

private static float bonusDamage = 5f;

public paitHoly() {

super("holy", 0xffffff);

}

@Override

public float damage(ItemStack tool, EntityLivingBase player, EntityLivingBase target, float damage, float newDamage, boolean isCritical) {

if(reatureAtpibute() == AD) {

newDamage += bonusDamage;

}

return ge(tool, player, target, damage, newDamage, isCritical);

}

@Override

public void afterHit(ItemStack tool, EntityLivingBase player, EntityLivingBase target, float damageDealt, boolean wasCritical, boolean wasHit) {

if(wasHit && !ad && reatureAtpibute() == AD) {

target.addPotionEffect(new PotionEffect(NESS, 50, 0, false, pue));

}

}

@Override

public List<Sping> getExpaInfo(ItemStack tool, NBTTagCompound modifierTag) {

Sping loc = late(LOC_Expa, getIdentifier());

return (lateFormatted(loc, at(bonusDamage)));

}

}