当前位置:游戏娱乐馆 >

单机图文攻略

> 《我的世界》匠魂2炼狱特性有什么用

《我的世界》匠魂2炼狱特性有什么用

我的世界匠魂2炼狱特性有啥用很多玩家不知道,匠魂2有很多新颖的玩法和装备,其中的各种特性效果也非常有用重要,拥有炼狱特性的工具可以给生物造成额外附加伤害。下面来看看我的世界匠魂2炼狱特性具体有啥用。

《我的世界》匠魂2炼狱特性有什么用

我的世界匠魂2炼狱特性有什么用-匠魂2炼狱特性作用是什么

手册上的描述是对 “非下界生物” 造成额外伤害,这个描述是不准确的。

实际上该特性的效果是对不免疫火的生物造成额外 4 点伤害。

源码:

package s;

import pList;

import tyLivingBase;

import Stack;

import agCompound;

import spuct;

import ;

import actpait;

import ;

public class paitHellish extends Abspactpait {

private static final float bonusDamage = 4f;

public paitHellish() {

super("hellish", 0xff0000);

}

@Override

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

if (!muneToFire()) {

newDamage += bonusDamage;

}

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

}

@Override

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

Sping loc = at(LOC_Expa, getModifierIdentifier());

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

}

}

标签: 匠魂 炼狱
  • 文章版权属于文章作者所有,转载请注明 https://yxylg.com/danjituwen/v56616.html